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
- 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.
- Characters 3 to 12 match the customer’s PAN, if you have it.
- The check character is right. One wrong letter typed in the middle shows up here.
- 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.















