E-Invoicing — IRN, IRP & GSTR-1 Auto-Population
Mandatory e-invoicing for B2B supplies — generating IRN via IRP, QR code on invoice, auto-population into GSTR-1, exempt categories
Learning Objectives
- Know the current turnover threshold for mandatory e-invoicing and how it has evolved
- Understand what IRN, IRP, and the QR code actually are and why each matters
- Generate an IRN end-to-end using NIC or a private IRP
- Read GSTR-1 auto-populated tables (4A/4B/4C, 6A, 9B) and tell what came from e-invoicing
- Know what you can and cannot edit on an IRN-sourced invoice
- Identify the categories exempt from e-invoicing
What Is E-Invoicing — and What It Is NOT
E-invoicing is not a new format of invoice. The supplier still issues their normal tax invoice in their accounting software. The new step: that invoice is registered with a government-authorised portal (the IRP) before being sent to the buyer.
The IRP does three things in one round-trip:
- Validates the invoice schema
- Assigns a unique Invoice Reference Number (IRN) — a 64-character hash
- Returns a signed QR code the supplier must print on the final PDF
Once registered, the invoice flows automatically into:
- The supplier's GSTR-1 (outward supplies)
- The buyer's GSTR-2A / 2B (ITC visibility)
- The e-way bill system (Part A pre-filled)
Common myth: "We use Tally / Zoho / Busy — we already e-invoice." Wrong. Your software issues a normal invoice. Whether it then talks to an IRP and gets an IRN is a separate configuration. Many small businesses think they are compliant and discover at audit that they have raised thousands of "invalid" invoices.
The Turnover Threshold — A Walk Down the Ladder
The government has lowered the threshold in six phases:
| Effective Date | Aggregate Turnover Threshold |
|---|---|
| 1 Oct 2020 | ₹500 Crore |
| 1 Jan 2021 | ₹100 Crore |
| 1 Apr 2021 | ₹50 Crore |
| 1 Apr 2022 | ₹20 Crore |
| 1 Oct 2022 | ₹10 Crore |
| 1 Aug 2023 | ₹5 Crore (current) |
| Expected | ₹1 Crore (signalled by GST Council) |
Three rules that are easy to get wrong:
- Aggregate turnover, not entity turnover. It is PAN-level, across all GSTINs. A retail chain with ten GSTINs each doing ₹60 Lakh is not below the limit — combined it is ₹6 Cr.
- Any preceding financial year from FY 17-18 onwards. If you crossed ₹5 Cr in FY 23-24, you must e-invoice in FY 25-26 even if FY 24-25 was lower. You do not drop below once you cross.
- B2B only. B2C invoices are excluded — but B2C invoices to a recipient of more than ₹5 Cr turnover still need a dynamic QR code (a different requirement under Notification 14/2020).
What an IRP Actually Is
IRP stands for Invoice Registration Portal. It is a government-authorised endpoint that registers your invoice and returns the IRN.
There are currently six live IRPs:
| IRP | Operator | Best for |
|---|---|---|
| einvoice1.gst.gov.in | NIC (National Informatics Centre) | Free, manual upload, low volume |
| einvoice2.gst.gov.in | NIC (backup) | Disaster recovery for NIC users |
| einvoice3 — einvoice6 | Private (Cygnet, ClearTax, IRIS, etc.) | High volume, API integration, GSP services |
All IRPs return the same IRN for the same invoice. You cannot get two IRNs for one invoice — the system de-duplicates by hash of the invoice content.
The IRN — what it is
The IRN is a SHA256 hash of three components:
- Supplier GSTIN
- Financial year (in format
YY-YY) - Document number and type
Why the hash matters: the IRN itself is the receipt that your invoice was registered. Buyers can paste the IRN on the GST portal and verify it independently. Counterfeit IRNs cannot exist — the math doesn't allow it.
The QR Code — What Is Encoded
The signed QR code on every e-invoice contains:
- Supplier GSTIN
- Recipient GSTIN
- Invoice number and date
- Invoice value (taxable + tax)
- Number of line items
- Main HSN code
- IRN
It does NOT contain: item-level descriptions, narrations, ledger codes. Those stay in the invoice body.
Any GST officer with a barcode reader (or any phone with a GST verification app) can scan the QR and instantly check: was this invoice registered? Does the value match? Is the recipient GSTIN valid?
This is the practical anti-fake-invoice measure of the entire GST architecture.
End-to-End Flow — Sunrise Retail's First E-Invoice
💼 Sunrise Retail Pvt Ltd
Kiran's projection for FY 2025-26 hits ₹5.4 Crore. By Q3 of FY 24-25 they had already crossed the ₹5 Cr aggregate turnover threshold. From 1 April 2025, every B2B invoice they raise must be e-invoiced.
Step 1 — Sunrise Retail Configures Tally for IRP
Step 2 — Voucher Entry Triggers IRN Request
On 15 April 2025, Sunrise Retail sells 30 phones to Digital Hub, Secunderabad (Telangana) for ₹4,80,000 + 18% GST.
The moment the sales voucher is saved, Tally pushes a JSON payload to the IRP:
Step 3 — IRP Responds in ~2 Seconds
Tally embeds the IRN, AckNo, AckDt, and QR code into the printed PDF.
Step 4 — Invoice PDF Is Sent to Digital Hub
The final printed invoice now carries:
- A QR code (top-right or bottom-left)
- The IRN below the invoice number
- The Ack No and Ack Date
Digital Hub's accounts team can scan the QR with their phone and within 5 seconds confirm: invoice valid, GSTIN match, value match — book it.
Step 5 — Auto-Population (Happens Overnight)
By the next day, the same invoice appears in:
- Sunrise Retail's GSTR-1 — Table 4A (B2B Regular)
- Digital Hub's GSTR-2A and GSTR-2B (when the cut-off freezes)
- The e-way bill portal (Part A pre-filled; Sunrise only needs to add vehicle number in Part B)
No one has manually entered the invoice anywhere else. The IRP feed handles it all.
GSTR-1 Tables That Auto-Populate from E-Invoice
| GSTR-1 Table | What It Captures | E-Invoice Doc Type |
|---|---|---|
| 4A | B2B Regular invoices | INV |
| 4B | B2B Reverse Charge invoices | INV (with RC flag) |
| 4C | B2B Supplies through e-commerce operator | INV |
| 6A | Exports (with or without payment of tax) | INV (with SEZ/Export flag) |
| 9B | Credit Notes (CDNR) and Debit Notes (CDNUR) | CRN / DBN |
Tables that do NOT auto-populate:
- Table 5 (B2C Large, > ₹2.5 Lakh inter-state) — these are NOT e-invoiced
- Table 7 (B2C Small) — these are NOT e-invoiced
- Table 8 (Nil-rated, exempt, non-GST outward) — most are not e-invoiced
- Table 11 (Advances received) — separate process
- Table 12 (HSN summary) — auto-populated from line items but always reviewable
Edit Rules — What You Can and Cannot Change
Once an IRN is generated, the invoice is frozen in the GST ecosystem. You cannot edit the invoice on the GST portal — even though it appears in your GSTR-1.
What you CAN do:
- Cancel the IRN within 24 hours — only if no e-way bill has been generated against it
- After cancellation: issue a fresh invoice with a new number → new IRN
What you CANNOT do:
- Edit the invoice details in GSTR-1 after 24 hours
- Change the recipient GSTIN
- Change the taxable value or tax amount
The only way to fix an IRN-sourced invoice after 24 hours:
- Issue a Credit Note (CRN) to nullify or partially adjust the original
- Or a Debit Note (DBN) to add to the original
- Both must themselves be e-invoiced (they get their own IRN)
This is the most common operational confusion for first-time e-invoice users — they expect the GST portal to behave like Excel.
Categories Exempt from E-Invoicing
Even above ₹5 Cr, the following entities are NOT required to e-invoice:
| Category | Reason |
|---|---|
| SEZ developers | Excluded by Rule 48(4) (SEZ units still e-invoice) |
| Banks and financial institutions | Sectoral exemption |
| Insurance companies | Sectoral exemption |
| Goods Transport Agency (GTA) providing transport of goods by road | Sectoral exemption |
| Passenger transport services | Sectoral exemption |
| Multiplexes / cinema halls (for admission tickets) | Sectoral exemption |
| Government departments, local authorities | Excluded as a class |
| B2C invoices (any size) | Outside scope |
| Non-taxable supplies | Outside scope |
Important nuance: A bank above ₹5 Cr is exempt from e-invoicing its banking services — but if it sells a repossessed car as goods, that B2B invoice must be e-invoiced.
What Breaks When the IRN Isn't Generated
A surprising number of CFOs treat e-invoicing as a "nice to have." Here is what actually breaks for an invoice that should have been e-invoiced but wasn't:
- Invoice is invalid in law. Section 31 + Rule 48(5) — without IRN, no document is treated as a tax invoice.
- Buyer cannot claim ITC. Their GSTR-2B will not show this invoice. They will demand a fresh, e-invoiced bill.
- Penalty under Section 122 — ₹10,000 per invoice OR 100% of the tax involved (whichever is higher).
- E-way bill won't generate — Part A pre-fill fails for high-value invoices, blocking shipment.
- At audit: the entire month's outward turnover for B2B is questioned.
A Vizag-based steel wholesaler crossed ₹5 Cr in FY 23-24 but kept billing in plain Tally without IRP integration through April–June 2024. He thought he had "another year" because turnover was sticky in growth. His largest buyer — a Chennai fabrication unit — booked ₹2.1 Cr of purchases over the quarter and tried to claim ₹38 Lakh ITC. None of it showed up in GSTR-2B because the invoices had no IRN. The buyer's CA refused to release the August payment of ₹85 Lakh until the wholesaler re-issued every invoice with valid IRN. The wholesaler had to cancel 47 invoices, raise fresh ones (different numbers, different dates), and explain the trail to his buyer. The buyer changed suppliers in the next quarter. Moral: e-invoicing is not a back-office hygiene task — it sits on the critical path of every B2B receivable.
Sunrise Retail — Forward Planning
Sunrise Retail crossed ₹5 Cr aggregate turnover in March 2025 (FY 24-25). From 1 April 2025, every B2B outward invoice must carry an IRN.
Kiran's preparation checklist (executed by Sneha Reddy):
| Task | Owner | Deadline |
|---|---|---|
| Create API user on GST portal | Sneha (FD) | 15 Mar 2025 |
| Update Tally to e-invoice-capable version | IT vendor | 20 Mar 2025 |
| Test 3 dummy IRNs on NIC sandbox | Accounts | 25 Mar 2025 |
| Update invoice template to print QR code | IT vendor | 28 Mar 2025 |
| Train accounts team on cancellation window | Sneha | 30 Mar 2025 |
| First production IRN on 1 April | Accounts | 1 Apr 2025 |
B2C invoices (walk-in retail) continue as normal — no IRP step required. But every sale to Digital Hub, CloudStore, ElectroMart (registered buyers) now goes through IRP.
Practice Exercise
Exercise 1: A jewellery showroom in Hyderabad crossed ₹5 Cr aggregate turnover in FY 22-23 but slipped back to ₹4.2 Cr in FY 23-24 and ₹3.8 Cr in FY 24-25. Must they e-invoice in FY 25-26?
Show Solution
Yes — they must continue to e-invoice.
The rule: once aggregate turnover crosses ₹5 Cr in any FY from 17-18 onwards, e-invoicing applies in all subsequent FYs. There is no provision to drop below.
The showroom should have started e-invoicing from 1 April 2023 (the FY following the ₹5 Cr crossing) and must continue without break.
Even though FY 24-25 was ₹3.8 Cr, the threshold is sticky.
Exercise 2: Sunrise Retail raises an e-invoice for ₹5,66,400 to Digital Hub on 15 April 2025 at 4:42 PM. At 6:30 PM the same day, Sneha realises the quantity should have been 28 phones, not 30. What can she do?
Show Solution
She is within the 24-hour window (4:42 PM 15 Apr → 4:42 PM 16 Apr).
Options:
Option A — Cancel the IRN. Provided no e-way bill has been generated against this invoice, she can cancel the IRN on the IRP. Then re-issue a fresh invoice with a new document number (INV-2025-027) and obtain a new IRN.
Option B — If e-way bill was already generated against the original. Cancellation is not allowed on the IRP. She must issue a Credit Note (CRN) for the 2 extra phones (₹37,760 including GST) — this CRN must itself be e-invoiced and gets its own IRN. The original invoice + the new CRN together represent the correct economic position.
Best practice — cancel within 24 hours when possible; credit-note when the 24-hour window has lapsed.
Key Terms
| Term | Meaning |
|---|---|
| IRN | Invoice Reference Number — 64-character SHA256 hash assigned by the IRP |
| IRP | Invoice Registration Portal — the government-authorised endpoint that issues IRNs |
| QR Code | Signed barcode embedded on every e-invoice; contains IRN, GSTINs, value, HSN |
| AckNo | Acknowledgment number returned by IRP — short numeric ID for the IRN |
| B2B vs B2C | Business-to-business invoices need IRN; business-to-consumer don't |
| Auto-Population | Process by which an e-invoice flows into GSTR-1, GSTR-2A, GSTR-2B, e-way bill |
| CRN / DBN | Credit Note and Debit Note — themselves e-invoiced, with their own IRNs |
| Sticky Threshold | Once aggregate turnover crosses ₹5 Cr in any FY from 17-18, e-invoicing applies thereafter |
Checklist — what you should now be able to do:
- Determine whether a client must e-invoice based on FY 17-18 onwards aggregate turnover
- Explain the IRN/IRP/QR code flow to a non-technical CFO
- Identify which GSTR-1 tables auto-populate from e-invoice and which are still manual
- Diagnose why a buyer's GSTR-2B is missing an invoice (likely: no IRN generated)
- Choose between IRN cancellation and Credit Note based on the 24-hour window
Sunrise Retail's aggregate turnover crossed ₹5 Cr in FY 23-24. Their FY 24-25 turnover was ₹4.6 Cr. Are they required to e-invoice in FY 25-26?
Which of these is NOT exempt from e-invoicing (assuming turnover > ₹5 Cr)?
Sunrise Retail e-invoices a sale to Digital Hub at 10 AM. At 4 PM the same day, they realise the recipient GSTIN was wrong. Can they fix it?
Which GSTR-1 table is NOT auto-populated from e-invoices?
A buyer's GSTR-2B does not show a ₹12 Lakh purchase invoice from a ₹50 Cr-turnover supplier. The most likely cause is: