Meta Pixel
LIMITED OFFERSave upto 65% today on SuperBiller Pro EditionExplore Now
Back to All Articles
GST & Compliance 14 November 2026• 14 min read

GST State Code List (01 to 38) & 15-Digit GST Number Format Explained (2026 Guide)

Complete 01 to 38 GST State Code list with 15-digit GSTIN alphanumeric structure breakdown. Learn how the Modulo-36 checksum catches vendor billing errors, determines CGST/SGST vs IGST, and prevents fake invoice fraud.

S
SuperBiller Tax Research Team
Verified GST & SaaS Guide
GST State Code List (01 to 38) and 15-Digit GSTIN Structure Verification Guide
GST State Code List (01 to 38) and 15-Digit GSTIN Structure Verification Guide
Quick Takeaway (BLUF)

Complete 01-38 GST state code list and 15-digit GSTIN format breakdown. Learn how to verify state codes, PAN entity structure & detect fake GST numbers.

BLUF (Bottom Line Up Front): Every Goods and Services Tax Identification Number (GSTIN) in India is a 15-character alphanumeric identifier designed by the GST Network (GSTN). The first two numeric digits represent the GST State Code (ranging from 01 for Jammu & Kashmir to 38 for Ladakh). Digits 3 through 12 embed the legal entity's 10-character PAN, followed by a 1-character entity count code, the default alphabet 'Z', and a 15th checksum digit derived through a mathematical Modulo 36 algorithm. Correct state codes are the statutory pivot that determines whether a transaction attracts CGST + SGST (Intrastate) or IGST (Interstate). A single wrong state code or typo invalidates the invoice, blocks the buyer's Input Tax Credit (ITC) in GSTR-2B, and triggers statutory tax demand notices under Section 77.


Whether you are an MSME merchant issuing daily counter bills, an accountant auditing vendor masters, or an e-commerce seller setting up shipping logistics, understanding the GST state code list and the 15-digit GSTIN structure is essential for error-free compliance.

Under the Indian Goods and Services Tax regime, a taxpayer cannot legally issue a tax invoice without displaying their registered 15-digit GSTIN alongside the buyer's GSTIN (for B2B transactions). Yet, accounting departments across India lose lakhs of rupees every fiscal year because staff enter incorrect 2-digit state prefixes or manual typos, leading to severe GSTR-1 vs GSTR-3B reconciliation mismatches and rejected vendor payments.

In this definitive guide, we provide the complete official GST state code list (01 to 38), unpack the exact character-by-character anatomy of a GSTIN, reveal how the mathematical Modulo-36 checksum catches typographical errors, and show you how to audit vendor GST numbers in seconds.


Complete GST State Code List (01 to 38) & Union Territories

Under GST law, state codes are assigned based on the official Indian Census code classification. Below is the master reference table containing all active 2-digit GST state codes, their official state alpha abbreviations, capital hubs, and statutory jurisdictional notes.

GST State CodeState / Union Territory (UT)State Alpha CodeAdministrative StatusJurisdictional & Merger Notes
01Jammu and KashmirJKUnion TerritoryBifurcated under J&K Reorganisation Act, 2019
02Himachal PradeshHPStateNorthern Zone
03PunjabPBStateNorthern Zone (03 GST State Code)
04ChandigarhCHUnion TerritoryJoint Capital Administration
05UttarakhandUKStateFormerly Uttaranchal
06HaryanaHRStateNCR Border Zone
07DelhiDLUnion Territory (National Capital Territory)NCT Delhi Administration
08RajasthanRJStateWestern Zone
09Uttar PradeshUPStateNorthern Zone
10BiharBRStateEastern Zone
11SikkimSKStateSpecial Category State
12Arunachal PradeshARStateNorth-Eastern Zone
13NagalandNLStateNorth-Eastern Zone
14ManipurMNStateNorth-Eastern Zone
15MizoramMZStateNorth-Eastern Zone
16TripuraTRStateNorth-Eastern Zone
17MeghalayaMLStateNorth-Eastern Zone
18AssamASStateNorth-Eastern Gateway
19West BengalWBStateEastern Gateway
20JharkhandJHStateEastern Mineral Belt
21OdishaODStateFormerly Orissa
22ChhattisgarhCGStateCentral Mineral Zone (22 GST State Code)
23Madhya PradeshMPStateCentral Zone
24GujaratGJStateWestern Commercial Hub
25Daman and Diu (Defunct)DDMergedMerged into Code 26 w.e.f. 26 January 2020
26Dadra and Nagar Haveli and Daman and DiuDNUnion TerritoryCombined UT w.e.f. Jan 2020 under Notification 10/2020-CT
27MaharashtraMHStateFinancial Hub (Mumbai)
28Andhra Pradesh (Old)APHistoricUsed prior to state bifurcation into Telangana
29KarnatakaKAStateSouthern Commercial Hub
30GoaGAStateWestern Coastal Zone
31LakshadweepLDUnion TerritoryIsland Archipelago
32KeralaKLStateSouthern Maritime Zone
33Tamil NaduTNStateSouthern Industrial Zone
34PuducherryPYUnion TerritoryFormerly Pondicherry
35Andaman and Nicobar IslandsANUnion TerritoryIsland Territory
36TelanganaTSStateCarved out of Andhra Pradesh in 2014
37Andhra Pradesh (Newly Formed)ADStateResidual Andhra Pradesh post-Telangana creation
38LadakhLAUnion TerritoryOperationalized w.e.f. 1 January 2020
97Other TerritoryOTSpecial CodeContinental Shelf & Exclusive Economic Zone (EEZ)
99Centre Jurisdiction / Foreign SupplyCSSpecial CodeEmbassies, Specialized Agencies & Cross-Border Supply

