```json
{
    "title": "GST Setup and Configuration in ERPNext: A Step-by-Step Guide",
    "url": "https://aavatto.com/blog/gst-setup-erpnext/",
    "datePublished": "2026-11-10",
    "dateModified": "2026-11-18",
    "language": "en-US",
    "description": "GST setup in ERPNext, step by step: India Compliance app, GSTIN, tax templates, HSN codes, e-invoicing, and the mistakes that break GSTR-1.",
    "author": "Aavatto",
    "publisher": "Aavatto - Frappe & ERPNext Experts | Custom Development, Implementation & Support"
}
```

# GST Setup and Configuration in ERPNext: A Step-by-Step Guide

GST setup in ERPNext depends less on any single setting than on getting the masters right in the correct order. If you get the order wrong, your invoices still look fine on screen, but GSTR-1 comes out wrong at month end.

**How do you set up GST in ERPNext?**

 Install the India Compliance app, then add your company's GSTIN to its address and confirm the auto-created GST accounts in GST Settings. Next, assign HSN/SAC codes and item tax templates to items and set the GST category on every customer and supplier. Finally, test a few invoices before enabling e-invoicing and e-way bills.The rest of this guide explains each step, what usually goes wrong, and how to check your setup before you go live.

## GST setup in ERPNext: the order that matters

Most GST problems we're asked to fix come from steps done out of sequence, not from a missing setting. For example, a team creates items before tax templates exist, or imports customers before GST categories are decided. Then hundreds of records need correcting by hand.

### Step 1: Install the India Compliance app

Since version 14, ERPNext's India-specific GST features live in a separate app called India Compliance, not in ERPNext itself. On a self-hosted bench it's installed with `bench get-app` and then added to your site. On Frappe Cloud, you add it from the apps list.

If you're upgrading from version 13, which had GST built in, plan the migration as its own small project. Older custom fields and reports don't always map cleanly.

### Step 2: Set up the company address with GSTIN

ERPNext links your GSTIN to an Address record, not to the Company record directly. Create the company's billing address, enter the GSTIN, and make sure the state is correct. The state decides whether ERPNext treats a sale as intra-state (CGST + SGST) or inter-state (IGST).

If you have registrations in more than one state, each GSTIN needs its own address record. Each branch's transactions also need to pick the right one. Multi-GSTIN companies most often get this wrong first.

### Step 3: Review GST Settings and GST accounts

The India Compliance app creates the GST ledger accounts and fills in GST Settings for you. You'll see rows for output tax, input tax and reverse charge, each mapped to separate CGST, SGST, IGST and cess accounts.

Don't accept these defaults without checking them. If your accountant already keeps differently named GST ledgers (common after a Tally migration), map those ledgers here. Don't keep two parallel sets of accounts.

## Configuring items, tax templates and HSN codes

ERPNext uses Item Tax Templates to decide the GST rate on each line. The app creates the standard templates, and you assign the right one to each item or item group.

Every item also needs an HSN code (goods) or SAC code (services). GST Settings lets you enforce HSN validation, so an invoice with a missing or too-short code can't be submitted. Turn this on early. Fixing HSN codes on items is easy; amending filed returns isn't.

A practical shortcut is to set the tax template and HSN code at the **Item Group** level where the whole group shares a rate. Then override only the exceptions on individual items.

## GST configuration for customers and suppliers

This is the step people skip. Every party in ERPNext has a GST category, and that field drives how invoices are classified in your returns.

GST categoryTypical useWhat it changesRegistered RegularB2B customers/suppliers with a GSTINInvoices reported as B2B; input tax credit flowsUnregisteredRetail and small buyers without GSTINReported as B2CRegistered CompositionComposition-scheme businessesNo tax charged on their sales to youSEZUnits in Special Economic ZonesZero-rated treatment, with or without payment of taxOverseasExport customers / import suppliers Export and import handling

If you import customers from Tally or a spreadsheet, bring the GST category and GSTIN in with that import. Back-filling them afterwards across a large customer list is slow, and wrong data reaches GSTR-1 if you file before it's done.

*Stuck on this step with data migrated from another system? It's the part of a GST setup we most often help teams clean up, and a short call usually shows how much rework is needed.*

## E-invoicing and e-way bills

Once the masters are clean, you can enable e-invoicing and e-way bill generation from GST Settings. This means entering API credentials so ERPNext can talk to the government portals. When it's set up, submitting an eligible sales invoice generates the IRN and signed QR code without leaving ERPNext.

Two cautions:

### Use sandbox mode first

The India Compliance app supports a sandbox, so you can test generation and cancellation without creating live IRNs.

### Check applicability yourself

Whether e-invoicing is mandatory for you depends on current turnover thresholds and notifications. Confirm this with your CA instead of relying on a blog post, this one included.

## Switching to ERPNext in the middle of a financial year

Many businesses move from Tally to ERPNext partway through a year. That creates a GST problem that standard guides rarely cover: months already filed from the old system and months that will be filed from the new one.

What works in practice:

Bring in opening balances for GST ledgers as of the cut-over date, reconciled with your last filed GSTR-3B.

Keep purchase reconciliation for earlier periods in the old system. Don't import historical purchase invoices just to match GSTR-2B.

File the first month from ERPNext with your CA reviewing the GSTR-1 output side by side with the source invoices.

## A five-invoice test before go-live

Before you treat the setup as finished, raise these test transactions and check the tax split and the GSTR-1 classification of each:

Intra-state B2B sale (should split CGST + SGST)

Inter-state B2B sale (should be IGST)

Sale to an unregistered customer (should be B2C)

Purchase under reverse charge

A credit note against one of the above

If any of the five lands in the wrong section, fix the master record behind it, not the invoice.

## Frequently Asked Questions

[Is GST included in ERPNext by default?](#collapse-1401)

Not in current versions. From version 14 onwards, India GST features come from the separate India Compliance app, which is free and open source. ERPNext version 13 had GST built in.

[Can ERPNext file GST returns directly?](#collapse-1402)

ERPNext prepares GSTR-1 and GSTR-3B data and supports purchase reconciliation against GSTR-2B. Someone in your finance team or your CA still owns review and filing on the GST portal.

[How long does GST setup in ERPNext take?](#collapse-1403)

There's no single timeline. A single-GSTIN company with clean item and customer data can finish quickly. Multiple GSTINs, a mid-year migration, or messy legacy masters take longer. The time goes into cleaning data, not into the settings themselves.

[Do I need a developer for GST setup?](#collapse-1404)

Not for standard configuration. You may need one for custom print formats, non-standard tax scenarios, or integrations that create invoices from another system.

## Getting it right the first time

This ERPNext GST guide covers the standard path. Real setups get complicated with multiple registrations, legacy data and industry-specific tax treatment. Through our [tailored ERPNext implementation](/services/tailored-erpnext-implementation/) work across India, GST configuration is set up and tested as part of go-live, not fixed after the first filing.

If you're about to set up GST in ERPNext, or your returns already look wrong, [book a free ERPNext consultation](/contact-us/). We'll review your setup order, masters and test invoices with you before your next filing date.
