E-invoicing Under GST: The Complete Guide to IRN, QR Codes and Applicability
For finance teams at growing Indian businesses crossing the e-invoicing threshold, and for those already on it who want fewer rejections.
E-invoicing under GST means reporting each B2B invoice to the government's Invoice Registration Portal (IRP) in a standard format. The IRP validates it, returns a unique Invoice Reference Number (IRN) and a signed QR code, and passes the data on to GSTR-1 and the e-way bill system.
An invoice that needed an IRN and does not have one is not treated as a valid tax invoice, which puts your buyer's input tax credit at risk. Customers notice quickly.
This guide covers who is covered, which documents, the process, an illustrative example and how Apragya handles it.
Who must e-invoice, and what is covered
E-invoicing applies to a business whose aggregate annual turnover crossed INR 5 crore in any financial year from 2017-18 onwards. Once you cross it, the obligation continues even if turnover later falls. Check the current notification if you are near the line.
It covers tax invoices, credit notes and debit notes for supplies to registered buyers, exports, SEZ supplies and deemed exports. Supplies to consumers are outside it. Some sectors are exempt, including SEZ units, banks and insurers, goods transport agencies, passenger transport and cinema admission.
Larger taxpayers must also report invoices within a fixed number of days of the invoice date, after which the IRP refuses them. The turnover threshold for this limit has been lowered over time, so check the current advisory.
- Prepare the invoice in the e-invoice schema, with GSTINs, HSN, values and tax
- Send it to the IRP through the API, a GSP or the offline tool
- The IRP validates the data and checks for duplicates
- The IRP returns the IRN, acknowledgement number and signed QR code
- Print the QR code on the invoice and share it with the buyer
- The data flows to GSTR-1 and, with transport details, to an e-way bill
Where e-invoicing goes wrong
Validation errors
A wrong GSTIN, PIN or HSN stops the IRN at the portal.
Reporting delays
Invoices sent after the allowed period are rejected.
Wrong registration
A multi-state business reports under the wrong GSTIN.
Notes forgotten
Credit and debit notes are left out, and GSTR-1 disagrees.
An illustrative first month at a Surat textile trader
Take an illustrative Surat fabric trader that crossed INR 5 crore last year and ships to garment makers in three states. Its first e-invoiced month covers about 300 invoices and a dozen credit notes.
One invoice, from order to QR code
Order booked
Buyer GSTIN and place of supply checked.
Registration picked
The GSTIN of the dispatching state.
Payload checked
Previewed before anything is sent.
IRN issued
IRP returns the IRN and signed QR.
E-way bill
Generated from the IRN with vehicle details.
Previewing each payload caught wrong PIN codes and a missing HSN before submission, so almost every invoice got its IRN on the first attempt. Credit notes were registered too, and the month's GSTR-1 matched the IRP's record.
Meeting e-invoice rules in India: separate tools or one system
Many businesses bill in one tool and generate IRNs in another, then reconcile the two. Keeping the IRN on the invoice record removes that step.
E-invoicing setups, compared
| Feature | Billing tool plus portal | Apragya |
|---|---|---|
| Where the IRN lives | Pasted back or re-keyed | On the invoice record |
| Multi-state GSTINs | Chosen by the user | Resolved from the dispatching state |
| Error checking | At the portal | Previewed before submission |
| Credit and debit notes | Often missed | Registered with NIC |
| Consumer invoices | Separate handling | Dynamic QR support for B2C |
Checked against public information on 16 September 2026.
How the IRN generation process works in Apragya
Step 1 of 5
Raise the invoice
Sales invoices carry GSTIN, HSN, place of supply and tax.
- Raise the invoice: Sales invoices carry GSTIN, HSN, place of supply and tax.
- Resolve the GSTIN: The registration is picked from the dispatching state, never guessed.
- Preview: The e-invoice payload is built and checked before submission.
- Generate the IRN: Sent to NIC with your API credentials; IRN, QR and acknowledgement saved.
- Notes too: Credit and debit notes are registered with their own IRN.
Getting started with e-invoicing
- Confirm your applicability from past years' turnover.
- Register for API access on the IRP for each GSTIN.
- Clean customer masters: GSTIN, PIN code and state.
- Check every item has the correct HSN.
- Generate a test month and compare it with GSTR-1.
Clean masters do more for first-time success than any other step.
What sets Apragya apart on e-invoice applicability and compliance
Strict on GSTIN
Refuses rather than files under another company's registration.
E-way bill linked
Generated from the same invoice.
QR on the invoice
Signed QR stored for printing.
One record
Order, invoice, IRN and GSTR-1 line stay together.
Audit log
Who generated or cancelled each IRN.
AI agents
An agent can check invoices for missing HSN before billing closes.
See e-invoicing software, GST billing and e-invoice software and the IRN cancellation guide.
What it costs to start
E-invoicing under GST, answered
Do I need e-invoices for sales to consumers?
Is the IRN needed before the goods move?
What if the IRP is down?
Does e-invoicing replace GSTR-1?
What does it cost to start?
Get the IRN right the first time
Connect your NIC credentials, preview a payload and generate your first IRN.