Gst State Code List | Optiwise
Understand GST state codes, how they appear in GSTIN, why they matter for place of supply, invoices, e-invoicing, and ERP master data control.
GST State Code List: Why The First Two Digits Matter More Than They Look
GST state codes are two-digit codes used to identify Indian states and union territories under GST. These codes appear at the beginning of a GSTIN and are also used in e-invoicing, place-of-supply validation, tax reporting, and master data checks.
For example, the first two digits of a GSTIN indicate the state or union territory in which the registration is held. If a customer GSTIN begins with a state code that does not match the selected state in your invoice or e-invoice data, the transaction may create validation errors or tax treatment confusion.
This article is general educational content, not tax or legal advice. Businesses should verify current state codes and GST rules from official GST/e-invoice resources and consult professionals where needed.
For businesses using AICAN Optiwise, state code control is part of clean master data. It looks small, but it prevents many invoice and reporting mistakes.
What Is A GST State Code?
A GST state code is a two-digit numeric code assigned to a state or union territory for GST purposes.
These codes are used in:
- GSTIN structure
- Supplier and buyer details
- Place of supply
- E-invoice validation
- E-way bill data
- GST return reporting
- Customer and supplier master records
A GSTIN has 15 characters. The first two characters are the state code. That is why GSTIN validation begins with checking whether the code makes sense for the registered state.
Why GST State Codes Matter
State codes matter because GST treatment often depends on whether a supply is intra-state or inter-state.
If supplier and place of supply are in the same state, CGST and SGST may apply. If the supply is inter-state, IGST may apply. The exact treatment depends on GST rules and transaction type.
Incorrect state data can lead to:
- Wrong tax type selection
- E-invoice validation errors
- Incorrect GST return reporting
- Customer invoice disputes
- ITC-related issues for customers
- E-way bill data mismatch
- Manual correction work
This is why state code should be controlled in master data rather than typed casually on every invoice.
GST State Code List
Businesses should refer to official GST/e-invoice master codes for the current list. Common GST state codes include:
- 01 Jammu and Kashmir
- 02 Himachal Pradesh
- 03 Punjab
- 04 Chandigarh
- 05 Uttarakhand
- 06 Haryana
- 07 Delhi
- 08 Rajasthan
- 09 Uttar Pradesh
- 10 Bihar
- 11 Sikkim
- 12 Arunachal Pradesh
- 13 Nagaland
- 14 Manipur
- 15 Mizoram
- 16 Tripura
- 17 Meghalaya
- 18 Assam
- 19 West Bengal
- 20 Jharkhand
- 21 Odisha
- 22 Chhattisgarh
- 23 Madhya Pradesh
- 24 Gujarat
- 26 Dadra and Nagar Haveli and Daman and Diu
- 27 Maharashtra
- 29 Karnataka
- 30 Goa
- 31 Lakshadweep
- 32 Kerala
- 33 Tamil Nadu
- 34 Puducherry
- 35 Andaman and Nicobar Islands
- 36 Telangana
- 37 Andhra Pradesh
- 38 Ladakh
- 97 Other Territory
Because master-code references can be updated, businesses should verify before relying on a static list for compliance work.
GST State Code And GSTIN
A GSTIN begins with the state code. For example, a Maharashtra GSTIN begins with 27, while a Karnataka GSTIN begins with 29.
This helps businesses identify whether a GSTIN belongs to the state mentioned in customer or supplier records.
If a customer master says the customer is in Maharashtra but the GSTIN begins with 29, the business should verify the correct registered address and GSTIN before invoicing.
GST State Code And Place Of Supply
Place of supply is important for deciding tax type. The state code in GSTIN is not the only factor, but it is an important validation clue.
For example, if the supplier is registered in Gujarat and the place of supply is Gujarat, the tax treatment may be intra-state. If the place of supply is Maharashtra, it may be inter-state. Businesses should apply GST rules carefully and seek professional guidance for special cases.
ERP helps because state and GSTIN can be linked in customer and supplier masters, reducing repeated manual checking.
GST State Code And E-Invoicing
E-invoice systems validate state codes in supplier, recipient, dispatch, and shipping details. Official e-invoice error guidance includes cases where GSTIN state code and state code in recipient details do not match.
This means bad master data can cause e-invoice failures.
Before e-invoicing applies or before volumes increase, businesses should clean:
- Customer GSTIN
- Billing state
- Shipping state
- Place of supply
- Supplier GSTIN
- Address records
- Pin code and state mapping
Common Mistakes With GST State Codes
Businesses often make simple but costly mistakes:
- Selecting wrong state in customer master
- Entering GSTIN without checking first two digits
- Using billing state when shipping state matters
- Copying old invoice data into new transactions
- Treating union territories incorrectly
- Not updating changed master codes
- Manually typing place of supply on every invoice
These mistakes are especially common when businesses use spreadsheets or invoice templates without validation.
How ERP Helps
An ERP system can reduce state-code errors by maintaining structured masters and validations.
A good workflow can:
- Store customer GSTIN and state together
- Check first two GSTIN digits against state
- Pull place of supply into invoice
- Reduce manual tax-type selection
- Maintain shipping and billing addresses
- Prepare cleaner e-invoice data
- Reduce GST return mismatches
Optiwise by AICAN helps manufacturers keep customer, supplier, invoice, dispatch, and GST-related data connected.
Where AICAN Optiwise Fits
AICAN focuses on practical ERP for manufacturing businesses. With AICAN Optiwise, small details like GST state code, GSTIN, place of supply, item tax rate, and dispatch location can be handled as part of the normal billing workflow.
That is how small errors are prevented before they become compliance work.
Founder’s Note
A state code looks like a tiny field, but in GST it can affect tax treatment, invoice validation, and customer trust. Many operational problems begin with small master-data errors.
At AICAN, we build systems with respect for these details because manufacturers do not need more correction work. They need clean data at the point of transaction.
FAQs
What is a GST state code?
A GST state code is a two-digit code assigned to each Indian state or union territory for GST identification and reporting.
Where is the GST state code used?
It is used in GSTIN, place-of-supply details, invoices, e-invoicing, e-way bills, and GST reporting.
How do I find the state from a GSTIN?
The first two digits of a GSTIN indicate the state code. Businesses should verify the code against official GST/e-invoice master codes.
Why does state code matter in GST invoices?
It helps validate customer or supplier location and supports correct tax treatment, especially CGST/SGST versus IGST decisions.
How can Optiwise reduce state-code errors?
Optiwise by AICAN can connect GSTIN, state, customer master, invoice, and dispatch data so teams do not manually re-enter these fields repeatedly.
Related Posts
Gst Invoice | Optiwise
Understand GST invoices, required details, common mistakes, e-invoice readiness, and how ERP helps manufacturers create accurate billing and tax records.
Gstr 10 | Optiwise
Learn what GSTR-10 final return is, who needs to file it, when it is filed, what records matter, and how ERP helps businesses close GST records cleanly.
How to Transition Your Manual Accounting to ERP-Based Accounting
Learn how MSME manufacturers can move from manual or standalone accounting to ERP-based accounting with clean masters, opening balances, inventory links, approvals, and finance controls.
How To File Gstr 9 | Optiwise
Learn what GSTR-9 is, who may need to file it, preparation checklist, common issues, and how ERP helps businesses maintain clean annual GST records.

