Set up GST for multiple branches ​

When your company has branches in several Indian states, each branch has its own GSTIN. A sale within the branch's state uses CGST and SGST. A sale to another state uses IGST. This page shows how to set up ERPNext so that each document gets the right GST accounts and rates for the branch it is created from.

INFO

India GST features are not part of ERPNext. They are in the India Compliance app, which adds GSTIN and GST state fields, GST Settings, GST reports, and automatic selection of in-state and out-of-state taxes. Install the app and follow the India Compliance documentation for the GST-specific fields. This page covers the ERPNext setup that the app builds on.

Prerequisites ​

  • The India Compliance app is installed.
  • You know the GSTIN of each branch and the GST rates of your items.

Step 1: Add an address for each branch ​

  1. Create an Address for each branch, linked to the company.
  2. Enter the branch's state and GSTIN in the address. The GSTIN field comes from India Compliance.

Also check that the addresses of your customers and suppliers have the correct state and GSTIN.

Step 2: Create GST accounts (optional, state-wise) ​

In the Chart of Accounts, create the CGST, SGST, and IGST accounts. If you report GST by branch, create one set of accounts for each state.

Add every GST account to the GST accounts table in GST Settings (India Compliance), so that the GST reports include them.

Step 3: Set item-wise GST rates ​

  1. Create an Item Tax Template for each GST rate, for example GST 18%. Add every GST account of the company with its rate: for 18%, CGST 9%, SGST 9%, and IGST 18%.
  2. On each Item or Item Group, go to the Tax tab and add the template to the Taxes table.

Step 4: Create in-state and out-of-state tax categories ​

Create a Tax Category for in-state sales and one for out-of-state sales. With several branches, create a pair for each state. India Compliance adds the fields that mark a category as inter-state; see its documentation.

Step 5: Create the tax templates ​

For each Tax Category, create a Sales Taxes and Charges Template and a Purchase Taxes and Charges Template:

  • In-state template: rows for the CGST and SGST accounts of the branch.
  • Out-of-state template: a row for the IGST account of the branch.

Set Tax Rate to 0 in each row. The Item Tax Templates supply the rates for each item.

Check the result ​

  1. Create a draft Sales Invoice or Sales Order.
  2. Select the customer, and set Company Address Name to the address of the branch that sells.
  3. Check that ERPNext selects the in-state template when the customer is in the branch's state, and the out-of-state template otherwise.
  4. Check the GST amounts on each item.