Skip to content

GSTIN validation

A customer's Goods and Services Tax Identification Number (GSTIN) determines tax classification:

  • B2B transactions: Applied when a customer provides a validated 15-character GSTIN.
  • B2C transactions: Applied when no valid GSTIN is present on the customer account.
  • Reporting impact: Determines whether transactions map to B2B or B2C tables in GSTR-1 returns.

Classification summary

  • Valid GSTIN provided: Classified as B2B with input tax credit eligibility.
  • No GSTIN provided: Classified as B2C consumer sales.

Where the GSTIN is captured

Customers enter their tax identifier during account onboarding or profile updates:

  • Location: AcelleMail Contact profile in the Tax ID field.
  • Form guidance: Displays "Enter your 15-character GSTIN to receive GST tax invoices."
  • Format hint: Displays "Format: 22AAAAA0000A1Z5 — state code + PAN + entity + Z + check digit."

The Tax ID field on the AcelleMail contact pageAcelleMail → Contact → Tax ID

Format validation structure

Every GSTIN must conform to standard statutory formatting:

SegmentStructurePurpose
State code2 DigitsIdentifies the registration state or union territory.
PAN10 CharactersEmbedded permanent account number of the entity.
Entity code1 AlphanumericRegistration count for the PAN within the state.
Default charZFixed statutory character.
Check digit1 AlphanumericMod-36 checksum character over prior 14 characters.

The validation engine provides immediate visual feedback:

  • Valid input: Displays confirmation message "GSTIN format is valid."
  • Invalid input: Displays warning message "GSTIN is invalid."

Invoice classification outcomes

A valid GSTIN triggers automated billing adjustments:

  • Invoice classification: Upgrades transaction from B2C to B2B.
  • Tax component split: Applies CGST + SGST (intra-state) or IGST (inter-state) based on merchant and customer state.
  • PDF rendering: Displays customer GSTIN and state code on downloaded tax invoices.

To configure your merchant identification, see Configure GST.

Documentation for the Relyweb app catalogue.