The Instant Dispatch Fix: When generating an E-Invoice or E-Way Bill directly from TallyPrime or BUSY Accounting Software, NIC Invoice Registration Portal (IRP) rejections occur due to API handshake timeouts, master data mismatches, or statutory time-bar validations. For Error 2150 (Duplicate IRN), never alter the voucher number—use "Get IRN Info" in TallyPrime or "Retrieve IRN" in BUSY to pull the 64-character hash already generated on the portal. For Error 2278 (Cancelled IRN Number Re-used), GSTN permanently blocks that invoice serial number for the entire financial year, requiring a fresh consecutive voucher under Rule 46(b).
Nothing stalls factory dispatch and billing operations faster than a sudden NIC IRP rejection popup inside TallyPrime or BUSY while a transport vehicle is waiting at the gate. Because both ERPs communicate with the Invoice Registration Portal (`einvoice1.gst.gov.in`) via encrypted GST Suvidha Provider (GSP) APIs, a 3-second internet drop or a single mismatched PIN code can leave a voucher stuck in the "Rejected by e-Invoice System" or "Uncertain Transactions" queue.
Worse, when billing operators panic and repeatedly click "Upload" or manually edit voucher numbers without understanding the underlying NIC error code, they create duplicate tax entries in GSTR-1 Table 12 or violate the mandatory 30-day reporting lock.
Critical Rule on Cancelled E-Invoices (Error 2278 Trap): Once an E-Invoice IRN is cancelled on the portal within the 24-hour window, you can never generate a new IRN using that same invoice number again during the financial year. Attempting to fix the voucher and re-upload the same invoice number triggers Error Code 2278. You must mark the old voucher as "Cancelled" in your ERP and raise a brand-new invoice with the next sequential number.
1. Master NIC E-Invoice & E-Way Bill Error Code Lookup Table (TallyPrime & BUSY)
Match the exact error code displayed in your TallyPrime e-Invoice Report or BUSY JSON Error Log against the diagnostic matrix below:
| NIC Error Code | Official Portal Error Message | Root Cause in ERP | Exact Fix in TallyPrime & BUSY |
|---|---|---|---|
| Error 2150 | Duplicate IRN |
IRP already generated the IRN during your first click, but a network timeout prevented Tally/BUSY from receiving the 64-character acknowledgment response. | Do not re-upload! Click Get IRN Info (TallyPrime) or manually paste the IRN, Ack No., and Ack Date from einvoice1.gst.gov.in into the voucher. |
| Error 2278 | IRN is already generated and cancelled for this document number |
You cancelled the e-invoice earlier and tried to re-upload the exact same Invoice Number after editing the rate or quantity. | Cancel the old voucher in ERP (`Alt + X` in Tally) so the serial number is preserved for audit trail, and create a new invoice with the next voucher number. |
| Error 2283 | Invoice date is older than allowed reporting window (30 Days) |
Taxpayers with AATO ≥ ₹10 Crore attempting to generate an IRN for a backdated invoice older than 30 calendar days. | IRP hard-blocks backdated invoices beyond 30 days. You must issue a current-dated tax invoice (and never backdate unregistered RCM self-invoices beyond Rule 47A's 30-day window). |
| Error 2172 / 2265 | Recipient GSTIN State Code does not match / Invalid State Code |
The first 2 digits of the buyer's GSTIN (e.g., `09` for UP) do not match the State selected in the Party Ledger or "Bill To" address screen. | Open the Party Ledger Master in TallyPrime/BUSY, verify that the State selected matches the first 2 digits of the 15-digit GSTIN, and re-save the voucher. |
| Error 2182 / 2193 | Taxable value of all items must equal total taxable value / AssAmt mismatch |
A discount, freight ledger, or rounding-off ledger (`Round Off`) was placed inside the item grid or configured as "Appropriate by Value" incorrectly. | Set `Round Off` ledger to "As Total Amount Rounding" (Not Applicable for GST) and ensure freight/packing charges are mapped as service HSN/SAC or appropriated cleanly. |
| Error 2211 / 2212 | Supplier and Recipient GSTIN cannot be the same |
Generating a B2B tax invoice for stock transfer between two godowns registered under the same 15-digit GSTIN within the same state. | Intra-state stock transfers under the same GSTIN do not require an E-Invoice—issue a Delivery Challan + E-Way Bill only. (Inter-state stock transfers between distinct GSTINs require an E-Invoice). |
| Error 4002 / 2269 | E-Way Bill is already generated for this IRN / Cannot cancel IRN while EWB is active |
Trying to cancel an E-Invoice within 24 hours while its linked Part-B E-Way Bill is still active. | First cancel the **E-Way Bill** (within 24 hours of generation), and only after the EWB status turns Cancelled, send the **Cancel IRN** request from your ERP. |
| Error 4013 / 4026 | Invalid Pin to Pin Distance / Distance exceeds maximum allowed limit |
Entered `0` km distance when Supplier PIN and Recipient PIN are different, or entered distance >4,000 km, or entered >`100` km when both PIN codes are identical. | Leave Distance as `0` in TallyPrime/BUSY so the NIC portal auto-calculates PIN-to-PIN distance—or if both PINs are identical (same area), enter exact distance between 1 and 100 km. |
| Error 1005 / 201 | Invalid Auth Token / API User Credentials Invalid |
Your NIC API Username/Password expired, was changed on the portal, or you created a direct API user instead of selecting the ERP's GSP (Tally India / Webtel / Pinnacle). | Log in to einvoice1.gst.gov.in → API Registration → User Credentials → Create API User → Through GSP, select your ERP's GSP, and update the credentials in ERP. |
2. Deep-Dive Fix: How to Resolve Error 2150 (Duplicate IRN) Without Creating a New Invoice
Error 2150 is the single most common error in Indian accounting departments. It happens when TallyPrime or BUSY transmits your invoice JSON to the NIC server, the NIC server successfully registers the invoice and generates the 64-character IRN, but your local broadband connection drops for a split second before the ERP receives the return confirmation.
When the accountant clicks "Send for e-Invoicing" a second time, the NIC server rejects it with Error 2150: Duplicate IRN because the invoice is already live on the government portal!
Step-by-Step Fix in TallyPrime (Release 4.0 / 5.0+):
- Press
Alt + G (Go To)→ type and open e-Invoice report. - Click on the Rejected by e-Invoice System bucket (or For IRN Generation).
- Select the voucher showing `Duplicate IRN (2150)` by pressing the
Spacebar. - Instead of clicking Exchange/Send, press
Alt + S (Get IRN Info)on the right button bar! - Enter your e-Invoice API login credentials if prompted. TallyPrime will query the NIC server directly, download the existing 64-character IRN, Ack No., Ack Date, and Signed QR Code, and embed them straight into your voucher.
- Fallback Manual Method: If the invoice is older than 72 hours (beyond the NIC API fetch window), log into
einvoice1.gst.gov.in→ MIS Reports → Generated e-Invoices, copy the `IRN`, `Ack No`, and `Ack Date`, return to the TallyPrime e-Invoice report, and clickAlt + V (Manually Update IRN Info).
Step-by-Step Fix in BUSY Accounting Software:
- Open Transactions → Sales → Modify and open the affected tax invoice.
- Click on the Transport / E-Invoice / EWB Details tab.
- If the IRN field is blank due to a timeout, go to Administration → Configuration → E-Invoice / E-Way Bill or use the **Retrieve IRN / Check E-Invoice Status** utility from the voucher print/upload screen.
- Alternatively, copy the 64-character IRN, 15-digit Ack No., and Ack Date from the NIC portal (`einvoice1.gst.gov.in`) and paste them into the IRN Details box inside the BUSY sales voucher, then press
F2 (Save). Note: To print the dynamic QR code if fetched manually after 72 hours, download the Signed JSON from the NIC portal and import it into BUSY.
3. Fixing Error 2148 / 2156: UQC (Unit Quantity Code) & HSN Master Rejections
Another frequent dispatch blocker occurs when a billing clerk creates a new stock item using an informal unit of measure like PKT (Packet), JOB, FT (Feet), or LTR (Litre)—all of which are rejected by the NIC e-Invoice schema because they do not match the standardized 3-letter **UQC (Unit Quantity Code)** master list:
- Exact Fix in TallyPrime: Go to Alter → Unit → open your unit (e.g., `Nos`, `Kgs`, `Mtr`, `Pcs`) and ensure the Unit Quantity Code (UQC) dropdown is mapped to an official GSTN code (such as `NOS-NUMBERS`, `KGS-KILOGRAMS`, `MTR-METERS`, `BOX-BOX`, `PAC-PACKS`). For pure service invoices (SAC `99xxxx`) where no physical quantity exists, set UQC to
OTH-OTHERS(or leave quantity blank in service accounting layout). - Exact Fix in BUSY: Go to Administration → Masters → Unit → Modify → select the unit and map the UQC for GST E-Invoice/E-Way Bill field to the exact 3-letter NIC master code. Also verify your 4-digit/6-digit HSN/SAC code using our B2B HSN & SAC Compliance Finder Tool → to prevent `Invalid HSN Code` rejections.
The ERP Administrator’s Dispatch Golden Rules
1. Never Delete or Re-Number a Rejected E-Invoice Voucher: If a voucher throws an error during e-invoice upload, fix the underlying master data (PIN code, State code, UQC, or HSN) inside the same voucher unless the IRN was already generated and cancelled (`Error 2278`).
2. Set Distance to Zero (`0`) for Automatic PIN-to-PIN Calculation: To eliminate 95% of E-Way Bill Part-A/Part-B distance rejections (`Error 4013 / 4026`), train operators to leave the Distance (KM) field as `0` whenever the buyer's PIN code is different from your factory PIN code—allowing the NIC server to calculate the official distance automatically.