India's e-invoicing system — launched in October 2020 for large businesses and progressively extended to smaller ones — has fundamentally changed how GST-registered businesses create, authenticate, and share tax invoices.
Under e-invoicing, a Tax Invoice is no longer just a business document exchanged between a seller and buyer. It becomes an authenticated, government-validated digital record where:
- The invoice data is reported to the IRP (Invoice Registration Portal) in a standardized JSON format
- The IRP validates and assigns an IRN (Invoice Reference Number) — a unique 64-character identifier
- The IRP embeds a QR Code containing key invoice data
- The authenticated invoice (with IRN and QR code) is returned to the supplier
- The supplier shares this authenticated invoice with the buyer
- The invoice data is automatically pushed to GSTR-1 — eliminating manual data entry
For the 1.4 crore+ GST-registered businesses in India — understanding what the e-invoice format must include is not optional knowledge. It's the difference between:
- Compliant e-invoicing that protects your ITC, simplifies GSTR-1, and satisfies government requirements
- Non-compliant invoicing that attracts penalties up to ₹10,000 per invoice, rejected ITC claims, and GST scrutiny
But e-invoice format is more complex than standard Tax Invoice format:
Beyond the 16 mandatory fields of a regular Tax Invoice, e-invoicing requires:
- A specific JSON schema for data submission to IRP
- Additional fields unique to e-invoicing (transaction type, supply type, supply category)
- The IRN (64-character hash) that IRP generates
- The QR Code that the buyer uses to verify authenticity
- Integration with e-way bill system for goods above ₹50,000
This complete guide covers every element of the e-invoice format in India — what it must include, how the format differs from a regular Tax Invoice, the complete JSON schema structure, what the IRP returns, how the final PDF should look, common format errors, and how ERP Group automates the entire e-invoice creation process.
Use ERP Group's Free GST Calendar → to track e-invoicing compliance deadlines alongside your regular GST return schedule.
E-Invoice in India — The Foundation Concepts
Understanding What E-Invoicing Actually Is
E-Invoice is Not Just a Digital Invoice
Many businesses misunderstand e-invoicing as simply creating an invoice in digital format (PDF or email). This is incorrect.
E-invoicing in India specifically means:
The standardized electronic reporting of B2B Tax Invoice data to the government's IRP (Invoice Registration Portal) before sharing the invoice with the buyer. The IRP authenticates the invoice and returns an IRN (Invoice Reference Number) and QR Code that must be embedded in the invoice PDF.
What e-invoicing IS:
- A government-mandated reporting system for B2B invoices
- A standardized JSON data submission to IRP
- An authentication process that generates IRN and QR Code
- A mechanism that auto-populates GSTR-1 Table 4
What e-invoicing IS NOT:
- Simply emailing a PDF invoice
- Converting an Excel invoice to PDF
- Using any software to create an invoice digitally
- Filing invoices through a separate government portal
The E-Invoice Ecosystem in India
YOUR BILLING SOFTWARE
↓
Creates invoice data in prescribed JSON schema
↓
Submits JSON to IRP (Invoice Registration Portal)
↓
IRP validates:
- GSTIN of supplier (active?)
- GSTIN of buyer (active?)
- Duplicate IRN check (not filed before?)
- Schema validation (all fields correct?)
↓
IRP generates:
- IRN (64-character unique hash)
- QR Code (contains key invoice data)
- Acknowledgment Number (15 digits)
- Acknowledgment Date and Time
↓
IRP returns authenticated data to supplier
↓
Supplier's software embeds IRN + QR Code in invoice PDF
↓
Authenticated e-invoice PDF shared with buyer
↓
IRP pushes data to GSTR-1 (auto-population)
For complete GST invoice format requirements, read our guide on GST invoice format India complete guide 2026.
For how to create GST invoices online, read our guide on how to create GST invoice online India.
Who Must Comply with E-Invoicing in India 2026
The Current and Evolving E-Invoice Threshold
The Progressive E-Invoice Rollout Timeline
E-invoicing in India has been rolled out in phases based on turnover:
| Implementation Date | Applicable to Turnover |
|---|---|
| October 1, 2020 | Above ₹500 crore |
| January 1, 2021 | Above ₹100 crore |
| April 1, 2021 | Above ₹50 crore |
| April 1, 2022 | Above ₹20 crore |
| October 1, 2022 | Above ₹10 crore |
| August 1, 2023 | Above ₹5 crore |
Current position (2026): E-invoicing is mandatory for all B2B taxable supplies by businesses with aggregate annual turnover above ₹5 crore in any preceding financial year.
The government has indicated intentions to further lower the threshold — businesses with turnover above ₹1 crore should prepare for likely inclusion.
Which Transactions Require E-Invoice
E-invoicing applies to:
- B2B Tax Invoices (supply to registered persons)
- B2G Tax Invoices (supply to government entities/departments)
- Export invoices
- Credit Notes linked to B2B/B2G invoices
- Debit Notes linked to B2B/B2G invoices
E-invoicing does NOT apply to:
- B2C invoices (supply to unregistered consumers)
- Bill of Supply (composition taxpayers, exempt supplies)
- Delivery Challans
- Receipt Vouchers
- Supplies by SEZ units (specifically exempted)
- Financial institutions (banks, NBFCs) — exempted
- Insurance companies — exempted
- GTA (Goods Transport Agency) — specific exemptions
- Passenger transport services
For GST compliance dates including e-invoice deadlines, use ERP Group's GST Calendar →.
The Two-Layer E-Invoice Format
Understanding the Submission Format vs the Customer-Facing Format
Layer 1 — The IRP Submission Format (JSON)
This is the data format you submit to the IRP. It's not visible to the customer — it's the machine-readable structured data that the IRP processes.
Characteristics:
- JSON (JavaScript Object Notation) format
- Follows GSTN's prescribed schema (version 1.1 currently)
- Contains all invoice data in structured fields
- Submitted via API to IRP
- Not printed or emailed to customer
Layer 2 — The Customer-Facing E-Invoice (PDF)
After the IRP authenticates and returns the IRN and QR code, your billing software generates a PDF invoice that:
- Looks like a standard Tax Invoice (same visual format)
- Additionally contains: IRN, Acknowledgment Number, Acknowledgment Date/Time, and QR Code
- This is the document shared with the customer
- This is what's printed and sent with goods
The relationship:
Layer 1 (JSON to IRP) → IRP Authentication → Layer 2 (PDF to customer)
Both layers must be correct — a valid JSON produces a valid IRN, and a valid IRN produces a valid authenticated PDF.
For e-invoice integrated billing software, use ERP Group's GST invoicing system →.
The IRP Submission JSON Format — Complete Schema
The Technical Structure of E-Invoice Data
Top-Level Schema Overview
The e-invoice JSON follows a hierarchical structure prescribed by GSTN:
json
{
"Version": "1.1",
"TranDtls": { ... },
"DocDtls": { ... },
"SellerDtls": { ... },
"BuyerDtls": { ... },
"DispDtls": { ... },
"ShipDtls": { ... },
"ItemList": [ ... ],
"ValDtls": { ... },
"PayDtls": { ... },
"RefDtls": { ... },
"AddlDocDtls": [ ... ],
"ExpDtls": { ... }
}
The 12 main sections:
| Section | Full Name | Mandatory | Purpose |
|---|---|---|---|
| Version | Schema Version | Yes | Schema version (currently "1.1") |
| TranDtls | Transaction Details | Yes | Supply type, tax scheme |
| DocDtls | Document Details | Yes | Invoice number, type, date |
| SellerDtls | Seller Details | Yes | Supplier GSTIN, name, address |
| BuyerDtls | Buyer Details | Yes | Recipient GSTIN, name, address |
| DispDtls | Dispatch Details | No | Dispatch from location |
| ShipDtls | Ship To Details | No | Delivery location |
| ItemList | Item List | Yes | Line items (products/services) |
| ValDtls | Value Details | Yes | Tax totals and invoice value |
| PayDtls | Payment Details | No | Payment mode and terms |
| RefDtls | Reference Details | No | PO number, other references |
| AddlDocDtls | Additional Documents | No | Supporting documents |
| ExpDtls | Export Details | Only for exports | Shipping bill, port code |
For HSN code identification for e-invoice item list, use ERP Group's HSN/SAC Finder →.
Mandatory Fields in E-Invoice JSON — Category by Category
Every Required Field with Specifications
Understanding Field Specifications in E-Invoice
Each field in the e-invoice JSON has specific requirements:
- Data type: String (Str), Number (Num), Boolean (Bool)
- Length: Maximum characters allowed
- Format: Date format, decimal precision, allowed values
- Mandatory: Yes = must always be present; No = optional
A missing or incorrectly formatted mandatory field causes IRP to reject the submission immediately.
Transaction Details (TranDtls) — Layer 1
Supply Type and Tax Classification
The TranDtls JSON Structure
json
"TranDtls": {
"TaxSch": "GST",
"SupTyp": "B2B",
"RegRev": "N",
"EcmGstin": null,
"IgstOnIntra": "N"
}
Field-by-field specification:
TaxSch (Tax Scheme) — MANDATORY:
Value: "GST" (fixed value — only GST scheme in India)
Data Type: String
Max Length: 10
Always: "GST"
SupTyp (Supply Type) — MANDATORY:
Allowed Values:
"B2B" — Regular B2B supply to registered taxpayer
"SEZWP" — Supply to SEZ with payment of IGST
"SEZWOP" — Supply to SEZ without payment of IGST
"EXPWP" — Export with payment of IGST
"EXPWOP" — Export under LUT (without payment of IGST)
"DEXP" — Deemed Export
RegRev (Reverse Charge) — MANDATORY:
"Y" — Tax payable on reverse charge
"N" — Normal forward charge (most common)
Data Type: String ("Y"/"N")
EcmGstin (E-Commerce Operator GSTIN) — Conditional:
Fill only if supply is through an e-commerce operator
If applicable: Enter e-commerce operator's GSTIN (15 chars)
If not applicable: null
IgstOnIntra (IGST on Intra-State) — Conditional:
"Y" — IGST is being charged on intra-state supply (special cases)
"N" — Normal (CGST+SGST for intra-state, IGST for inter-state)
Usually: "N"
For trading businesses and GST compliance, read our guide on GST compliance calendar for traders India 2026.
Document Details (DocDtls) — Layer 2
Invoice Identification Fields
The DocDtls JSON Structure
json
"DocDtls": {
"Typ": "INV",
"No": "INV/2026-27/0125",
"Dt": "15/04/2026"
}
Field-by-field specification:
Typ (Document Type) — MANDATORY:
Allowed Values:
"INV" — Tax Invoice
"CRN" — Credit Note
"DBN" — Debit Note
Data Type: String
Max Length: 3
No (Document Number/Invoice Number) — MANDATORY:
Your invoice serial number
Data Type: String
Max Length: 16 characters
Format: Alphanumeric + allowed special chars (/ - _)
Must be: Unique within financial year for this GSTIN
Example: "INV/2026-27/0125"
Dt (Document Date) — MANDATORY:
Invoice date
Data Type: String
Format: DD/MM/YYYY (with forward slash separator)
IMPORTANT: E-invoice uses DD/MM/YYYY — regular GSTR-1 JSON uses DD-MM-YYYY
Example: "15/04/2026"
Critical format note: The date format in e-invoice JSON (DD/MM/YYYY with forward slashes) differs from the GSTR-1 JSON date format (DD-MM-YYYY with hyphens). Mixing these up is a common error.
For GSTR-1 JSON format guide, read our guide on GSTR-1 JSON file generation India step by step.
Seller Details (SellerDtls) — Layer 3
Supplier Information in E-Invoice
The SellerDtls JSON Structure
json
"SellerDtls": {
"Gstin": "07AABCX1234D1Z5",
"LglNm": "XYZ Trading Company Private Limited",
"TrdNm": "XYZ Traders",
"Addr1": "Shop 15, Main Market",
"Addr2": "Rajouri Garden",
"Loc": "New Delhi",
"Pin": 110027,
"Stcd": "07",
"Ph": "9876543210",
"Em": "[email protected]"
}
Field-by-field specification:
Gstin (Supplier GSTIN) — MANDATORY:
Your GST Identification Number
Data Type: String
Length: Exactly 15 characters
Validation: IRP validates this against GSTN database
Must be: Active status
Example: "07AABCX1234D1Z5"
LglNm (Legal Name) — MANDATORY:
Your business's legal name as per GST registration
Data Type: String
Max Length: 100 characters
Must match: Name in GSTN database
Example: "XYZ Trading Company Private Limited"
TrdNm (Trade Name) — Optional:
Your trade/business name if different from legal name
Data Type: String
Max Length: 100 characters
If same as legal name: Can be omitted or same value
Example: "XYZ Traders"
Addr1 (Address Line 1) — MANDATORY:
First line of registered business address
Data Type: String
Min Length: 1 character
Max Length: 100 characters
Example: "Shop 15, Main Market"
Addr2 (Address Line 2) — Optional:
Second line of address
Data Type: String
Max Length: 100 characters
Example: "Rajouri Garden"
Loc (Location/City) — MANDATORY:
City or locality
Data Type: String
Max Length: 50 characters
Example: "New Delhi"
Pin (PIN Code) — MANDATORY:
6-digit postal PIN code
Data Type: Number
Must be: Valid 6-digit Indian PIN
Example: 110027
Stcd (State Code) — MANDATORY:
2-digit GST state code (matches first 2 digits of GSTIN)
Data Type: String
Length: 2 characters
Must match: State code in supplier GSTIN
Example: "07" (Delhi)
Ph (Phone) — Optional:
Contact phone number
Data Type: String
Max Length: 12 characters
Example: "9876543210"
Em (Email) — Optional:
Contact email address
Data Type: String
Max Length: 100 characters
Example: "[email protected]"
For complete accounting with seller master management, use ERP Group's accounting software →.
Buyer Details (BuyerDtls) — Layer 4
Recipient Information in E-Invoice
The BuyerDtls JSON Structure
json
"BuyerDtls": {
"Gstin": "29AABCA5678E1Z3",
"LglNm": "ABC Industries Limited",
"TrdNm": "ABC Industries",
"Pos": "29",
"Addr1": "Plot 45, Industrial Area, Phase-II",
"Addr2": "Whitefield",
"Loc": "Bengaluru",
"Pin": 560001,
"Stcd": "29",
"Ph": "8765432109",
"Em": "[email protected]"
}
Key differences from SellerDtls:
Gstin (Buyer GSTIN) — MANDATORY:
Buyer's 15-character GSTIN
IRP validates this — must be Active
For exports to foreign buyers: Use "URP" (Unregistered Person)
Pos (Place of Supply State Code) — MANDATORY:
2-digit state code of the place of supply
This determines if supply is intra-state or inter-state:
- Pos = Seller's state → Intra-state (CGST+SGST)
- Pos ≠ Seller's state → Inter-state (IGST)
Example: "29" (Karnataka) when seller is in Delhi (07)
For B2G (Government) supplies:
When the buyer is a government department/entity without a GSTIN:
"Gstin": "URP" (Unregistered Person placeholder)
All other buyer details still required
For GSTIN verification of buyers before e-invoice, read our guide on GSTIN search and verification guide India 2026.
For CRM with customer GSTIN management, use ERP Group's CRM software →.
Dispatch Details (DispDtls) — Layer 5
The Location from Where Goods Are Sent
The DispDtls JSON Structure (Optional)
json
"DispDtls": {
"Nm": "XYZ Traders Warehouse",
"Addr1": "Plot 23, Industrial Area",
"Addr2": "Phase-1",
"Loc": "New Delhi",
"Pin": 110064,
"Stcd": "07"
}
When to include DispDtls:
Required when goods are dispatched from a location different from the seller's registered address.
Common scenarios:
- Goods dispatched from a warehouse (different from office)
- Goods dispatched from a factory (registered as separate GSTIN or different address)
- Drop shipment scenarios (dispatching from a third-party location)
Fields in DispDtls:
- Nm (Name): Name of the dispatch location/facility
- Addr1: Address line 1
- Addr2: Address line 2 (optional)
- Loc: City/location
- Pin: PIN code
- Stcd: State code
For warehouse management with dispatch tracking, use ERP Group's warehouse management system →.
Ship To Details (ShipDtls) — Layer 6
The Delivery Destination
The ShipDtls JSON Structure (Conditional)
json
"ShipDtls": {
"Gstin": "29AABCA5678E1Z3",
"LglNm": "ABC Industries Limited",
"TrdNm": "ABC Warehouse",
"Addr1": "Plot 78, Industrial Area, Phase-III",
"Addr2": "Hoodi",
"Loc": "Bengaluru",
"Pin": 560048,
"Stcd": "29"
}
When to include ShipDtls:
Required when the delivery (ship-to) address is different from the buyer's billing address.
Important for Place of Supply:
When ShipDtls is present, the state code in ShipDtls is what determines the Place of Supply (not the BuyerDtls state). This is critical for correct IGST vs CGST+SGST determination.
Example:
Buyer GSTIN state: 29 (Karnataka) ← Billing address
ShipDtls state: 27 (Maharashtra) ← Delivery address
Place of supply: Maharashtra (27) — from ShipDtls
Tax type: IGST (Delhi seller to Maharashtra supply)
For income tax on business income from multi-state operations, use ERP Group's Income Tax Calculator →.
Item Details (ItemList) — Layer 7
The Product and Service Line Items
The ItemList JSON Structure
The ItemList is an array — each element represents one line item on the invoice:
json
"ItemList": [
{
"SlNo": "1",
"PrdDesc": "Seamless Steel Pipes, 2 inch diameter",
"IsServc": "N",
"HsnCd": "7304",
"Barcde": null,
"Qty": 500.00,
"FreeQty": 0,
"Unit": "MTR",
"UnitPrice": 1000.00,
"TotAmt": 500000.00,
"Discount": 0,
"PreTaxVal": 500000.00,
"AssAmt": 500000.00,
"GstRt": 18.000,
"IgstAmt": 90000.00,
"CgstAmt": 0,
"SgstAmt": 0,
"CesRt": 0,
"CesAmt": 0,
"CesNonAdvlAmt": 0,
"StateCesRt": 0,
"StateCesAmt": 0,
"StateCesNonAdvlAmt": 0,
"OthChrg": 0,
"TotItemVal": 590000.00,
"OrdLineRef": "1",
"OrgCntry": "IN",
"PrdSlNo": null,
"BchDtls": null,
"AttribDtls": null
}
]
Critical ItemList fields — complete specification:
SlNo (Serial Number) — MANDATORY:
Line item serial number (1, 2, 3...)
Data Type: String
Example: "1"
PrdDesc (Product Description) — MANDATORY:
Description of goods or service
Data Type: String
Min Length: 3 characters
Max Length: 300 characters
Example: "Seamless Steel Pipes, 2 inch diameter, ASTM A312"
IsServc (Is Service) — MANDATORY:
"Y" — This line item is a service
"N" — This line item is goods
Determines: Whether Qty and Unit are required
HsnCd (HSN Code) — MANDATORY:
HSN code for goods, SAC code for services
Data Type: String
Min Length: 4 digits
Max Length: 8 digits
No dots, slashes, or spaces — pure numeric code
Example: "7304" or "730411" or "73041100"
Qty (Quantity) — MANDATORY for goods (IsServc = N):
Quantity of goods supplied
Data Type: Decimal (2 decimal places)
For services (IsServc = Y): 0 or not required
Example: 500.00
Unit (Unit of Measurement) — MANDATORY for goods:
Standard GST Unit Quantity Code (UQC)
Common codes:
"MTR" = Metres
"KGS" = Kilograms
"NOS" = Numbers/Pieces
"LTR" = Litres
"TON" = Metric Tonnes
"CBM" = Cubic Metres
"SQM" = Square Metres
"OTH" = Others
UnitPrice (Unit Price) — MANDATORY:
Price per unit before discount and tax
Data Type: Decimal (3 decimal places)
Example: 1000.00
TotAmt (Total Amount) — MANDATORY:
Qty × UnitPrice (before discount)
Data Type: Decimal (2 decimal places)
Example: 500000.00 (500 MTR × ₹1,000)
Discount (Discount Amount) — MANDATORY (can be 0):
Pre-supply trade discount amount
Data Type: Decimal (2 decimal places)
If no discount: 0
AssAmt (Assessable/Taxable Amount) — MANDATORY:
TotAmt − Discount = Taxable Value
Data Type: Decimal (2 decimal places)
Example: 500000.00 (no discount in this case)
GstRt (GST Rate) — MANDATORY:
Applicable GST rate (percent)
Data Type: Decimal (3 decimal places)
Valid values: 0, 0.1, 0.25, 1, 1.5, 3, 5, 6, 7.5, 12, 18, 28
Example: 18.000
IgstAmt, CgstAmt, SgstAmt — MANDATORY (mutually exclusive):
For inter-state supply:
IgstAmt: Taxable value × GST rate / 100
CgstAmt: 0
SgstAmt: 0
For intra-state supply:
IgstAmt: 0
CgstAmt: Taxable value × (GST rate/2) / 100
SgstAmt: Taxable value × (GST rate/2) / 100
All three fields present but only applicable ones have non-zero values
Example (inter-state 18%):
IgstAmt: 90000.00
CgstAmt: 0
SgstAmt: 0
TotItemVal (Total Item Value) — MANDATORY:
AssAmt + IgstAmt + CgstAmt + SgstAmt + Cess amounts + OthChrg
Data Type: Decimal (2 decimal places)
Example: 590000.00 (₹5,00,000 + ₹90,000 IGST)
For HSN code lookup for e-invoice item list, use ERP Group's HSN/SAC Finder →.
For TDS computation on goods transactions, use ERP Group's TDS Calculator →.
Value Details (ValDtls) — Layer 8
The Invoice-Level Financial Summary
The ValDtls JSON Structure
json
"ValDtls": {
"AssVal": 500000.00,
"CgstVal": 0,
"SgstVal": 0,
"IgstVal": 90000.00,
"CesVal": 0,
"StCesVal": 0,
"Discount": 0,
"OthChrg": 0,
"RndOffAmt": 0,
"TotInvVal": 590000.00,
"TotInvValFc": 0
}
Complete ValDtls field specification:
AssVal (Total Assessable/Taxable Value) — MANDATORY:
Sum of all AssAmt from all items in ItemList
Must equal: Sum of item-level taxable values
Example: 500000.00
CgstVal, SgstVal, IgstVal — MANDATORY:
Aggregate tax amounts:
For inter-state: IgstVal > 0, CgstVal = 0, SgstVal = 0
For intra-state: CgstVal > 0, SgstVal > 0, IgstVal = 0
All three fields must be present (non-applicable ones = 0)
Example (inter-state): IgstVal: 90000.00, CgstVal: 0, SgstVal: 0
RndOffAmt (Round-Off Amount) — MANDATORY (can be 0):
Rounding adjustment to total invoice value
Allowed range: −99.99 to +99.99
Can be positive (rounded up) or negative (rounded down)
Example: 0 (if no rounding needed)
TotInvVal (Total Invoice Value) — MANDATORY:
AssVal + CgstVal + SgstVal + IgstVal + CesVal + OthChrg + RndOffAmt
Data Type: Decimal (2 decimal places)
Must equal: Sum of all TotItemVal from ItemList
Example: 590000.00
TotInvValFc (Total Value in Foreign Currency) — Conditional:
Only for exports
Expressed in foreign currency
Example: 7108.43 (USD equivalent of ₹5,90,000 at ₹83/USD)
If not export: 0
For complete accounting software that handles valuation, use ERP Group's accounting software →.
Payment Details (PayDtls) — Optional Layer
Payment Information in E-Invoice
The PayDtls JSON Structure
json
"PayDtls": {
"Nm": "XYZ Trading Company Pvt Ltd",
"AccDet": "SBIN0001234",
"Mode": "RTGS",
"FinInsBr": "SBI Rajouri Garden",
"PayTerm": "Net 30",
"PayInstr": "Please transfer to above account",
"CrTrn": null,
"DirDr": null,
"CrDay": 30,
"PaidAmt": 0,
"PaymtDue": 590000.00
}
PayDtls is optional but including payment information in e-invoice helps buyers:
- Know exactly where to transfer funds
- Understand payment terms
- Track outstanding amount
Key PayDtls fields:
Nm: Account holder nameAccDet: Bank account or IFSC detailsMode: Payment mode (CASH, CHEQUE, CREDIT, DD, NEFT, RTGS, UPI, etc.)CrDay: Credit period in daysPaidAmt: Amount already paid (for partial advance scenarios)PaymtDue: Net amount payable
For payroll management for billing operations teams, use ERP Group's HR & Payroll software → and Salary Calculator →.
Reference Details (RefDtls) — Optional Layer
Business Reference Information
The RefDtls JSON Structure
json
"RefDtls": {
"InvRm": "Against PO/2026/089 dated 05-04-2026",
"DocPerdDtls": {
"InvStDt": "01/04/2026",
"InvEndDt": "30/04/2026"
},
"PrecDocDtls": [
{
"InvNo": "PI/2026-27/045",
"InvDt": "05/04/2026",
"OthRefNo": "PI001"
}
],
"ContrDtls": [
{
"RecAdvRefr": "ADV/001",
"RecAdvDt": "01/04/2026",
"Tendrefr": "TENDER/2026/001",
"ContrRefr": "CONTRACT/2026/001",
"ExtRefr": "EXT/001",
"ProjRefr": "PROJ/2026",
"PORefr": "PO/2026/089",
"PORefDt": "05/04/2026"
}
]
}
Key RefDtls fields:
InvRm: Invoice remarks (free text — against which PO, contract, etc.)PrecDocDtls: Preceding document reference (e.g., the Proforma Invoice number that led to this invoice)ContrDtls: Contract and purchase order references
Why RefDtls matters:
For B2B businesses with formal procurement processes — including PO references in e-invoice helps buyers match invoices to their purchase orders, reducing payment delays.
For proforma invoice vs tax invoice management, read our guide on proforma invoice vs tax invoice India.
What IRP Returns — The IRN and Additional Data
The Authentication Data That Makes an E-Invoice Valid
The Complete IRP Response
After your billing software submits the JSON to IRP and the IRP validates it successfully — the IRP returns:
json
{
"AckNo": 232310001234567,
"AckDt": "2026-04-15 10:30:25",
"Irn": "a5c12a3a4a2c6d7e8f9b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f",
"SignedInvoice": "eyJhbGciOiJSUzI1NiIsImtpZCI6...",
"SignedQRCode": "eyJhbGciOiJSUzI1NiIsImtpZCI6...",
"Status": "1",
"EwbNo": null,
"EwbDt": null,
"EwbValidTill": null
}
IRP Response Fields Explained:
AckNo (Acknowledgment Number):
15-digit unique acknowledgment number
Assigned by IRP upon successful registration
This appears on the customer-facing invoice PDF
Example: 232310001234567
AckDt (Acknowledgment Date and Time):
Date and time when IRP registered the e-invoice
Format: YYYY-MM-DD HH:MM:SS
Example: "2026-04-15 10:30:25"
This appears on the customer-facing invoice PDF
Irn (Invoice Reference Number) — The IRN:
64-character unique alphanumeric hash
Generated by IRP using: GSTIN + Invoice No + FY + Document Type
This is THE most important e-invoice identifier
Example: "a5c12a3a4a2c6d7e8f9b1c2d3e4f5a6b..."
This appears on the customer-facing invoice PDF
SignedInvoice:
Digitally signed complete invoice data (JSON Web Signature format)
Contains the complete invoice payload + IRP signature
Verifiable by buyer to confirm authenticity
SignedQRCode:
The data that generates the QR Code on the invoice PDF
Contains compressed key invoice data
When decoded and scanned — shows invoice details for verification
EwbNo (E-Way Bill Number):
If e-way bill was generated simultaneously with e-invoice:
The e-way bill number appears here
If no e-way bill was generated: null
What Happens if IRP Rejects the Submission
If IRP finds errors in your submitted JSON — it returns an error response:
json
{
"Status": "0",
"ErrorDetails": [
{
"ErrorCode": "2150",
"ErrorMessage": "Duplicate IRN",
"AdditionalInfo": "IRN already exists for this invoice number"
}
]
}
Common IRP rejection reasons (addressed in the Common Errors section below).
For ROI of e-invoice integrated software, use ERP Group's ROI Calculator →.
The QR Code — What It Contains and How to Verify
The Machine-Readable Authentication Element
What Data the E-Invoice QR Code Contains
The QR code on an e-invoice is not just a logo or decorative element — it is a cryptographically signed, machine-readable container of key invoice data that allows buyers and tax authorities to verify invoice authenticity without accessing any system.
Data embedded in the QR Code:
- Supplier GSTIN
- Buyer GSTIN
- Invoice Number
- Invoice Date
- Invoice Value
- Number of line items
- HSN code of the main item (highest value)
- IRN (64-character hash)
- IRP digital signature
How the Buyer Verifies the QR Code
Step 1 — Download the GSTN QR Code Verifier App:
Available on Google Play Store and App Store (official GSTN app).
Step 2 — Scan the QR Code:
Open the app → Scan QR code on the received e-invoice.
Step 3 — View Verification Results:
App shows: Supplier GSTIN, Buyer GSTIN, IRN, Invoice Date, Invoice Value.
Step 4 — Confirm Match:
Verify that the QR code data matches the printed invoice details. Any mismatch indicates a tampered or fraudulent invoice.
Why QR code verification matters for buyers:
If someone sends a fake invoice that looks like an e-invoice but the QR code doesn't verify — it's fraudulent. Buyers should always verify QR codes on high-value invoices.
For protecting against fake GSTINs and fraudulent invoices, read our guide on fake GSTIN detection India how to protect your business.
The Final E-Invoice PDF — What It Must Show
The Customer-Facing Document Layout
What the Authenticated E-Invoice PDF Must Contain
The e-invoice PDF that you share with the customer must include everything in a regular Tax Invoice PLUS the e-invoice authentication elements:
╔══════════════════════════════════════════════════════════════╗
║ TAX INVOICE (E-INVOICE) ║
╠══════════════════════════════════════════════════════════════╣
║ ┌─────────────┐ XYZ TRADING COMPANY PRIVATE LIMITED ║
║ │ [QR CODE] │ Shop 15, Main Market, Rajouri Garden ║
║ │ │ New Delhi - 110027 ║
║ │ │ GSTIN: 07AABCX1234D1Z5 ║
║ └─────────────┘ ║
╠══════════════════════════════════════════════════════════════╣
║ IRN: a5c12a3a4a2c6d7e8f9b1c2d3e4f5a6b7c8d9e0f1a2b3... ║
║ Ack No: 232310001234567 ║
║ Ack Date: 15-04-2026 10:30:25 ║
╠════════════════════════╦═════════════════════════════════════╣
║ Invoice No:INV/26-27/125║ Invoice Date: 15-04-2026 ║
╠════════════════════════╬═════════════════════════════════════╣
║ BILL TO: ║ SHIP TO: ║
║ ABC Industries Ltd ║ ABC Industries Warehouse ║
║ 45, Industrial Area ║ 78, Industrial Area, Phase-III ║
║ Bengaluru - 560001 ║ Bengaluru - 560070 ║
║ GSTIN:29AABCA5678E1Z3 ║ State: Karnataka (29) ║
╠══════╦═════════════════╦══════╦═════╦═════╦═══════╦═════════╣
║ S.No ║ Description ║ HSN ║ Qty ║Unit ║ Rate ║ Amount ║
╠══════╬═════════════════╬══════╬═════╬═════╬═══════╬═════════╣
║ 1 ║ Steel Pipes ║ 7304 ║ 500 ║ MTR ║ 1,000 ║5,00,000 ║
╠══════╩═════════════════╩══════╩═════╩═════╩═══════╩═════════╣
║ Taxable Value: ₹5,00,000 ║
║ Place of Supply: Karnataka (29) IGST @18%: ₹90,000 ║
║ TOTAL: ₹5,90,000 ║
║ Amount in Words: Five Lakh Ninety Thousand Rupees Only ║
╠══════════════════════════════════════════════════════════════╣
║ Tax payable on Reverse Charge: No ║
║ This is a Digitally Authenticated Invoice. ║
║ Verify authenticity using GSTN QR Code Verifier App. ║
╚══════════════════════════════════════════════════════════════╝
The four e-invoice-specific elements that distinguish it from a regular Tax Invoice:
Element 1 — QR Code:
- Prominently displayed (typically top-left or right corner)
- Large enough to be scannable from a printed or digital document
- Contains all authentication data
Element 2 — IRN (Invoice Reference Number):
- 64-character unique hash
- Usually shown below or near the QR code
- Can be abbreviated in display (showing first 16-20 chars with "...")
Element 3 — Acknowledgment Number:
- 15-digit number from IRP
- Confirms IRP has registered this specific invoice
Element 4 — Acknowledgment Date and Time:
- When IRP authenticated the invoice
- Must be before the invoice date is considered valid for ITC
For complete GST invoicing with e-invoice capability, use ERP Group's GST invoicing system →.
E-Invoice for Different Supply Types
Format Variations by Transaction Type
E-Invoice for Export Supplies (EXPWOP/EXPWP)
For export e-invoices — an additional section ExpDtls must be included:
json
"ExpDtls": {
"ShipBNo": "SB/2026/1234",
"ShipBDt": "20/04/2026",
"Port": "INMAA1",
"RefClm": "N",
"ForCur": "USD",
"CntCode": "US",
"ExpDuty": null
}
Export-specific fields:
ShipBNo: Shipping Bill Number (from customs)ShipBDt: Shipping Bill DatePort: Port code (from customs port list)ForCur: Foreign currency code (USD, EUR, GBP, etc.)CntCode: Destination country code
For EXPWOP (Export without payment of IGST — under LUT):
SupTyp: "EXPWOP"- All tax amounts (IGST, CGST, SGST): 0
ExpDtlssection mandatory
For EXPWP (Export with payment of IGST):
SupTyp: "EXPWP"- IGST amount populated at applicable rate
- IGST refund claim follows after export confirmation
E-Invoice for Credit Notes (CRN)
When issuing a Credit Note for a previously e-invoiced B2B invoice:
json
"DocDtls": {
"Typ": "CRN",
"No": "CN/2026-27/015",
"Dt": "30/04/2026"
},
"RefDtls": {
"PrecDocDtls": [
{
"InvNo": "INV/2026-27/0125",
"InvDt": "15/04/2026"
}
]
}
Credit Note e-invoice requirements:
Typmust be "CRN" (not "INV")- Must reference the original invoice in
PrecDocDtls - Item values should be negative (reduction in supply value)
- Tax amounts negative (reflecting ITC reversal for buyer)
E-Invoice for SEZ Supplies (SEZWP/SEZWOP)
For supplies to Special Economic Zone units:
json
"TranDtls": {
"SupTyp": "SEZWP", // or "SEZWOP"
"TaxSch": "GST"
}
SEZWP: Supply to SEZ with IGST paymentSEZWOP: Supply to SEZ without IGST (under LUT)
For GST compliance on SEZ supplies, read our guide on GST compliance calendar for traders India 2026.
E-Invoice Cancellation Format
How to Cancel an E-Invoice After IRN Generation
The E-Invoice Cancellation Process
Once an IRN is generated — the invoice cannot simply be deleted. It must be formally cancelled through the IRP.
Cancellation window: Within 24 hours of IRN generation. After 24 hours, the e-invoice cannot be cancelled through the IRP system (though GSTR-1 amendment can be used for corrections).
Cancellation API request format:
json
{
"Irn": "a5c12a3a4a2c6d7e8f9b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f",
"CnlRsn": "1",
"CnlRem": "Order cancelled by buyer before delivery"
}
CnlRsn (Cancellation Reason Codes):
"1" — Duplicate
"2" — Data entry mistake
"3" — Order cancelled
"4" — Others
After cancellation:
- IRP marks the IRN as cancelled
- The cancelled e-invoice cannot be re-used for ITC claims
- A new e-invoice with a new invoice number must be generated if supply eventually occurs
- The old invoice number should be retired (not reused in the series)
Important limitation: If an e-way bill has been generated against the IRN — the e-invoice cannot be cancelled unless the e-way bill is first cancelled.
For CA advisory on e-invoice cancellation and ITC implications, use ERP Group's CA Partner Program →.
Common E-Invoice Format Errors and Solutions
The Most Frequent IRP Rejection Reasons
Error Category 1 — GSTIN Validation Failures
Error Code 2002: "Supplier GSTIN is cancelled or invalid"
Cause: Your GSTIN status changed after IRP submission
Solution: Verify your own GSTIN on GST portal; ensure it's Active
Error Code 2003: "Recipient GSTIN is cancelled or invalid"
Cause: Buyer's GSTIN is cancelled or suspended
Solution: Verify buyer GSTIN before creating invoice;
for cancelled GSTIN buyer — cannot issue B2B e-invoice;
issue B2C invoice instead (if unregistered) or wait for buyer to re-register
Error Code 2009: "Buyer GSTIN same as Supplier GSTIN"
Cause: Trying to issue invoice to yourself (internal stock transfer)
Solution: For inter-branch transfers with same GSTIN — delivery challan, not e-invoice
For GSTIN verification before e-invoice generation, read our guide on GSTIN verification steps India why it matters.
Error Category 2 — Duplicate IRN
Error Code 2150: "Duplicate IRN — Invoice already exists"
Cause: Same invoice number was already submitted and IRN generated
This can happen if:
- Software submitted twice (timeout and retry)
- Invoice number was reused
- Testing with same invoice number as production
Solution:
- Check if IRN already exists for this invoice number on the IRP portal
- If yes and invoice is correct: Use the existing IRN (don't create a new one)
- If incorrect: Cancel within 24 hours and resubmit with new invoice number
Error Category 3 — Schema Validation Errors
Error Code 2148: "Invalid field value — GstRt"
Cause: GST rate value not in allowed list
Invalid: 18.5, 20, 25
Valid: 0, 0.1, 0.25, 1, 1.5, 3, 5, 6, 7.5, 12, 18, 28
Solution: Check product's actual GST rate using HSN/SAC Finder
Error Code 2141: "Invalid date format in DocDtls.Dt"
Cause: Invoice date not in DD/MM/YYYY format
Wrong: "15-04-2026" (DD-MM-YYYY — correct for GSTR-1 but wrong for e-invoice)
Wrong: "2026-04-15" (ISO format)
Correct: "15/04/2026" (DD/MM/YYYY with forward slashes)
Solution: Always use DD/MM/YYYY for e-invoice date fields
Error Code 2230: "Total item value mismatch with ValDtls"
Cause: Sum of TotItemVal from ItemList ≠ TotInvVal in ValDtls
Often due to rounding differences
Solution: Ensure ValDtls totals are exact sum of ItemList values;
Use RndOffAmt for small rounding adjustments (max ±99.99)
Error Category 4 — Future-Dated Invoice
Error Code 2145: "Invoice date cannot be future date"
Cause: DocDtls.Dt is a future date
E-invoicing system doesn't allow pre-dating invoices
Solution: Set invoice date to today or past date only
Note: IRP also checks if invoice date is too far in past
(beyond the financial year typically)
For GST return filing deadlines alongside e-invoice compliance, use ERP Group's GST Calendar →.
E-Invoice and GSTR-1 Auto-Population
How E-Invoice Eliminates GSTR-1 Table 4 Entry
The Auto-Population Mechanism
One of the most significant benefits of e-invoicing — often underappreciated — is the automatic GSTR-1 population:
E-Invoice JSON submitted to IRP
↓
IRP generates IRN (validates invoice)
↓
IRP pushes invoice data to GSTR-1 system
↓
Invoice appears in your GSTR-1 Table 4 (B2B) automatically
↓
When filing GSTR-1:
- Table 4 entries already populated from e-invoices
- No manual B2B invoice entry needed
- Review, add non-e-invoice entries (B2C, credit notes)
- File
What auto-populates:
- GSTR-1 Table 4A (B2B Regular Supplies)
- GSTR-1 Table 6A (Export Supplies)
What still needs manual attention even with e-invoicing:
- GSTR-1 Table 7 (B2C Small Supplies — e-invoicing doesn't cover B2C)
- GSTR-1 Table 12 (HSN Summary — auto-calculated but needs review)
- GSTR-1 Table 13 (Document Summary — needs manual verification)
The GSTR-2B Connection for Buyers
From the buyer's perspective — e-invoiced purchases appear in GSTR-2B even more reliably:
- E-invoice IRN is verified → IRP pushes to GSTR-1 → Appears in GSTR-2B
- GSTR-2B entry from e-invoice is considered the most reliable ITC source
- Buyer can verify: QR code scan + GSTR-2B presence = fully verified ITC
For GSTR-1 auto-generation alongside e-invoicing, read our guide on auto GSTR-1 generation software India 2026.
For GSTR-1 and GSTR-2B reconciliation, use ERP Group's accounting software →.
E-Invoice and E-Way Bill Integration
Generating Both E-Invoice and E-Way Bill Together
When E-Way Bill Must Accompany E-Invoice
For goods movement above ₹50,000 in value — an e-way bill is mandatory alongside the e-invoice. The integration allows both to be generated in a single API call.
Combined E-Invoice + E-Way Bill JSON:
The standard e-invoice JSON has an additional EwbDtls section when e-way bill is to be generated simultaneously:
json
"EwbDtls": {
"TransId": "27AABCM5678E1Z3",
"TransName": "Fast Logistics Pvt Ltd",
"Distance": 1500,
"TransDocNo": "LR/2026/001",
"TransDocDt": "15/04/2026",
"VehNo": "DL9AB1234",
"VehType": "R",
"TransMode": "1"
}
EwbDtls field meanings:
TransId: Transporter's GSTIN (if registered)TransName: Transporter's business nameDistance: Approximate distance in km from dispatch to deliveryTransDocNo: Lorry Receipt (LR) or transport document numberVehNo: Vehicle number (for road transport)VehType: "R" = Regular, "O" = Over-Dimensional CargoTransMode: "1" = Road, "2" = Rail, "3" = Air, "4" = Ship
IRP Response with E-Way Bill:
When e-way bill is generated with e-invoice, the IRP response includes:
json
{
"AckNo": 232310001234567,
"Irn": "a5c12a3...",
"EwbNo": "231234567890",
"EwbDt": "2026-04-15 10:30:25",
"EwbValidTill": "2026-04-17 23:59:00"
}
E-Way Bill validity from e-invoice:
- Goods up to 100 km: 1 day validity
- Beyond 100 km: 1 day per 200 km (approximately)
- Can be extended through e-way bill portal if journey takes longer
For warehouse management with e-way bill integration, use ERP Group's warehouse management system →.
For more on E-Way Bill API integration, read our guide on GST compliance calendar for traders India 2026.
How ERP Group Generates E-Invoices Automatically
Complete E-Invoice Automation for Indian Businesses
ERP Group — India's AI-Powered GST Billing & Cloud ERP Platform — provides complete e-invoice automation:
The ERP Group E-Invoice Generation Flow
Step 1 — Invoice Creation in ERP Group:
- Select customer (GSTIN auto-loaded and validated)
- Add products (HSN codes auto-loaded from product master)
- System determines supply type (B2B/Export/SEZ) from customer type
- Tax type auto-determined (CGST+SGST or IGST)
Step 2 — E-Invoice Schema Generation:
- All 12 JSON sections populated automatically
- TranDtls: Supply type, scheme from customer settings
- DocDtls: Invoice number + date in DD/MM/YYYY
- SellerDtls: From your business profile
- BuyerDtls: From customer master
- ItemList: From selected products (HSN, quantity, rate, tax)
- ValDtls: Computed from ItemList totals
- EwbDtls: If e-way bill threshold crossed, transport details prompted
Step 3 — IRP API Submission:
- System calls IRP API with the JSON payload
- If IRP approves: IRN + QR Code received
- If IRP rejects: Error shown with specific error code and resolution guide
Step 4 — Authenticated Invoice PDF:
- IRN embedded prominently
- QR code embedded (scannable from PDF)
- Acknowledgment number and date/time shown
- PDF generated for customer sharing
Step 5 — GSTR-1 Auto-Population Tracking:
- System marks the invoice as "e-invoiced"
- Tracks IRP push to GSTR-1
- Excludes from manual GSTR-1 entry (already auto-populated)
Complete E-Invoice Compliance Platform
| E-Invoice Need | ERP Group Solution |
|---|---|
| E-Invoice JSON generation | GST Invoicing System |
| IRP API integration | GST Invoicing System |
| IRN and QR code embedding | GST Invoicing System |
| HSN/SAC code management | HSN/SAC Finder |
| Customer GSTIN validation | CRM Software |
| GSTR-1 from e-invoices | Accounting Software |
| POS non-e-invoice retail | POS Software |
| Warehouse e-way bill | Warehouse Management |
| GST compliance deadlines | GST Calendar |
| TDS on e-invoiced supplies | TDS Calculator |
| Income tax computation | Income Tax Calculator |
| HR and payroll | HR & Payroll Software |
| ROI of e-invoice software | ROI Calculator |
| CA advisory on e-invoice | CA Partner Program |
Conclusion — E-Invoice Format Compliance Protects Your Business and Your Customers
Understanding and correctly implementing the e-invoice format in India 2026 is not just a technical compliance exercise — it is the foundation of your business's GST compliance for every B2B transaction.
The Complete E-Invoice Format Checklist:
In the IRP Submission JSON:
- ✅ TranDtls: Supply type correctly identified (B2B/SEZWP/EXPWOP etc.)
- ✅ DocDtls: Invoice type (INV/CRN/DBN), number, date (DD/MM/YYYY)
- ✅ SellerDtls: Your GSTIN (active), legal name, address, state code
- ✅ BuyerDtls: Buyer GSTIN (validated active), name, address, Place of Supply
- ✅ ItemList: HSN code, description, quantity, unit, rate, taxable value, tax amounts
- ✅ ValDtls: Aggregate taxable value, tax totals, total invoice value
- ✅ Tax type: IGST for inter-state, CGST+SGST for intra-state (never mixed)
In the Customer-Facing PDF:
- ✅ All standard Tax Invoice mandatory fields (Rule 46)
- ✅ IRN (64-character hash)
- ✅ Acknowledgment Number (15 digits)
- ✅ Acknowledgment Date and Time
- ✅ QR Code (scannable, prominently displayed)
Use ERP Group's Free GST Calendar → to track e-invoicing and GSTR-1 filing deadlines.
ERP Group's GST invoicing system → automates the complete e-invoice format process — from JSON schema generation to IRP API submission to IRN embedding and QR code generation in the customer-facing PDF — making e-invoice format compliance invisible and automatic for your team.
Book Your Free Demo — Automated E-Invoice Generation
👉 Book a Free Demo → — See ERP Group's complete e-invoice automation: JSON generation, IRP submission, IRN embedding, QR code creation, and GSTR-1 auto-population.
👉 Use Free GST Calendar → — Track e-invoicing compliance and GSTR-1 filing deadlines.
Related Tools and Guides
- 🔧 GST Calendar → — E-invoice and GSTR-1 filing deadlines
- 🔧 HSN/SAC Finder → — HSN codes for e-invoice ItemList
- 🔧 TDS Calculator → — TDS on e-invoiced supplies
- 🔧 Income Tax Calculator → — Tax planning on e-invoice income
- 🔧 ROI Calculator → — ROI of e-invoice software
- 🔧 Salary Calculator → — Staff cost management
- 📄 GST Invoice Format India — Complete Guide 2026
- 📄 How to Create GST Invoice Online India
- 📄 GSTR-1 JSON File Generation India — Step by Step
- 📄 Auto GSTR-1 Generation Software India 2026
- 📄 GSTIN Verification Steps India — Why It Matters
© 2026 ERP Group — India's AI-Powered GST Billing & Cloud ERP Platform