E-Invoice JSON Schema Validation & Technical Rules (2026 Guide)
E-Invoice JSON Schema Validation & Technical Rules (2026 Guide)
Complete technical guide on GST e-invoice JSON schema INV-01, 132 data attributes, mandatory vs optional fields & Tally Prime validation SOP.
Who is this for: GST & Technical Specs
Quick Summary: What Is the GST E-Invoice JSON Schema (INV-01)?
The E-Invoice JSON Schema (Form GST INV-01) is a standard payload containing 132 attributes organized into 12 sections. It mandates fields like Supplier/Buyer GSTIN, Document Type/No, ItemList (HSN, Qty, Price, Tax Rate), and ValDtls (Taxable Value, Tax Breakdown). Any format error results in IRP rejection.
- 132 Technical Attributes: Grouped across 12 distinct JSON objects.
- Mandatory ItemList: Line item array supporting up to 1,000 items per invoice.
- ShipDtls Requirement: ShipDtls.Gstin is mandatory for Bill-To/Ship-To ('URP' if unregistered).
- ValDtls Schema: Strict mathematical validation between ItemList sums and ValDtls.
1. GST E-Invoice JSON Schema Section Structure
The 132 attributes of Form GST INV-01 are partitioned into 12 core objects:
| JSON Object Name | Classification | Key Attributes & Validation Rules |
|---|---|---|
| 1. TranDtls | Mandatory | TaxSch (GST), SupTyp (B2B, SEZWP, EXPWP), IgstOnIntra |
| 2. DocDtls | Mandatory | Typ (INV, CRN, DBN), No (max 16 chars), Dt (DD/MM/YYYY) |
| 3. SellerDtls / BuyerDtls | Mandatory | Gstin (15 chars), LglNm, Pos, Pin (6 digits), Stcd |
| 4. ItemList | Mandatory (Array) | HsnCd (6-digit), Qty, Unit, UnitPrice, AssAmt, GstRt, IgstAmt |
| 5. ValDtls | Mandatory | AssVal, CGSTVal, SGSTVal, IGSTVal, TotInvVal (Math Sum) |
Automate Purchase Bill Verification for Tally Prime
Ensure incoming supplier bills match purchase vouchers 100%.
Data entry mistakes in purchase vouchers (typing errors in invoice numbers or date formats) prevent Tally Prime from auto-matching downloaded GSTR-2B entries.
Founder & Chief Architect of TrulyInvoice