Critical Geographic & Regulatory Updates to Remember:

  1. The Merger of Code 25 into Code 26: On 26 January 2020, the Central Government merged the Union Territories of Daman & Diu and Dadra & Nagar Haveli into a single UT. As per CBIC Notification No. 10/2020 – Central Tax, all active taxpayers under old Code 25 were migrated to Code 26. Old Code 25 GSTINs are no longer active for new registrations.
  2. Andhra Pradesh vs Telangana (Codes 36 & 37): Following the bifurcation of Andhra Pradesh, Code 36 was assigned to the newly created state of Telangana, while Code 37 was assigned to the restructured state of Andhra Pradesh.
  3. Union Territory of Ladakh (Code 38): Consequent to the Jammu and Kashmir Reorganisation Act, 2019, Ladakh became an independent Union Territory without a legislature. The GST Council notified Code 38 for Ladakh, operationalized on 1 January 2020.
  4. Code 97 (Other Territory): Applicable for supplies occurring outside the territorial waters of any state but within India's 200-nautical-mile Exclusive Economic Zone (EEZ) (e.g., offshore oil drilling platforms or continental shelf operations).

Anatomy of the 15-Digit GST Number Format

The GST identification number (GSTIN) is not an arbitrary tracking string. It is a strictly standardized, 15-character alphanumeric code that encapsulates legal, geographical, and mathematical identity.

Let us dissect a representative sample GSTIN: 27AAPFU0939F1ZV

   27     AAPFU0939F     1      Z      V
 [----]  [----------]  [---]  [---]  [---]
 State    10-Digit     Entity Default Checksum
  Code    Business     Count  Letter   Digit
(Maha)      PAN         (1)    (Z)   (Mod-36)

Here is the exact character-by-character breakdown of this 15-character structure:

1. Digits 1 and 2: The State Code

  • The first two numeric digits specify the physical state or Union Territory where the business establishment is registered.
  • In our sample 27, this immediately identifies the business as registered in Maharashtra.
  • If a retail store in Ludhiana purchases goods from a supplier whose GSTIN begins with 03, the purchase is classified as an Intrastate Supply (Punjab to Punjab), attracting CGST + SGST. If the supplier's GSTIN begins with 06 (Haryana), the transaction is Interstate, attracting IGST.

2. Digits 3 to 12: The 10-Digit PAN of the Business

  • Digits 3 through 12 represent the Permanent Account Number (PAN) issued by the Income Tax Department.
  • In our sample: AAPFU0939F.
  • Because the GSTIN directly embeds the PAN, no entity can register under GST without first obtaining an Income Tax PAN. This ensures unified national tax tracking between direct corporate tax and indirect GST revenue.

Decoding the 4th Character of the PAN (Entity Constitution):

The 4th character of the PAN (the 6th character of the GSTIN) explicitly reveals the legal constitution of the business:

  • P = Individual / Sole Proprietorship (e.g., 27AA**P**... means a proprietary Kirana store or retail trader).
  • C = Company (Private Limited or Public Limited company).
  • H = Hindu Undivided Family (HUF).
  • F = Partnership Firm or Limited Liability Partnership (LLP).
  • A = Association of Persons (AOP).
  • T = Trust (Charitable or private trust).
  • B = Body of Individuals (BOI).
  • L = Local Authority (Municipal Corporation).
  • J = Artificial Juridical Person.
  • G = Government Agency.

Decoding the 5th Character of the PAN:

