How to read a GSTIN
Fifteen characters: the state code, the PAN, the entity code and a check character source.
What does each part mean?
GSTIN
- 27State codethe state, by its GST code
- AAACZ1234CPANthe business’s PAN: C is Company
- 1ZEntity codethe entity code
- RCheckit matches the first fourteen
Characters 1 and 2, the state; 3 to 12, the PAN or TAN; 13 and 14, the entity code; 15, the check source.
What does the PAN inside tell you?
Its fourth letter names the holder: in AAACZ1234C, C is Company source. How to read a PAN.
How is the check character worked out?
By the Luhn mod 36 method: digits count 0 to 9 and letters 10 to 35, every second value is doubled, and each result’s two base 36 figures are added. It gives the right last character for every GSTIN we tested from published documents. For 27AAACZ1234C1ZR:
| Place | Character | Value | Times | Result | Figures added |
|---|---|---|---|---|---|
| 1 | 2 | 2 | 1 | 2 | 2 |
| 2 | 7 | 7 | 2 | 14 | 14 |
| 3 | A | 10 | 1 | 10 | 10 |
| 4 | A | 10 | 2 | 20 | 20 |
| 5 | A | 10 | 1 | 10 | 10 |
| 6 | C | 12 | 2 | 24 | 24 |
| 7 | Z | 35 | 1 | 35 | 35 |
| 8 | 1 | 1 | 2 | 2 | 2 |
| 9 | 2 | 2 | 1 | 2 | 2 |
| 10 | 3 | 3 | 2 | 6 | 6 |
| 11 | 4 | 4 | 1 | 4 | 4 |
| 12 | C | 12 | 2 | 24 | 24 |
| 13 | 1 | 1 | 1 | 1 | 1 |
| 14 | Z | 35 | 2 | 70 | 35 |
The figures add up to 189. 189 divided by 36 leaves 9; 36 less 9 is 27, which is the character R.