Skip to main content
Apragya AIFree quotation builderQuotation builderQuote builderno signup
GST guide

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.

A trader stamping an invoice sheet on a bundle of fabric in a warehouse

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.

  1. Prepare the invoice in the e-invoice schema, with GSTINs, HSN, values and tax
  2. Send it to the IRP through the API, a GSP or the offline tool
  3. The IRP validates the data and checks for duplicates
  4. The IRP returns the IRN, acknowledgement number and signed QR code
  5. Print the QR code on the invoice and share it with the buyer
  6. 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

  1. Order booked

    Buyer GSTIN and place of supply checked.

  2. Registration picked

    The GSTIN of the dispatching state.

  3. Payload checked

    Previewed before anything is sent.

  4. IRN issued

    IRP returns the IRN and signed QR.

  5. E-way bill

    Generated from the IRN with vehicle details.

The preview step caught most errors before the IRP ever saw them.

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.

Fabric bundles with patterned tags lined up beside a toy delivery van
Every bundle left with a registered invoice, and the month's GSTR-1 matched the portal.

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

FeatureBilling tool plus portalApragya
Where the IRN livesPasted back or re-keyedOn the invoice record
Multi-state GSTINsChosen by the userResolved from the dispatching state
Error checkingAt the portalPreviewed before submission
Credit and debit notesOften missedRegistered with NIC
Consumer invoicesSeparate handlingDynamic 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.

  1. Raise the invoice: Sales invoices carry GSTIN, HSN, place of supply and tax.
  2. Resolve the GSTIN: The registration is picked from the dispatching state, never guessed.
  3. Preview: The e-invoice payload is built and checked before submission.
  4. Generate the IRN: Sent to NIC with your API credentials; IRN, QR and acknowledgement saved.
  5. Notes too: Credit and debit notes are registered with their own IRN.

Getting started with e-invoicing

  1. Confirm your applicability from past years' turnover.
  2. Register for API access on the IRP for each GSTIN.
  3. Clean customer masters: GSTIN, PIN code and state.
  4. Check every item has the correct HSN.
  5. 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

INR 7,999
Pro, a month
Up to 25 users, with Finance and Accounting and every enterprise app
5,000
AI Credits a month
Included on Pro
Free
Up to 3 users
CRM and HR, to try the platform first

E-invoicing under GST, answered

Do I need e-invoices for sales to consumers?
No, B2C sales are outside e-invoicing. Very large businesses have a separate dynamic QR requirement for B2C invoices; check whether it applies to you.
Is the IRN needed before the goods move?
The e-invoice should exist when the invoice is issued, and an e-way bill can then be generated from it.
What if the IRP is down?
Follow the current advisory for outages, and generate the IRN as soon as the portal is available.
Does e-invoicing replace GSTR-1?
No. It auto-populates parts of GSTR-1, which you still review and file.
What does it cost to start?
Finance and Accounting comes with the Pro plan, INR 7,999 a month for up to 25 users, which includes every enterprise app, 5,000 AI Credits a month, single sign-on and audit logs. The free plan covers up to 3 users with CRM, HR and Vendor Onboarding if you want to try the platform first.

Get the IRN right the first time

Connect your NIC credentials, preview a payload and generate your first IRN.