Anatomy of an Indian GSTIN: Validation & Checksum Guide
The Goods and Services Tax Identification Number (GSTIN) is a 15-character alphanumeric identifier issued by the Government of India under the Central Goods and Services Tax Act, 2017. Replacing multiple state VAT, central excise, and service tax registration numbers, a single GSTIN embeds vital legal data regarding taxpayer jurisdiction, PAN ownership, entity constitution, and mathematical validity.
The 15-Digit Structural Breakdown
- First Two Digits (State Code): Assigned as per the 2011 Indian Census. Examples include 07 for Delhi, 27 for Maharashtra, 29 for Karnataka, 33 for Tamil Nadu, and 24 for Gujarat.
- Next Ten Digits (Permanent Account Number - PAN): Characters 3 to 12 correspond exactly to the 10-digit Income Tax PAN of the entity. Crucially, the 4th letter of the PAN (the 6th character of the GSTIN) discloses the legal constitution:
- P: Individual / Sole Proprietor
- C: Private Limited or Public Limited Company
- F: Partnership Firm or Limited Liability Partnership (LLP)
- H: Hindu Undivided Family (HUF)
- T: Trust
- Thirteenth Digit (Entity Serial Number): Represents the number of registrations the same PAN holder has obtained within that specific state (assigned 1 through 9, followed by letters A through Z for subsequent registrations).
- Fourteenth Digit: Default alphabetical letter 'Z' by regulatory convention.
- Fifteenth Digit (Mod-36 Checksum): A mathematical check digit calculated via a customized Modulo-36 algorithm across the preceding 14 characters to prevent fraudulent typing errors.
^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$
Why Immediate GSTIN Verification is Essential
Under GST Rule 36(4), businesses cannot claim Input Tax Credit (ITC) if the supplier's GSTIN is invalid or omitted on the tax invoice. Validating a supplier's GSTIN ensures that:
- The invoice has a legally valid Place of Supply (POS) matching the first 2 digits.
- The supplier is an authorized registered entity, preventing bogus billing notices.
- Your accounts payable ledger avoids costly rejections during monthly GSTR-2B matching.