EZAccounting

Guide · generate an e-invoice

How to generate an e-invoice (IRN) for a GST invoice

To generate an e-invoice you send the invoice details to the government's invoice registration portal through a GSP, and get back an Invoice Reference Number (IRN) and a signed QR code. This guide covers who needs one, what to prepare, and the steps.

Sign inTalk to us

Last updated

Step by step

How it works

  1. 1

    Check the rule applies

    Compare your turnover with the current limit.

  2. 2

    Prepare the details

    GSTIN, address, PIN code, GSP and portal API user.

  3. 3

    Issue the invoice

    With the buyer's GSTIN and HSN codes.

  4. 4

    Generate the IRN

    Through your GSP.

  5. 5

    Print the QR code

    The IRN, acknowledgement and QR go on the invoice.

Who needs an e-invoice

As of November 2026, a registered business whose aggregate turnover has exceeded ₹5 crore in any financial year from 2017-18 onwards must issue e-invoices for supplies to other registered businesses (B2B) and for exports. The limit has been lowered several times and some kinds of business are excluded, so check the current rule on the GST portal or with your accountant.

What you need first

Your GSTIN with your registered name, address and 6-digit PIN code. A GSP (GST Suvidha Provider) to send the invoices. An API user on the government's e-invoice portal for each GSTIN. And, for each buyer, a GSTIN, name, address and PIN code.

What an IRN is

The IRN is a unique 64-character reference generated for the invoice. It comes back with an acknowledgement number and date and a QR code, all of which belong on the invoice.

If you find a mistake

An IRN can be cancelled only within 24 hours of generation, with a reason. After that, the invoice is adjusted with a credit or debit note.

How EZAccounting helps

EZAccounting builds the e-invoice from your issued invoice, sends it through your GSP, and keeps the IRN, acknowledgement and QR code with the invoice. It lists only the invoices that need an IRN, and holds one with the reason when a buyer detail is missing. It needs a GSP and does not connect to the portal on its own.

Questions

Common questions

Do sales to consumers need an e-invoice?

No. E-invoices apply to supplies to registered businesses and to exports, not to sales to consumers (B2C).

Can I cancel an IRN after a week?

No. An IRN can be cancelled only within 24 hours of being generated. After that you adjust the invoice with a credit or debit note.

Do I need my own GSP?

You need a GSP to send e-invoices. It can be your own account or one offered through your software. Each GSTIN also needs its own API user on the portal.

Want to see it on your own books?

Tell us about your company and what you want to automate, and we will get back to you.