> 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/gross-amount-calculation.md).

# Gross Amount Calculation

**YouTube:** [How to Configure Rounding of Gross Amount in Purchase?](https://www.youtube.com/watch?v=3zVlmsvB8s0)

## How to Configure Rounding of Gross Amount in Purchase?

 In this tutorial, we will guide you through the process of defining decimal places for the **Gross Amount** in Logic ERP.

### **Access the Configuration Settings**

* Navigate to the **Purchase Voucher Configuration**.
* Locate the **Gross Amount Calculation** option.
* A dropdown menu will appear, allowing you to select the preferred decimal precision.

<figure><img src="/files/d9cIITERgP9cGfL9jNme" alt=""><figcaption><p>This picture demonstrates how you can define the <strong>Gross Amount Calculation</strong> settings.</p></figcaption></figure>

### **Understanding the Decimal Options**

* **Default Setting (Two Decimal Places)**: The gross amount is displayed with two decimal places.

<figure><img src="/files/JOWLWqBaOiN1ym7My0M2" alt=""><figcaption><p>This picture demonstrates that the <strong>Gross Amount</strong> has been generated with <strong>two decimal places</strong>.</p></figcaption></figure>

* **Three & Four Decimal Places**: Selecting these options will display the gross amount up to three or four decimal places, respectively.

<figure><img src="/files/lrzLo7eAuGgh05oAMiyI" alt=""><figcaption><p>This picture demonstrates that the <strong>Gross Amount</strong> has been generated with <strong>Four decimal places</strong>.</p></figcaption></figure>

* **Round Off (Item-Level Rounding)**: Each item’s gross amount is rounded individually before calculating the total.

<figure><img src="/files/C0stommzQ4WruHMkVZiC" alt=""><figcaption><p>As you can see in the image above, the <strong>round-off is being applied item grid-wise</strong>.</p></figcaption></figure>

* **Round Off Bill (Final Amount Rounding)**: The total sum of all item amounts is calculated first, and then the final amount is rounded off.

<figure><img src="/files/XY4i3LrZUS7icveYNurr" alt=""><figcaption><p>As you can see in the image above, the <strong>round-off is being applied bill-wise</strong>.</p></figcaption></figure>

This feature allows businesses to maintain consistency in financial calculations and adhere to their preferred rounding methods.


---

# 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/gross-amount-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.