The 5th character of the PAN represents:

  • For an Individual (P): The first letter of the individual's Surname / Last Name.
  • For non-individuals (C, F, H, etc.): The first letter of the legal entity's registered business name.

3. Digit 13: Entity Registration Count Within the State

  • Character 13 is an alphanumeric digit indicating the serial number of registrations the same legal entity (same PAN) holds within that specific state.
  • If a business owner opens their first retail store in Delhi, this digit is 1.
  • If the same proprietor opens a second independent store or branch office in Delhi under a separate GSTIN, the second registration gets 2, the third gets 3, up to 9.
  • Beyond 9 registrations in the same state, the sequence continues through the English alphabet: A (10th registration), B (11th registration), up to Z.

4. Digit 14: The Default Statutory Character 'Z'

  • Character 14 is the letter Z by default for standard regular, composition, and SEZ taxpayers.
  • It acts as a blank reserved character for future GST Council enhancements. Note that for specialized tax deductors and government entities, alternate alphanumeric markers may appear.

5. Digit 15: The Modulo 36 Checksum Character

  • The final 15th character is an alphanumeric digit (0 to 9 or A to Z) that acts as a mathematical cryptographic validation seal.
  • It is derived from the preceding 14 characters using a specialized Modulo 36 Check Digit Algorithm.
  • If a billing operator types even a single letter incorrectly or transposes two numbers (e.g., typing 27AAPFU0939F instead of 27AAPFU0993F), the resulting checksum calculation will mismatch, and modern billing software will flag the number as invalid before the bill can be saved.

How the Modulo 36 Checksum Algorithm Works

Why did the Indian GST Council select the Modulo 36 algorithm instead of the standard Luhn algorithm used on credit cards? Because a credit card number consists purely of numeric digits (0–9), whereas a GSTIN contains a hybrid mix of 36 alphanumeric symbols: the digits 0–9 (10 symbols) and letters A–Z (26 symbols).

The Modulo 36 check digit algorithm guarantees that:

  1. Single-character data entry typos (e.g., typing B instead of 8 or O instead of 0) are caught with 100% accuracy.
  2. Transposition errors (e.g., typing 12 instead of 21) are detected immediately.

Mathematical Step-by-Step Calculation Formula:

  1. Symbol Mapping (Base 36): Every character in the character set 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ is assigned an integer index:

    • '0' = 0, '1' = 1, ... '9' = 9
    • 'A' = 10, 'B' = 11, ... 'Z' = 35
  2. Weight Assignment: Starting from character 1 to character 14, an alternating weighting multiplier ($w_i$) of 1 and 2 is applied to each character's integer value.

  3. Product & Base-36 Reduction: For each position $i$: $$\text{Product } P_i = \text{Value}_i \times w_i$$ The product is converted into base-36 units by adding the quotient and remainder: $$\text{Hash}_i = \lfloor P_i / 36 \rfloor + (P_i \bmod 36)$$

  4. Summation & Modulo Calculation: Sum all 14 processed hashes: $$\text{Total Sum } S = \sum_{i=1}^{14} \text{Hash}_i$$ Compute the remainder modulo 36: $$\text{Remainder } R = S \bmod 36$$

  5. Derivation of Check Digit: $$\text{Check Digit Value} = (36 - R) \bmod 36$$ The resulting numeric value is converted back to its alphanumeric character representation. This character becomes the 15th digit of the GSTIN.

When your cashier inputs a supplier or customer GSTIN into modern billing software like SuperBiller Cloud POS, this exact mathematical formula runs in under 2 milliseconds in the browser background. If the 15th digit does not match, the software immediately alerts the user: "Invalid GSTIN Checksum. Please verify characters."


How State Codes Dictate Tax Determination: CGST + SGST vs IGST

In the pre-GST VAT era, businesses struggled with complex Central Sales Tax (CST) declarations, C-Forms, and state border check-posts. Under the unified GST model, tax determination is 100% automated based on state codes and the Place of Supply (POS).

The Core Tax Classification Matrix:

Supplier Location (GSTIN Prefix)Place of Supply / Recipient (POS Prefix)Transaction TypeApplicable GST ComponentsRevenue Sharing Mechanism
27 (Maharashtra)27 (Maharashtra)Intrastate SupplyCGST (50%) + SGST (50%)50% to Central Govt + 50% to Maharashtra State Govt
07 (Delhi)07 (Delhi)Intrastate SupplyCGST (50%) + UTGST (50%)50% to Central Govt + 50% to Delhi UT Administration
03 (Punjab)06 (Haryana)Interstate SupplyIGST (100%)100% Integrated Tax collected by Centre; settled to destination
24 (Gujarat)33 (Tamil Nadu)Interstate SupplyIGST (100%)100% Integrated Tax collected by Centre; settled to destination

