India GST guide 4 of 7

GST state codes

The full list of two-digit codes, where they sit in a GSTIN, and what they change on an invoice.

By the MyRecords team 5 min read Start reading

India only: this guide explains Indian GST law. In other countries, local tax invoices and returns come with a country pack. What works in your country

The short answer

A GST state code is the two-digit number for a state or union territory, such as 27 for Maharashtra, 29 for Karnataka and 37 for Andhra Pradesh. It is the first two digits of every GSTIN, and e-invoices use it for the place of supply, with 96 for a place outside India. Same code as yours usually means CGST + SGST; a different code means IGST.

5 official sources Facts checked

What a state code is

Each state and union territory has a two-digit GST code. It opens every GSTIN registered there, and e-invoices use it for the supplier’s state, the buyer’s state and the place of supply. The list below is the State Code master published on the e-invoice system, read on 3 December 2026.

The full list

Code State or union territory Code State or union territory
01 Jammu and Kashmir 20 Jharkhand
02 Himachal Pradesh 21 Odisha
03 Punjab 22 Chhattisgarh
04 Chandigarh 23 Madhya Pradesh
05 Uttarakhand 24 Gujarat
06 Haryana 25 Daman and Diu
07 Delhi 26 Dadra and Nagar Haveli
08 Rajasthan 27 Maharashtra
09 Uttar Pradesh 29 Karnataka
10 Bihar 30 Goa
11 Sikkim 31 Lakshadweep
12 Arunachal Pradesh 32 Kerala
13 Nagaland 33 Tamil Nadu
14 Manipur 34 Puducherry
15 Mizoram 35 Andaman and Nicobar
16 Tripura 36 Telangana
17 Meghalaya 37 Andhra Pradesh
18 Assam 38 Ladakh
19 West Bengal 96 Other countries
97 Other territory
99 Other countries

There is no 28 in this list. For a sale whose place of supply is outside India, the e-invoice carries 96.

Daman and Diu (25) and Dadra and Nagar Haveli (26) have since been merged into one union territory. The code list still shows both codes, so read the code from the GSTIN in front of you.

How the code sits in a GSTIN

A GSTIN has 15 characters. The GST Council and CBIC registration flyer describes them this way: the first 2 digits are the state code, the next 10 are the PAN of the legal entity, the next 2 are the entity code, and the last is a check sum.

Characters What they hold In 37ABCDE1234F1ZZ
1–2 State code 37 (Andhra Pradesh)
3–12 PAN of the legal entity ABCDE1234F
13–14 Entity code 1Z
15 Check sum Z

The GSTIN above is a made-up example that passes the format and check-character test; it is not a real taxpayer. Because registration is PAN based and state specific, a business with branches in Andhra Pradesh and Karnataka holds two GSTINs with the same PAN in the middle: one starting 37, one starting 29.

Worked example. Kaveri Agencies, Vijayawada (GSTIN starting 37), sells goods worth ₹50,000 at 18%.

  • To a buyer in Guntur, GSTIN starting 37, goods delivered in Andhra Pradesh: same state, so ₹4,500 CGST + ₹4,500 SGST.
  • To a buyer in Bengaluru, GSTIN starting 29, goods delivered in Karnataka: different state, so ₹9,000 IGST.
  • To a buyer in Dubai, no GSTIN: the e-invoice shows URP for the buyer and place of supply 96.

The tax is ₹9,000 each time in India. The code decides which government gets it and which ledger the buyer’s credit sits in.

Checks before you save a customer

  1. First two digits match the state in the customer’s billing address. A Hyderabad address with a GSTIN starting 37 is a mistake: Telangana is 36.
  2. Characters 3 to 12 match the customer’s PAN, if you have it.
  3. The check character is right. One wrong letter typed in the middle shows up here.
  4. Place of supply, not just the code. The code is a first check; the tax follows the place of supply, which for goods is usually where delivery ends.

Check the format, state code, PAN part and check character in the free GSTIN validator, and the place of supply in the place of supply checker.

How MyRecords helps

This is the India guide. MyRecords also serves businesses in other countries, each with its own currency, financial year and tax templates; the Indian GST screens stay hidden for them. See what works in your country.

  • Keeps GSTIN and state on each customer address, with a GSTIN checksum check, so a mistyped GSTIN is caught before the first invoice.
  • Fills the place of supply for you, from the customer’s GSTIN, else the billing or shipping address. A value you set on the document is never changed.
  • Picks CGST + SGST or IGST by place of supply on each quotation, order, delivery, invoice and purchase document.
  • Creates the e-invoice upload file in the IRP’s format from your submitted invoices, with the state codes the schema asks for. See e-invoicing under GST.

Free tools for this

In MyRecords

Place of supply

CGST + SGST or IGST, decided by place of supply. Part of India compliance.

Works today

Works withInvoicingGST returns

The GSTR-1 screen in MyRecords for November 2026: B2B invoices with each customer’s GSTIN, place of supply and taxable value, and an Export JSON button.
India compliance: the GSTR-1 file, checked before upload. Sample company.

Who this guide helps

Also called: GST state code list, GST state codes, State code in GSTIN, GSTIN state code, Andhra Pradesh GST state code, Place of supply code 96, GST code for export.

  • A billing clerk adding a new customerMatch the first two digits of the GSTIN to the customer's state before the first invoice.
  • A trader selling to other statesSee from the codes whether a sale is likely CGST + SGST or IGST, then confirm by place of supply.
  • An exporter raising an e-invoiceUse place of supply 96 and URP for the buyer's GSTIN, as the NIC schema asks.
  • A business with branches in several statesUnderstand why each branch has its own GSTIN starting with its own state code.

Questions

Questions people ask

Something else on your mind?

Ask us anything about modules, a quote or moving across. A person from our team replies.

Ask a question
01What is the GST state code of Andhra Pradesh?

37. Telangana is 36. Both appear in the e-invoice system's master list of state codes.

02Why is there no state code 28 in the list?

The e-invoice master list that this table follows has no entry for 28; it runs from 27 Maharashtra to 29 Karnataka. Use 37 for Andhra Pradesh.

03Which code is used for exports?

96. The NIC e-invoice schema says that if the place of supply lies outside the country, the code is 96, and a direct export must carry it. The buyer's GSTIN field takes URP (unregistered person) for an export.

04Does a buyer's GSTIN code always decide CGST + SGST or IGST?

No. It is a quick first check. The tax follows the place of supply: for goods that is usually where delivery ends, and for most services to a registered buyer it is the buyer's location. See the place of supply guide.

05Can one business have more than one GSTIN?

Yes. Registration is PAN based and state specific, so a business with branches in three states holds three GSTINs, each starting with that state's code. It may also take a separate registration for each place of business inside one state (GST Council and CBIC registration flyer).

06How do I check a GSTIN before I save a customer?

Check that the first two digits match the customer's state, that characters 3 to 12 match their PAN, and that the check character is right. The free GSTIN validator checks the format, the state code, the PAN part and the check character in your browser; confirm on the GST portal that the registration is active.

Any business, anywhere

One system for any business, anywhere.

Accounting, sales, stock, HR and payroll, CRM, support and an AI Assistant in one place. It works in any country and currency, and we customise it to the way your business runs.

See every appWorks worldwide

Free, no obligation

Request a quote

  • For the apps and modules you pick
  • At our best price, in writing
  • Your questions, answered by our team