> 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-installation-configuration-and-troubleshooting-solutions/faqs/purchase/resolve-tax-mismatch-when-cgst-and-sgst-values-differ-in-purchase.md).

# Resolve Tax Mismatch when CGST & SGST Values Differ in Purchase

**YouTube:** [How to resolve tax mismatch when CGST & SGST values differ in Purchase?](https://youtu.be/S32ns6qwUAs)

## How to Resolve Tax Mismatch when CGST & SGST Values Differ in Purchase?

In this tutorial, we’ll learn how to **resolve mismatches in the CGST and SGST tax values** in a **Purchase Voucher**.

***

### Adjusting Tax Positions for the Current Bill

* Let's start with creating a new purchase voucher.
* Navigate to Configuration under the purchase voucher and click on **"Calculation Mode"** Settings.
* Check the order of the tax fields.
  * Ensure that **Tax 2** appears **above Tax 1 and Tax 3**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FSlfVN8gKTEfJbgnOzPaI%2FTax%202.png?alt=media&amp;token=bf1a5762-e041-4b8e-b8fd-1c70785819c0" alt=""><figcaption></figcaption></figure>

* If needed, use the **Move Up** button to place **Tax 2** above them.

The mismatch usually occurs because the tax positions are not aligned.

* Now **count all the fields up to Tax 2**.
* Suppose **Tax 2** appears in the **7th position**.
* Set **both Tax 1 and Tax 3** to the **same position number (7)**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fu6aHNx7NeEw8BYBz82wg%2FRun%20time%20configuartion.png?alt=media&amp;token=540c6174-78a7-4c3d-8cf0-48c5e62a1828" alt=""><figcaption></figcaption></figure>

* **Save the configuration**.

After this adjustment, recheck the bill totals — the **CGST and SGST values will now match correctly**.

***

### Making the Change Default for All New Bills

To apply this correction to all future purchase vouchers:

* Open the **Main Purchase Voucher Configuration**.
* Go to **Other Settings 1 → Calculation Mode**.
* Move **Tax 2** upward and adjust the positions of **Tax 1 and Tax 3** as done earlier.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FNN66NoQUpEaIBjYtJ2dg%2FTax%203.png?alt=media&amp;token=9f7b27a3-b197-47a4-b51d-9d9738fe6dd6" alt=""><figcaption></figcaption></figure>

* **Save the configuration**.

***

### Verification

* Create a **new purchase transaction**.
* View the **Totals**.
* You will see that the **CGST and SGST values are aligned and correct**.

***

By setting the correct **tax positions**, you eliminate the mismatch in CGST and SGST values both for the current bill and all future transactions.


---

# 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-installation-configuration-and-troubleshooting-solutions/faqs/purchase/resolve-tax-mismatch-when-cgst-and-sgst-values-differ-in-purchase.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.
