solobillPricing

Back to the blog

Reading a GSTIN: what the first two digits tell you

2026-10-28 · 6 min read

The first two characters of a GSTIN are digits that identify its state code: for example, 27 means Maharashtra, 29 means Karnataka and 07 means Delhi. They give you a quick way to compare the GSTIN with the state supplied by your client. A mismatch is a reason to check the details before invoicing; the code alone does not settle the place of supply or which GST to charge.

What are the parts of a GSTIN?

A GSTIN has 15 characters. It starts with a state code, followed by ten characters for the PAN. Its ending includes an entity code and a checksum character.

For everyday invoicing, start with the part you can compare easily: the state code. If a client gives you a GSTIN beginning with 29 but asks you to record Maharashtra as their state, pause and ask them to confirm the billing details.

Do not try to resolve every unfamiliar character by guessing. Reading the structure helps you spot something that needs checking. It does not confirm that the number belongs to the person or business placing the order.

What does an illustrative GSTIN breakdown look like?

Illustrative example only: 27ABCDE1234F1ZX is a made-up GSTIN-shaped string, not a real or verified GSTIN. Its ending has been invented for this explanation. Do not use it on an invoice or treat it as a number that would pass validation.

Here is the breakdown as a list:

  • State-code block: 27 — 2 characters, using the Maharashtra code.
  • PAN-shaped block: ABCDE1234F — 10 characters.
  • Ending block: 1ZX — 3 characters, occupying the remaining space, which includes the entity code and checksum character.
  • Character-count check: 2 + 10 + 3 = 15.

The arithmetic confirms only the length of this illustrative string. It does not establish that the PAN exists, that the checksum is correct or that a GST registration exists.

That distinction matters when copying details from a message. A number can look plausible while still needing a proper check.

How does the state code help before invoicing?

Use the state code as a quick comparison with the client's supplied billing details. Maharashtra, Karnataka and Delhi are easy examples to recognise:

  • 27 — Maharashtra.
  • 29 — Karnataka.
  • 07 — Delhi.

Keep the opening zero when the code is 07. You are copying an identifier, so copy the whole GSTIN exactly as supplied.

The state code is useful when someone sends a GSTIN separately from their address. It gives you a prompt to compare the details before saving them together.

A delivery address may be different from the billing details. Ask the client to label each address clearly. Do not silently replace the billing state with the delivery state, or assume that either address settles the tax treatment.

Why check a GSTIN before making an invoice?

Checking early gives you a chance to correct the client details before the invoice is issued. It is easier to resolve a doubtful entry while preparing the invoice than after sharing it and having to explain a correction.

There are different questions to answer. Does the number have the expected shape? Does it match the client's confirmed details? What does the official portal show when you check it?

These checks serve different purposes. A shape check cannot answer every question about a registration. Likewise, recognising the state code does not confirm the rest of the GSTIN.

Ask for the client's full billing details together, rather than collecting a name from one message, an address from another and a GSTIN from an old invoice. Then compare what you have before proceeding.

What does a mismatch mean?

A mismatch means the details need clarification. It does not, by itself, tell you which entry is wrong or prove that the client has done anything improper.

The GSTIN may have been copied incorrectly. The address may be an old entry. The client may have supplied delivery details where you expected billing details. These are possibilities to investigate, not conclusions to put on the invoice.

Ask the client to confirm the GSTIN and billing details together. Check the official portal, then compare the result with what the client has supplied.

If the information still does not agree, leave the doubtful details unresolved until you have a clear answer. Avoid changing a state or a character merely to make the entries appear consistent.

Does the state code decide CGST and SGST, or IGST?

The state code is a useful clue, but it is not a complete place-of-supply test. Do not choose the tax treatment solely because the client's GSTIN starts with a particular code.

Keep checking the client's identity separate from deciding the place of supply. The first task helps establish whose details belong on the invoice. The second concerns the treatment of the sale.

If those questions remain unclear, check the current rules on the official portal or ask a CA. Rules can change, and an address or code should not become a shortcut around the relevant place-of-supply rules.

Common mistakes

  • Treating the right character count as proof that a GSTIN is correct.
  • Dropping the opening zero from the Delhi state code.
  • Assuming a delivery address must match the GSTIN's state code.
  • Changing a client's state without asking them to confirm it.
  • Selecting the tax treatment from the opening digits alone.
  • Reusing saved details after the client has supplied different information.

What should you check before saving the invoice?

Use this checklist while the invoice is still being prepared:

  • Copy the full GSTIN without shortening it.
  • Compare its opening state code with the supplied billing state.
  • Ask the client to distinguish billing and delivery details.
  • Check the GSTIN on the official portal.
  • Resolve conflicting details before issuing the invoice.
  • Check place of supply separately before choosing the tax treatment.

SoloBill is in beta and checks that a GSTIN you enter for a client or for your business has the right shape.

FAQ

Does a GSTIN beginning with 27 mean Maharashtra?

Yes. The state code 27 means Maharashtra. Use it to compare the GSTIN with the client's confirmed billing details, while checking the rest of the number separately.

Is a GSTIN correct if it has 15 characters?

Length alone is not enough. The illustrative string above has the required character count, but it is invented and unverified. Check the actual number and the client's details on the official portal.

Should I change the state when the details disagree?

Do not guess which detail is wrong. Ask the client to confirm the GSTIN and billing details together, then investigate the mismatch before issuing the invoice.

Can I choose IGST from the client's state code alone?

No. Check the place-of-supply rules that apply to the sale. If you are unsure how they apply, consult the official portal or a CA before proceeding.

Last reviewed: October 2026. This is general information, not tax advice. Rules can change; check the current notification, the official portal or a CA for your situation.