The first two digits of a GSTIN are the GST state code of the state where the taxpayer is registered. Delhi is 07, Maharashtra is 27, Karnataka is 29 and Tamil Nadu is 33. The next ten characters are the taxpayer's PAN, so a GSTIN is partly a PAN you can already verify.

How is a GSTIN built?

A GSTIN has 15 characters. Reading from left to right:

PositionWhat it holdsExample
1-2State code27 (Maharashtra)
3-12PAN of the taxpayerABCDE1234F
13Number of registrations the same PAN holds in that state (1-9, then A-Z)1
14Default letter ZZ
15Check character5

So 27ABCDE1234F1Z5 is the first registration of PAN ABCDE1234F in Maharashtra. A second registration for the same PAN in Maharashtra, for a separate business vertical, would end in 2Z followed by its own check character.

GST state code list

Code 25 (Daman and Diu) is retired. Daman and Diu merged with Dadra and Nagar Haveli on 26 January 2020 and now uses 26. Andhra Pradesh has two codes because of the 2014 bifurcation: 28 is the old one and 37 is the current one.

CodeState or UT
01Jammu and Kashmir
02Himachal Pradesh
03Punjab
04Chandigarh
05Uttarakhand
06Haryana
07Delhi
08Rajasthan
09Uttar Pradesh
10Bihar
11Sikkim
12Arunachal Pradesh
13Nagaland
14Manipur
15Mizoram
16Tripura
17Meghalaya
18Assam
19West Bengal
20Jharkhand
21Odisha
22Chhattisgarh
23Madhya Pradesh
24Gujarat
26Dadra and Nagar Haveli and Daman and Diu
27Maharashtra
28Andhra Pradesh (old code, before the 2014 split)
29Karnataka
30Goa
31Lakshadweep
32Kerala
33Tamil Nadu
34Puducherry
35Andaman and Nicobar Islands
36Telangana
37Andhra Pradesh (current)
38Ladakh
97Other Territory
99Centre Jurisdiction

Why the state code matters to a CA firm

  • Place of supply. Comparing the supplier's state code with the place of supply decides CGST plus SGST versus IGST. A wrong code on an invoice is a wrong tax split.
  • Return filing. A client with branches in three states has three GSTINs and three sets of returns. The state code is how you keep them apart.
  • ITC matching. Supplier GSTINs in GSTR-2B carry their own state code. A typo in the first two digits is one of the common reasons an invoice fails to match.

Three quick checks before you key in a GSTIN

  1. The length is 15 characters and position 14 is Z.
  2. The first two digits are a real state code from the table above.
  3. Characters 3 to 12 match the PAN on the client's record. If the PAN differs, the GSTIN belongs to someone else.

Our free GSTIN validator runs the format and check-character test for you. For firm-wide work, keep every GSTIN on the client record so a return is always filed against the right state.

State code versus location of the firm

A CA firm in Delhi may handle clients in Haryana, Uttar Pradesh and Rajasthan. The GSTIN prefix follows the client's registration, not your office. If you work across NCR, see how we set up the workflow on our GST compliance page for Delhi, or browse all cities.

Keep every client's GSTINs, states and return status in one place.

Start Free Trial

Frequently Asked Questions

What are the first two digits of a GSTIN?

They are the GST state code of the state or union territory where the taxpayer is registered, for example 07 for Delhi and 27 for Maharashtra.

What is the GST state code of Telangana?

Telangana uses 36. Andhra Pradesh uses 37, and the older code 28 belonged to undivided Andhra Pradesh.

Does the GST state code change if a business moves?

No. A GSTIN is tied to the registration in a state. A business that starts operating in a new state needs a new registration there, with a new GSTIN.

Which GST code is used for Ladakh?

Ladakh uses 38.

What do codes 97 and 99 mean?

97 is for Other Territory and 99 is for Centre Jurisdiction.