> 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). Agents can also search and read this documentation through its [MCP server](https://kb.logicerp.com/~gitbook/mcp).

# 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FdMtxnuTM35DgO5jNPEXn%2FCalculation%20-%20Configuration.png?alt=media&amp;token=a876f790-0828-4a2b-8fb7-400b2be8ef4f" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FXRSt8xYqgQnMIslgwVoQ%2FBill%20Wise.png?alt=media&amp;token=1428349c-ef53-4b3c-9ea9-1207f51bdc8c" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fv8sDVswSvJqrpHzrYyxJ%2FItem%20Wise.png?alt=media&amp;token=192ca349-adcb-4575-900b-650048322b5d" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
