> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/purchase-voucher-configurations/other-settings-2/calculation.md).

# Calculation

**YouTube:** [How to Configure Bill wise or Item wise Calculation Mode in Purchase ?](https://www.youtube.com/watch?v=TaiXaE8U9hs)

## How to Configure Bill wise or Item wise Calculation Mode in Purchase?

 In this tutorial, we will learn how to configure **calculation modes** in the **purchase voucher** to ensure accurate tax and discount application.

### **Accessing Calculation Settings**

* Navigate to **Purchase Voucher Configuration**.
* Click on **Other Settings-2**.
* Locate the **Calculation Mode** option.

<figure><img src="/files/KWvY7FTz59woIKOf5JM5" alt=""><figcaption></figcaption></figure>

### **Understanding Calculation Modes**

There are **two calculation modes** available:

**Bill Wise Calculation**

* Taxes and discounts apply to the **total bill amount**.
* The tax type selected in the **header** determines the tax rate for all items.
* Example:
  * **Item 1:** ₹799(5% GST)
  * **Item 2:** ₹1299 (Normally 12% GST)
  * Since **Bill Wise Calculation** is enabled, **5% GST applies to both items**.
* Discounts also apply to the total bill amount.
* This method is used when tax and discounts are applied at the transaction level.

<figure><img src="/files/dAfIlqFAQC28LhUvIu9O" alt=""><figcaption></figcaption></figure>

**Item Wise Calculation**

* Taxes are applied based on **individual item rates** defined in the master.
* Each item will have **its own tax and discount rate** applied.
* Example:
  * **Item 1:** ₹599 (5% GST)
  * **Item 2:** ₹1299(12% GST)
* Discounts can also be set at the **item level**.

<figure><img src="/files/HrhrQWcdEuRfI3Wv9uJT" alt=""><figcaption></figcaption></figure>

### **Conclusion**

The **Bill Wise** method is useful for uniform tax applications, while **Item Wise** ensures accuracy based on individual item rates. Choose the mode based on your business requirements in **Logic ERP**.<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/purchase-voucher-configurations/other-settings-2/calculation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
