If your aggregate annual turnover exceeded ₹5 crore in any preceding financial year from 2017-18 onward, generating electronic invoices is mandatory for all B2B supplies and exports. Under Rule 48(4) of the CGST Rules, eligible taxpayers must report invoice particulars electronically to obtain an IRN. Under Rule 48(5) of the CGST Rules, any invoice issued without an IRN is legally invalid. Tally Prime connects directly to the IRP, removing the need to export offline JSON files or use separate upload utilities.
Who must generate e-invoices under GST law
Statutory applicability is governed by Notification No. 10/2023-Central Tax, which brought registered persons with turnover exceeding ₹5 crore into the e-invoicing regime starting 1 August 2023. E-invoicing applies to taxable B2B supplies, supplies to SEZ developers or units, and export supplies. Purely exempt supplies covered only by a bill of supply do not require an IRN.
Similarly, inward supplies subject to reverse charge under Section 9(3) or Section 9(4) where the recipient issues a tax invoice under Section 31(3)(f) do not require an IRN on the IRP. For outward supplies, reporting must strictly follow the schema notified in Form GST INV-01.
Common mistake: Supplying goods or services to registered buyers with an ordinary tax invoice without an IRN when your turnover exceeds ₹5 crore. Under Rule 48(5), your buyer cannot claim input tax credit on an invalid invoice, and your outward tax liability remains due.
Step 1: Create an API user on the e-invoice portal
Before configuring Tally Prime, you must authorize Tally India Private Limited as your direct GSP or API partner on the official portal:
- Log in to the official portal at einvoice1.gst.gov.in using your administrative credentials.
- Navigate to API Registration → User Credentials → Create API User.
- Authenticate the request using the one-time password (OTP) sent to your registered director or proprietor mobile number.
- Under the registration interface, select Through GSP, choose Tally India Private Limited from the partner list, and create a dedicated API Username and Password.
Keep these API credentials separate from your regular portal login password. Tally Prime uses this API username and password to establish a 6-hour authenticated session with the IRP.
Step 2: Enable e-invoicing in Tally Prime F11 features
Open your company in Tally Prime and complete the one-time configuration:
- Press F11 (Company Features) and select Enable Goods and Services Tax (GST).
- Set e-Invoicing applicable to Yes.
- Enter the Applicable from date (for example, 01-Aug-2023 or the start of your compliance period).
- Specify the Bill From place matching your registered GSTIN location.
- Set the default e-Invoice report period and choose whether to send e-way bill details along with the e-invoice payload. Press Ctrl+A to save.
Step 3: Voucher entry and direct IRN generation
When entering a sales voucher (F8), select a registered customer ledger and line items with valid 6-digit or 4-digit HSN codes. Table 12 HSN rules require at least 6 digits if aggregate turnover exceeds ₹5 crore, or 4 digits otherwise. Once you enter the tax ledgers (CGST and SGST or IGST):
- Set Provide e-Invoice details to Yes on the voucher sub-form.
- Verify the Bill to place, Ship to address, and dispatch details.
- Press Enter to accept the voucher. Tally Prime prompts: Do you want to generate e-Invoice? Click Yes.
- Enter your API username and password. Tally Prime communicates with the IRP and confirms: e-Invoice generated successfully.
Tally Prime automatically downloads the 64-character IRN, the Acknowledgement Number, Acknowledgement Date, and signed QR code, embedding them directly onto the invoice print format.
Worked example: tax calculation and invoice ledger verification
Consider an interstate supply made by a manufacturer in Maharashtra to a registered dealer in Gujarat. Both businesses are GST-registered, and the transaction requires mandatory e-invoicing.
| Particulars | HSN Code | Quantity | Rate (₹) | Taxable Value (₹) | IGST (18%) (₹) | Total Invoice (₹) |
|---|---|---|---|---|---|---|
| Industrial Valves (Item A) | 84818030 | 20 Nos | 5,000 | 1,00,000 | 18,000 | 1,18,000 |
| Pipe Couplings (Item B) | 73072900 | 50 Nos | 500 | 25,000 | 4,500 | 29,500 |
| Total Supply Value | - | 70 Nos | - | ₹1,25,000 | ₹22,500 | ₹1,47,500 |
The mathematical verification for the voucher is:
Taxable Value = (20 × 5,000) + (50 × 500) = ₹1,00,000 + ₹25,000 = ₹1,25,000.
Integrated Tax (IGST at 18%) = ₹1,25,000 × 0.18 = ₹22,500.
Total Invoice Value = ₹1,25,000 + ₹22,500 = ₹1,47,500.
When this voucher is accepted, Tally Prime transmits the exact line items, tax subtotals, and total value to the IRP. Once registered, the e-invoice data auto-populates directly into Form GSTR-1 outward tables (Table 4A for B2B supplies), eliminating double data entry.
Fixing common e-invoice rejection errors in Tally Prime
If the IRP rejects an invoice, Tally Prime displays an error code and moves the voucher to the Uncertain Transactions (Corrections needed) section of the e-Invoice report. The table below lists the standard official error codes and their exact resolution:
| Error Code | IRP Description | Cause in Tally Prime | Corrective Action |
|---|---|---|---|
| 2150 | Duplicate IRN | The document was already registered on the IRP earlier. | In Tally Prime, open the voucher, press Alt+Z (Exchange), and select Get IRN Info to download the existing IRN without re-uploading. |
| 2265 | Recipient GSTIN state code does not match state code passed | First two digits of recipient GSTIN differ from the State chosen in the ledger. | Open the party ledger (Ctrl+Enter), verify that the state selected matches the first two digits of the GSTIN (e.g., 27 for Maharashtra, 24 for Gujarat), and resubmit. |
| 3029 | GSTIN is inactive or cancelled | The recipient GSTIN is cancelled or suspended on the GST common portal. | Verify buyer status on the GST portal. If recently restored, update GSTIN status on einvoice1.gst.gov.in before generating the IRN. |
| 2278 | IRN is already generated and cancelled for this document number | An IRN was generated earlier and cancelled within 24 hours. | Under GST rules, a cancelled invoice number cannot be re-registered. Issue a new invoice with a fresh document number. |
Cancellation rules and GSTR-1 reconciliation
According to official IRP rules, an IRN can be cancelled on the portal strictly within 24 hours of generation. Once 24 hours have elapsed, the IRP locks the document, and the data auto-populates into your GSTR-1 return. If an invoice must be adjusted or cancelled after 24 hours, you cannot delete it from the IRP; you must issue an official credit note under Section 34 of the CGST Act or rectify the auto-populated row in Form GSTR-1 before filing.
Also check our practical guide on GSTR-2B reconciliation in Tally Prime to verify how your inward supplies match your purchase register.
Frequently asked questions
Can you edit an invoice in Tally Prime after generating an IRN?
No. Once an IRN is generated, the IRP does not permit modification or deletion. If you cancel the IRN on the portal within 24 hours, the same invoice number cannot be reused for a new IRN. Any correction after 24 hours must be handled through a credit note or debit note.
What should you do if Tally Prime returns duplicate IRN error 2150?
Error 2150 means the invoice payload was already registered on the IRP earlier. Open the voucher in Tally Prime, press Alt+Z, and choose Get IRN Info to fetch the existing 64-character IRN, Ack No, and QR code directly into your company data without re-uploading.
Does e-invoicing apply to inward supplies subject to reverse charge?
Inward supplies liable to reverse charge received from unregistered persons under Section 9(4) or specified under Section 9(3), where the recipient issues a tax invoice under Section 31(3)(f), do not require an IRN.
Check your purchase register against GSTR-2B
While outward e-invoices flow to your customers automatically, your inward ITC depends on your suppliers reporting their bills correctly. Match your Tally purchase register with GSTR-2B in seconds to catch missing invoices and unfiled supplier returns. Your GSTR-2B and purchase register files are read in your browser and never uploaded to any server.
Last checked: 1 November 2026. Sources: CBIC CGST Rule 48, NIC e-Invoice Portal FAQs, GSTN GSTR-1 User Manual.