The Critical "Place of Supply" Trap That Destroys B2B ITC:

One of the most dangerous compliance traps occurs when a supplier inadvertently charges CGST + SGST instead of IGST on an interstate transaction.

Real-World Scenario:

  • A software firm in Bengaluru (GSTIN: 29AAAAA0000A1Z5) issues an annual SaaS invoice of ₹1,00,000 + 18% GST (₹18,000) to a retail supermarket chain in Mumbai (GSTIN: 27BBBBB0000B1Z2).
  • The Error: The billing clerk fails to change the default state code in their software and bills it as a local Karnataka transaction, applying 9% CGST (₹9,000) + 9% SGST (₹9,000) with Place of Supply marked as 29 (Karnataka).
  • The Catastrophic Result for the Buyer:
    1. Under Section 16(2) of the CGST Act, a registered person in Maharashtra (Code 27) cannot claim Input Tax Credit of Karnataka SGST (Code 29)!
    2. The ₹18,000 tax credit is completely blocked in the buyer's GSTR-2B under the "Ineligible ITC" section.
    3. The Mumbai supermarket loses ₹18,000 in legitimate tax savings unless the supplier cancels the bill and issues a revised credit note and fresh IGST invoice under Section 34.

Using an intelligent billing tool like SuperBiller's Free GST Invoice Generator prevents this mistake permanently because selecting the buyer's state code automatically locks the correct tax heads (CGST/SGST vs IGST) without manual cashier interference.


3-Step Audit: How to Spot Fake GST Numbers in 10 Seconds

According to enforcement releases from the Directorate General of GST Intelligence (DGGI), tax authorities have detected over ₹50,000 crore in fraudulent Input Tax Credit passed through circular trading and fake GST registrations.

Receiving a bill with a fake or inactive GST number can lead to severe consequences for your business:

  • Complete disallowance of Input Tax Credit under Section 16(2)(c).
  • Mandatory cash repayment of claimed ITC with 18% per annum interest under Section 50.
  • Potential penalties up to 100% of tax evaded under Section 122.

Follow this 3-step audit checklist before releasing payment to any new vendor:

   STEP 1: Structural Audit (Length & Pattern)
     └── Must be exactly 15 characters
     └── Digits 1-2: Valid code between 01 and 38
     └── Digits 3-12: Valid 10-character PAN format
     └── Digit 14: Default letter 'Z'

   STEP 2: Modulo-36 Checksum Verification
     └── Calculate check digit from first 14 characters
     └── Match with the 15th character on the invoice

   STEP 3: Live GST Portal Status Verification
     └── Confirm legal name matches trade name
     └── Confirm status is 'ACTIVE' (Not Cancelled or Suspended)
     └── Check return filing history in GSTR-1 & GSTR-3B

1. Structural Regex Pattern Audit

