E-Invoice Under GST: Applicability, Format, and Process
What Is E-Invoicing Under GST?
E-invoicing (electronic invoicing) under GST is a system where B2B invoices are electronically authenticated by the GST system through the Invoice Registration Portal (IRP). It is not about generating invoices on a government portal — businesses continue using their own billing software. The invoice data is reported to the IRP, which validates it, assigns a unique Invoice Reference Number (IRN), digitally signs the invoice, and returns it with a QR code.
The e-invoice system was introduced to standardize invoice formats across businesses, reduce data entry errors, enable real-time tracking of invoices, and curb tax evasion through automated reconciliation. Validate your GSTIN before generating e-invoices using our GSTIN Validator.
E-Invoice Applicability: Who Needs to Generate?
E-invoicing has been rolled out in phases based on aggregate turnover thresholds. The threshold is based on turnover in any financial year from 2017-18 onwards:
| Phase | Effective Date | Turnover Threshold |
|---|---|---|
| Phase 1 | 1st October 2020 | >₹500 crore |
| Phase 2 | 1st January 2021 | >₹100 crore |
| Phase 3 | 1st April 2021 | >₹50 crore |
| Phase 4 | 1st April 2022 | >₹20 crore |
| Phase 5 | 1st October 2022 | >₹10 crore |
| Phase 6 | 1st August 2023 | >₹5 crore |
Exempted categories: SEZ units (not SEZ developers), insurers, banking and financial institutions, NBFCs, GTA, passenger transport services, cinema ticket booking, and suppliers of electricity.
Documents Covered Under E-Invoicing
- Covered: B2B invoices, B2G invoices, export invoices, SEZ supply invoices, credit notes, and debit notes
- Not covered: B2C invoices, bill of supply, delivery challans, job work challans, ISD invoices, and self-invoices for reverse charge
E-Invoice Schema and Format
The e-invoice schema follows the standard notified by GSTN. It contains approximately 140 fields organized into mandatory, conditional, and optional categories. The key sections of the e-invoice JSON schema include:
Mandatory Fields
- Transaction Details: Supply type (B2B, export, SEZ), document type (invoice, credit note, debit note)
- Document Details: Invoice number, date, and value
- Seller Details: GSTIN, legal name, address, state code, PIN code
- Buyer Details: GSTIN, legal name, address, state code, PIN code (POS for inter-state)
- Item Details: HSN code, quantity, unit, taxable value, GST rate, tax amounts
- Value Details: Total assessable value, CGST, SGST/UTGST, IGST, cess, total invoice value
Find the correct HSN codes for your items using our HSN/SAC Finder tool.
Conditional Fields
- Dispatch Details: Required when dispatch address differs from seller address
- Ship-to Details: Required when delivery address differs from buyer address
- Export Details: Shipping bill number, port code, currency for export invoices
- E-way Bill: Transport details if e-way bill is to be generated simultaneously
Step-by-Step E-Invoice Generation Process
- Prepare the invoice in your billing software — Generate the invoice with all mandatory fields as per the e-invoice schema. Your ERP or billing system should produce the JSON in the prescribed format.
- Register on the IRP — Register your GSTIN on the Invoice Registration Portal (einvoice1.gst.gov.in). You can register on multiple IRPs for redundancy. Currently, NIC (einvoice1.gst.gov.in) is the primary IRP.
- Generate API credentials — Create API credentials (client ID and secret) on the IRP. These are required for machine-to-machine invoice reporting.
- Push invoice data to IRP via API — Send the invoice JSON to the IRP's API endpoint. The IRP validates the schema, checks for duplicates, and verifies the GSTIN details.
- Receive IRN and signed invoice — On successful validation, the IRP returns the IRN (a 64-character hash), a digitally signed QR code, and the signed invoice JSON. The IRN is also pushed to the GST portal automatically.
- Print the invoice with QR code — Include the QR code on the printed invoice. The QR code contains key invoice details that can be verified by the buyer or tax authorities.
- Auto-population in GSTR-1 — E-invoice data is automatically populated in your GSTR-1. You do not need to enter these invoices again while filing your return.
Understanding IRN (Invoice Reference Number)
The IRN is a unique 64-character hash generated using the supplier's GSTIN, document type, document number, and financial year. Key points:
- Each invoice gets a unique IRN — duplicate invoice numbers for the same GSTIN and financial year are rejected
- The IRN is valid for the lifetime of the invoice and cannot be reused
- IRN generation is real-time — the IRP responds within seconds
- Without a valid IRN, the invoice is not considered a valid tax invoice under GST
- The IRN is also used for e-way bill generation when both are required
E-Invoice and E-Way Bill Integration
E-invoicing and e-way bills are integrated. When generating an e-invoice, you can include transport details in the same request, and an e-way bill (Part A) is generated simultaneously. This eliminates the need to separately generate e-way bills on the e-way bill portal for the same transaction.
Check our E-Way Bill tool for more details on e-way bill requirements and thresholds.
Common E-Invoice Errors and Solutions
| Error | Cause | Solution |
|---|---|---|
| Duplicate IRN | Same invoice number for same GSTIN and FY | Use unique invoice numbers; check existing IRNs before retrying |
| Invalid GSTIN | Buyer/seller GSTIN is inactive or incorrect | Verify GSTIN status on the GST portal before invoicing |
| HSN code mismatch | HSN code not valid for the supply type | Use 4/6/8-digit HSN codes as per turnover slab requirements |
| Schema validation failed | Missing mandatory fields or wrong data types | Validate JSON against the schema before submitting to IRP |
| Authentication failure | Expired or invalid API credentials | Regenerate API credentials on the IRP portal |
| Timeout | IRP server load during peak hours | Retry with exponential backoff; use alternate IRP |
Cancellation and Amendment of E-Invoices
Cancellation (Within 24 Hours)
An e-invoice can be cancelled on the IRP within 24 hours of generation. After cancellation, the IRN becomes invalid, and the invoice data is removed from GSTR-1 auto-population. The same invoice number cannot be reused after cancellation.
After 24 Hours
If you need to cancel an invoice after 24 hours, you cannot cancel it on the IRP. Instead, issue a credit note against the original invoice. The credit note must also be reported to the IRP and will get its own IRN.
Penalties for Non-Compliance
- Not generating e-invoice: Penalty of 100% of the tax due or ₹10,000 per invoice, whichever is higher
- Incorrect e-invoice: Treated as incorrect invoice — buyer loses ITC eligibility
- Repeated non-compliance: May result in suspension of GST registration
- E-way bill impact: If e-invoicing is mandatory but not done, e-way bills generated for those goods may also be invalid
Best Practices for E-Invoicing
- Validate invoice JSON against the schema before pushing to IRP — reduces rejection rates
- Maintain a mapping of HSN codes for all your products and services
- Use the GST Calculator to verify tax calculations before invoice generation
- Set up automated retry logic for IRP API failures with exponential backoff
- Register on multiple IRPs (NIC, ClearTax IRP, Cygnet IRP) for redundancy
- Archive all IRN responses and signed invoices for audit purposes
- Reconcile e-invoice data with GSTR-1 auto-populated entries before filing
- Train your accounting team on e-invoice cancellation timelines (24-hour window)
How DoAide GST Simplifies E-Invoicing
DoAide GST integrates with the IRP to validate and generate e-invoices directly from your invoicing workflow. Auto-populate HSN codes, validate GSTIN details in real-time, and track IRN status for all your invoices — all from one dashboard.
Frequently Asked Questions
What is the turnover threshold for e-invoicing in 2026?
As of 2026, e-invoicing is mandatory for businesses with aggregate turnover exceeding ₹5 crore in any financial year from 2017-18 onwards. The government has been progressively lowering the threshold — from ₹500 crore when the system launched in October 2020 to ₹5 crore as of August 2023. Further reductions may be announced.
What is an IRN in e-invoicing?
IRN stands for Invoice Reference Number. It is a unique 64-character hash generated by the IRP using the supplier GSTIN, document type, document number, and financial year. The IRN serves as a unique identity for each invoice in the entire GST ecosystem.
Can e-invoices be cancelled?
Yes, but only within 24 hours of generation on the IRP portal. After 24 hours, cancellation is not possible — you must issue a credit note against the original invoice instead.
Is e-invoicing applicable to B2C transactions?
No. Currently, e-invoicing is mandatory only for B2B supplies, exports, supplies to SEZ (with/without payment), and deemed exports. B2C invoices, bill of supply, delivery challans, and job work challans are excluded from e-invoicing requirements.
What is the penalty for not generating e-invoices?
Non-generation of e-invoices when mandatory attracts a penalty of 100% of the tax due on that invoice or ₹10,000, whichever is higher. Additionally, the buyer loses the right to claim ITC on invoices that do not have a valid IRN.