How to set up GST e-invoicing and generate an IRN yourself
E-invoicing means reporting each B2B invoice, credit note and debit note to a government Invoice Registration Portal (IRP), which returns a unique IRN and a signed QR code. It is mandatory if your aggregate turnover crossed Rs 5 crore in any year since 2017-18. Registration and IRN generation on the official IRPs are free, and a small business can set it up in an hour.
By CA Abhishek Gupta · Updated 22 November 2026
Want to learn this from a CA? This guide is free. If you want to learn GST e-invoicing properly from a Chartered Accountant, paid live training is available.
Who must issue e-invoices
As per the official GST e-invoice overview, e-invoicing applies to every registered person whose PAN-based aggregate turnover exceeded Rs 5 crore in any financial year from 2017-18 onwards (limit in force from 1 August 2023). Once you cross the limit in any year, e-invoicing applies from then on, even if turnover falls later.
- Documents covered: tax invoices, credit notes and debit notes.
- Supplies covered: B2B supplies, supplies to SEZ units or developers (with or without tax), exports (with or without tax) and deemed exports. B2C invoices are not reported to the IRP.
- Exempt entities: certain classes such as SEZ units, insurers, banks and NBFCs, goods transport agencies, passenger transport and multiplex cinema services are excluded by notification. Check the current list on einvoice.gst.gov.in; an exempt business above the limit should keep a declaration on its invoices.
- A B2B invoice without a valid IRN is not treated as a valid invoice when e-invoicing applies, which can affect your customer's ITC.
What you need before you start
- Active GST registration with the mobile number and email registered on the GST portal.
- Confirmation that your GSTIN is enabled for e-invoicing. Check the enablement status on einvoice.gst.gov.in by entering your GSTIN. If you are liable but not shown as enabled, use the self-enablement option on the same site.
- Your billing or accounting software. Many accounting packages can create the e-invoice JSON in the government schema (Form INV-01) or connect directly to an IRP.
- For each invoice: buyer GSTIN, legal name and address, place of supply, document number and date, HSN of each item, quantity, unit, taxable value, tax rate and amounts.
- If you already use the e-way bill portal, your e-way bill username and password also work on the NIC e-invoice portal.
Choose your IRP and method
There are six authorised IRPs, from einvoice1.gst.gov.in to einvoice6.gst.gov.in (two run by NIC and four by private IRPs). Generation of IRN on any of them is free. You can use one or more of them. Methods offered include:
| Method | Suits |
|---|---|
| Web form or mobile app on the IRP | Small businesses with a few invoices a day |
| Offline Excel bulk generation tool / JSON upload | Businesses with dozens of invoices, using their own billing software |
| Integration through a GST Suvidha Provider (GSP) or software vendor | Medium and large businesses |
| Direct API integration | Large taxpayers; client ID and secret are issued directly only to PANs above Rs 500 crore turnover, GSPs and e-commerce operators |
Step-by-step: register on the NIC IRP
- Open einvoice1.gst.gov.in and click Registration, then the option for e-invoice registration (or log in with existing e-way bill credentials).
- Enter your GSTIN and the captcha. The portal shows your registered mobile number.
- Click to send OTP and enter the OTP received on the mobile registered with GST.
- Your details are filled from GST records. Create a username and password and submit.
- Log in. Complete two-factor authentication if asked. Under the user or main menu, you can create sub-users for staff who will generate e-invoices.
- If you will use a GSP or API, register for API access from the portal's API registration option and select your GSP, then create the API username and password for that GSTIN.
Step-by-step: generate an IRN
- Create the invoice in your billing software as usual, with a unique document number for the financial year.
- Report it to the IRP by one of these: fill the web form on the IRP; export a JSON (or fill the government offline Excel tool and convert it to JSON) and upload it through the bulk upload option; or click the e-invoice button in software connected through a GSP.
- The IRP validates the data: buyer GSTIN status, HSN, place of supply, tax calculation and, importantly, whether the same document number was already reported. Fix any error shown and report again.
- On success, the IRP returns the IRN (a 64-character unique reference), the acknowledgement number and date, and a digitally signed QR code.
- Print the QR code on the invoice itself and send the invoice to the buyer. The IRN details are visible on the IRP for only 24 hours, so download or store the signed JSON at once.
- If you also give vehicle or transporter details, the e-way bill can be generated from the same IRN, so Part A of the e-way bill need not be filled again.
After you generate the IRN
- GSTR-1 auto-fill: the IRP shares e-invoice data with the GST system and it is auto-populated in the relevant tables of your GSTR-1. Check it before filing; you still have to file GSTR-1.
- Cancellation: an IRN can be cancelled only in full and only within 24 hours of generation on the IRP. Partial cancellation or editing is not possible. After 24 hours, correct the invoice through a credit note or debit note, or amend it in GSTR-1. A cancelled document number cannot be reused for a new IRN.
- Time limit for reporting: GSTN has announced a time limit for taxpayers with aggregate turnover of Rs 10 crore and above, under which old invoices cannot be reported after a fixed number of days from the invoice date (30 days as per its advisory). Report invoices on the same day to stay safe and check the current advisory on the IRP.
- Keep the signed JSON or PDF of each e-invoice with your books of account.
Fees and timelines (as of November 2026)
| Item | Position |
|---|---|
| Registration and IRN generation on official IRPs | Free |
| Turnover limit | Above Rs 5 crore in any year since 2017-18 |
| IRN cancellation | Within 24 hours, full cancellation only |
| IRN details on IRP | Available for 24 hours; store your copy |
Third-party software or GSP services may charge their own fees; those are not government fees.
Common mistakes
- Waiting for a notice before starting e-invoicing after crossing Rs 5 crore in an earlier year.
- Issuing a B2B invoice to the customer first and reporting it to the IRP days later.
- Reusing a document number after cancelling an IRN.
- Reporting B2C invoices to the IRP, or leaving out export and SEZ invoices.
- Printing the QR code on a separate sheet instead of on the invoice.
- Not checking that GSTR-1 auto-filled data matches your books, especially after cancellations and credit notes.
- Wrong HSN or buyer GSTIN, which causes rejection or mismatch in the buyer's ITC.
Frequently asked questions
Who has to generate e-invoices under GST?
Every registered person whose aggregate turnover exceeded Rs 5 crore in any financial year from 2017-18 onwards, unless the business falls in a notified exempt class. It applies to B2B, export, SEZ and deemed export invoices, credit notes and debit notes.
Is there a fee to generate an IRN?
No. Registration and IRN generation on the six official IRPs (einvoice1 to einvoice6.gst.gov.in) are free. Software providers may charge for their own services.
Can I cancel or edit an e-invoice?
You can cancel an IRN only in full and only within 24 hours on the IRP. It cannot be edited. After 24 hours, use a credit or debit note or amend the details in GSTR-1.
Do I still need to file GSTR-1 if I issue e-invoices?
Yes. E-invoice data is auto-populated in GSTR-1, but you must review it, add other supplies such as B2C, and file the return yourself.
How do I know if my GSTIN is enabled for e-invoicing?
Check the enablement status on einvoice.gst.gov.in by entering your GSTIN. If you are liable but not enabled, you can use the self-enablement option there.
Learn GST e-invoicing live with a CA Doing it yourself is fine for simple cases. If you want hands-on practice with a CA, for your own business or to start your own practice, ask us about paid live training (schedule and fee on request).
Official sources
- GSTN: Steps for e-invoicing (overview)
- NIC e-invoice portal FAQs
- GST e-invoice portal: enablement status and IRPs
General information, not advice. Rules and portals change; check the official site before you file, and take professional advice for your own facts. Last checked: 22 November 2026.