Verify that the GSTIN conforms to the official government regex pattern: $$\text{Pattern: } \wedge[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$$

  • If the number has 14 or 16 characters, it is fake or misprinted.
  • If the first two digits are 00 or exceed 38 (unless special codes 97 or 99), it is fraudulent.
  • If character 14 is anything other than Z (for regular commercial merchants), it warrants immediate verification.

2. Verify PAN Consistency via Free Tools

You can independently check whether the vendor's legal trade name and PAN match the invoice by using SuperBiller's Free GST Search by PAN Tool. It extracts the embedded 10-digit PAN and confirms taxpayer legitimacy instantly.

3. Check Live Portal Filing Status (services.gst.gov.in)

Navigate to Search Taxpayer > Search by GSTIN/UIN on the official GST portal. Confirm that:

  • Taxpayer Status: Shows Active. If it shows Suspended or Cancelled Suo-Moto, do not accept the invoice, as your ITC will be frozen.
  • Taxpayer Type: Verify whether the vendor is Regular or Composition. Note that Composition taxpayers (Section 10) cannot collect GST from customers or issue tax invoices!

How SuperBiller Automates GSTIN Verification & State Code Compliance

Managing hundreds of retail customers, wholesale distributors, and suppliers manually in Excel or desktop software inevitably leads to data corruption. SuperBiller incorporates enterprise-grade tax intelligence built directly into the billing counter:

  1. Auto-Fill via 1-Click GSTIN Fetch: Enter a 15-digit GSTIN, and SuperBiller automatically queries the official API to pull the verified Legal Business Name, Trade Name, Registered Address, Pincode, and Active Status in under 1 second.
  2. Zero-Error Tax Splitting: Based on the customer's state code prefix, SuperBiller dynamically applies CGST + SGST (Local) or IGST (Interstate) and populates the statutory Place of Supply on every printed or thermal invoice.
  3. Automated HSN & E-Way Bill Mapping: Interlinks with your product catalog, automates HSN code validation, and calculates road travel distances using our Pin to Pin Distance Calculator.
  4. Clean GSTR-1 JSON Exports: Generates error-free B2B and B2C sales registers that import into the government GST offline tool without a single schema rejection.

Related In-Depth Guides & Recommended Reading

To build complete mastery over Indian GST compliance and retail operations, explore our peer-reviewed guides in this cluster:


Frequently Asked Questions (FAQs)

1. What is the state code for Delhi under GST?

The official GST state code for Delhi (National Capital Territory) is 07. Every registered taxpayer operating from Delhi has a 15-digit GSTIN beginning with 07 (e.g., 07AAAAA0000A1Z5). Transactions between two Delhi GSTINs attract local CGST and Delhi UTGST.

2. What are the GST state codes for Punjab and Chhattisgarh?

The GST state code for Punjab is 03 (03 GST state code), and the state code for Chhattisgarh is 22 (22 GST state code). Supplies between Punjab (03) and Chhattisgarh (22) are classified as Interstate supplies and attract Integrated Goods and Services Tax (IGST).

3. What happened to GST State Code 25 (Daman and Diu)?

Effective from 26 January 2020, the Union Territories of Daman & Diu and Dadra & Nagar Haveli were merged into a single administrative Union Territory. As notified by CBIC Notification No. 10/2020-CT, Code 25 was retired, and all existing taxpayers in Daman and Diu were transitioned to Code 26 (Dadra and Nagar Haveli and Daman and Diu).

4. What does the 14th character 'Z' in a GSTIN represent?

The 14th character of a GSTIN is fixed as the letter Z by default for standard commercial taxpayers. It serves as a statutory placeholder reserved by the GST Council for future entity differentiation or system enhancements.

5. Can a business have more than one GST number on the same PAN?

Yes! A business entity with a single PAN can have multiple GSTINs under two circumstances:

  1. Multi-State Operations: GST registration is state-specific. If a company operates offices or warehouses in Maharashtra, Gujarat, and Delhi, it must obtain separate GSTINs beginning with 27, 24, and 07 respectively.
  2. Multiple Verticals in the Same State: Under CGST Rule 11, a taxpayer can obtain separate GSTINs for distinct business branches or verticals within the same state. The 13th digit of the GSTIN differentiates these registrations (e.g., 1 for branch 1, 2 for branch 2, etc.).

6. How is the 15th checksum character calculated in a GSTIN?

The 15th character is calculated using the Modulo 36 check digit algorithm. Each of the first 14 alphanumeric characters is converted to a base-36 numerical value (0–9 = 0–9, A–Z = 10–35), multiplied by alternating weights (1 and 2), and aggregated through a modular arithmetic formula. The resulting control value determines the final check digit, ensuring that typing mistakes on invoices and vendor masters are caught immediately.


Statutory References & Official Government Sources

To maintain rigorous legal accuracy and compliance with CBIC directives, verify your business workflows against these official statutory publications:

  • Central Board of Indirect Taxes and Customs (CBIC): Official portals and circular notifications — cbic.gov.in
  • Goods and Services Tax Portal (GSTN): Master taxpayer directory and state jurisdiction search — services.gst.gov.in
  • GST Council of India: Official recommendations, state code gazette notifications & rate schedules — gstcouncil.gov.in
  • Notification No. 10/2020 – Central Tax (Dated 21 March 2020): Special procedure for taxpayers in Dadra & Nagar Haveli and Daman & Diu.
  • Section 25 of the CGST Act, 2017 & Rule 8 of the CGST Rules, 2017: Statutory provisions governing application and structure of GST registration numbers.
Tags:#GST State Code#GST Number Format#15-Digit GSTIN#Modulo 36 Checksum#GST Number List#Fake GST Check#Place of Supply#GST Verification
Editorial Integrity & Statutory ComplianceCBIC & GST Council Validated

This guide is authored by the SuperBiller Tax & Retail Operations Desk and fact-checked against official Central Board of Indirect Taxes and Customs (CBIC) circulars, the CGST Act 2017 (Rule 46 & Section 31), and latest GST Council threshold updates. SuperBiller provides MSMEs with compliant billing technology, 80mm thermal printing, and automated tax workflows.

Related Free Indian MSME Tools100% Free
SuperBiller ERP Software

Ready to automate your GST Billing & 80mm POS?

Generate your first tax invoice in under 30 seconds. 100% offline-ready.

Get Started Free