GST resources

GSTIN: Format, State Code and How to Verify One

A GSTIN is 15 characters: state code, PAN, entity number, a default letter and a check character. The first two digits decide how you tax the customer.

The format

CharactersMeaning
1–2State code (29 = Karnataka, 27 = Maharashtra…)
3–12PAN of the business
13Entity number within the state
14Default letter Z
15Check character

Why the state code matters

If the customer's place of supply is in your state, charge CGST + SGST; otherwise IGST. TripleBill reads the state from the GSTIN you save on the customer.

Verify before you bill

Check a GSTIN with Search Taxpayer on gst.gov.in before extending credit or issuing a B2B invoice, so your customer can claim the input credit.

How TripleBill helps

TripleBill validates GSTIN format on customers and vendors, derives the state code and uses it for the tax split.

This page is general information about GST in India, not tax advice. Rates, thresholds and rules change; confirm with the GST portal or a chartered accountant before acting.

Last reviewed and sources

Last reviewed: November 2026. Facts on this page were checked against:

  • CGST Rules, 2017, rule 10 and FORM GST REG-06 (GSTIN structure)
  • GST portal: Search Taxpayer

Frequently asked questions

Does TripleBill validate GSTIN format?

Yes. Customers, vendors and your own business reject malformed GSTINs, check the check character and derive the state from the first two digits.

Related

Your first invoice is two minutes away.

7-day free trial with everything unlocked. No card needed.