How to Generate a GST E-Invoice?
Generating an e-invoice is mostly an integration question: your billing software talks to the IRP, and the IRN and QR code come back within seconds.
Quick Answer
Register your GSTIN on the e-invoice portal, choose a method (API through a GSP or ERP, the offline utility, mobile app, or the web portal for small volumes), upload the invoice in the prescribed JSON schema, and receive the signed invoice with IRN and QR code. Include them on the invoice you send to the customer.
Methods available
| Method | Best for |
|---|---|
| Web portal, single invoice | Few invoices a month |
| Bulk upload (JSON) | Businesses preparing invoices in Excel or software |
| API integration (ERP, GSP) | High volumes and automation |
| Mobile app | On the go, small volumes |
| Offline tool | Excel-to-JSON conversion |
Steps
- Get your GSTIN registered for e-invoicing on the portal and create API credentials if needed.
- Prepare the invoice in the schema: supplier and buyer details, line items, HSN, rate, value, and place of supply.
- Upload or send through API. The IRP validates the data.
- Receive the IRN, the QR code and the signed JSON.
- Print the invoice with IRN and QR, and send it to the customer.
Mistakes to avoid
- Wrong GSTIN or state code of the buyer.
- Duplicate invoice numbers.
- Mismatch between HSN and rate.
- Reporting after the permitted time period.
Where the e-way bill fits
You can generate Part A of the e-way bill at the time of generating the IRN, so the transporter only has to add vehicle details.
Practical Checklist
- Confirm applicability.
- Select a method.
- Test with a sample invoice.
- Print IRN and QR.
- Monitor rejections and fix master data.
Frequently Asked Questions
What if the IRP is down?
Retry later; there is no alternative to the IRP for covered taxpayers.
Can I generate an e-invoice for yesterday's invoice?
Only within the reporting window.
Does the IRP charge for generation?
No.
Related GST Questions
- What Is IRN in a GST E-Invoice?
- What Is the QR Code on a GST E-Invoice?
- Does E-Invoice Automatically File GSTR-1?
- Can E-Invoice Details Be Edited in GSTR-1?


