E-invoice error 2278: duplicate IRN on cancelled document explained

E-invoice error 2278 occurs when your billing software attempts to generate an IRN for an invoice number whose IRN was already generated and cancelled on the IRP. While some third-party ERP connectors incorrectly label this issue as error 2188, the official NIC error code returned is 2278. Once cancelled, the central system permanently stores that document hash for the entire financial year. You cannot regenerate an IRN for the same bill number; you must generate a fresh bill under a new serial number as required by Rule 46(b).

When an accounts team discovers a mistake on an e-invoice, such as an incorrect buyer GSTIN or wrong tax rate, the natural instinct is to cancel the document, make corrections in the billing system, and click upload again with the same invoice number. Doing so results in an immediate rejection from the Invoice Registration Portal (IRP), returning official error code 2278: IRN is already generated and is cancelled for this Document number. The duplicate IRN cannot be generated for the same number.

In standard accounting software, bookkeepers routinely void a voucher and reuse the old bill number. Under the Goods and Services Tax electronic invoicing regime, that workflow fails. The central database treats invoice numbers as single-use identifiers within each financial year.

Statutory framework: Rule 48(4) and Rule 46(b)

Under Rule 48(4) of the CGST Rules, every notified taxpayer must report outward supply details in Form GST INV-01 on the e-invoice portal to obtain a digitally signed Invoice Reference Number (IRN) and a signed Quick Response (QR) code. Under Rule 48(5), any invoice issued without an IRN by a person covered under Rule 48(4) is treated as completely invalid for GST purposes.

The IRN is not a random sequence. It is a 64-character SHA-256 mathematical hash generated by combining four parameters:

  1. Supplier GSTIN
  2. Document type (INV for tax invoice, CRN for credit note, DBN for debit note)
  3. Document number (the invoice serial number)
  4. Financial year (such as 2026-27)

In addition, Rule 46(b) of the CGST Rules mandates that an invoice serial number must be consecutive, not exceed 16 characters, contain only alphabets, numerals, and special characters (hyphen - and slash / only), and remain unique for a financial year.

Official guidance on the e-invoice system portal confirms that after cancellation, the government database retains the cancelled hash. The portal logic explicitly states: once an e-invoice is cancelled, the same invoice number cannot be re-used to generate another IRN in that financial year.

Notice risk: If your ERP lets you reuse a cancelled invoice number without generating a new IRN, and you send that bill to your customer, the customer cannot claim input tax credit under Section 16(2)(aa). An invoice without an active, verified IRN is legally non-existent under Rule 48(5).

Why the IRP blocks cancelled document numbers

The central registry enforces strict de-duplication across all six accredited IRPs. When an invoice is registered, the hash is broadcast to the GST Common Portal and the e-way bill system. The architecture blocks number reuse for three technical and legal reasons:

  • Audit trail integrity: A cancelled IRN remains part of the tax audit trail. If the portal permitted the reuse of the same document number with different values or a different buyer GSTIN, two conflicting sets of data would share the same legal reference.
  • Auto-population sync with GSTR-1: When an IRN is created, details auto-populate into the supplier Form GSTR-1. When cancelled within 24 hours, the status updates to cancelled. Allowing a second document with the same serial number would corrupt the auto-population pipeline.
  • E-way bill matching: E-way bills generated against the original IRN rely on the unique combination of GSTIN, document number, and date. Reusing the document number creates severe validation collisions in transit inspection databases.

Step-by-step resolution: how to handle error 2278

When you encounter error 2278 on a cancelled document, your next action depends on whether the 24-hour portal window is open or closed:

Check 24-hour window → Cancel voucher in ERP → Issue new invoice number → Generate fresh IRN

Scenario A: The original IRN was cancelled within 24 hours

If you or your billing operator cancelled the IRN on the portal within the permissible 24-hour limit:

  1. Do not attempt to modify the invoice values and resubmit the same invoice number. The IRP will continuously reject the request.
  2. In your accounting software (Tally Prime, Zoho Books, SAP, Busy, or Marg), mark the original invoice voucher as cancelled.
  3. Create a fresh invoice voucher with the next sequential invoice number under Rule 46(b).
  4. Ensure all particulars, such as buyer GSTIN, HSN codes, and item amounts, are accurate.
  5. Upload the fresh payload to the IRP to receive a new IRN, Ack No, and signed QR code.

Scenario B: The 24-hour cancellation window has passed

The IRP strictly shuts cancellation after 24 hours from generation. If the mistake is discovered after 24 hours, the IRP will not accept a cancellation request, returning error 2270. In this case:

  1. Do not cancel the invoice in your ERP without addressing the GST portal record. The invoice has already been queued for GSTR-1 auto-population.
  2. Log in to the GST Common Portal (tutorial.gst.gov.in). Go to Returns Dashboard → Form GSTR-1.
  3. Locate the auto-populated record in Table 4A (B2B Invoices). If the supply did not take place, you can delete or manually edit the entry in GSTR-1 before filing.
  4. If the goods or services were already dispatched or delivered, issue a formal Credit Note under Section 34 of the CGST Act. Generate an IRN for the credit note (document type CRN) to legally reverse the tax liability and adjust the buyer ledger.
  5. Issue a fresh tax invoice with a new serial number for the correct supply.

Common mistake: Deleting an invoice from your ERP after 24 hours while leaving the active IRN on the portal. This creates a severe mismatch between your financial books and Form GSTR-1, triggering automated liability mismatch notices under Rule 88C (Form DRC-01B).

Worked example: correcting an outward billing error

Bharat Precision Tools (GSTIN 27AAACB5678B1Z2) issues an outward tax invoice for industrial valves on 19 October 2026. The billing operator enters the wrong recipient GSTIN on invoice number BPT/26-27/0501.

Document number Taxable value GST (18%) Portal action taken Result and remedy
BPT/26-27/0501 (Original) ₹1,50,000 ₹27,000 IRN created, then cancelled within 4 hours IRN cancelled successfully on IRP
BPT/26-27/0501 (Corrected upload) ₹1,50,000 ₹27,000 Operator attempts to reuse same number Rejection: Error 2278 (Duplicate on cancelled)
BPT/26-27/0502 (Fresh invoice) ₹1,50,000 ₹27,000 Fresh number under Rule 46(b) with correct GSTIN New IRN generated: 7b2c...9e41

The accountant voids invoice BPT/26-27/0501 in the accounting register. Invoice BPT/26-27/0502 is generated with taxable value ₹1,50,000, CGST ₹13,500, and SGST ₹13,500, totalling ₹1,77,000. The upload succeeds, the correct buyer receives the document, and the supply auto-populates accurately into GSTR-1 without leaving lingering duplicate liability.

Impact on GSTR-2B and recipient reconciliation

When suppliers run into e-invoice errors and fail to handle them properly, their buyers bear the administrative burden during monthly return filing between the 14th and 20th. Common pitfalls include:

  • Supplier issues un-registered invoice: After encountering error 2278, a frustrated supplier prints the bill directly from their software without an IRN and sends it to the customer. The invoice never appears in the customer Form GSTR-2B. Under Section 16(2)(aa), the customer cannot claim credit.
  • Ghost entries in GSTR-2B: If the supplier fails to cancel the old IRN within 24 hours and simply creates a second invoice, both invoices flow to the buyer GSTR-2B. The buyer accounts team must identify the duplicate and reject or hold it to prevent excess ITC claims that attract scrutiny under Rule 88D (Form DRC-01C).

For related error scenarios, review our guide on how to fix e-invoice IRN error 2150 duplicate IRN when an active document already exists. If your team missed the portal window, read our detailed guide on the e-invoice cancellation 24 hours deadline on the IRP portal. To systematically clean up purchase registers and eliminate phantom records, see our guide on how to handle duplicate invoices in GSTR-2B reconciliation.

Related guides

Frequently asked questions

Why does the e-invoice portal reject a document whose earlier IRN was cancelled?

The Invoice Registration Portal computes the 64-character IRN hash using supplier GSTIN, document type, document number, and financial year. Once an IRN is cancelled, the central database retains that hash on record. Any subsequent request to register the identical document number in that financial year is rejected to prevent duplicate or conflicting invoices.

Can you reuse an invoice number after cancelling its IRN within 24 hours?

No. Under GSTN e-invoice validation rules, cancelling an IRN on the portal frees the transaction liability, but it does not free the document number. That specific invoice serial number is permanently consumed for that financial year. You must raise a new billing voucher with another sequential identifier under Rule 46(b).

How do you correct an e-invoice when the 24-hour cancellation window has passed?

Once 24 hours pass from generation, the IRP does not permit cancellation. Because the invoice auto-populates into Form GSTR-1, you can edit or delete the invoice directly in GSTR-1 before filing, or issue a formal Credit Note under Section 34 of the CGST Act with its own separate IRN.

What should the buyer do if a supplier reuses an invoice number after cancellation?

The buyer must reject or hold the document. If the supplier reuses the old invoice number without a valid active IRN, the invoice is invalid under Rule 48(5) and input tax credit will be denied under Section 16(2)(aa). The buyer should ask the supplier for a fresh invoice with a new serial number and an active QR code.

Check your own GSTR-2B

Find missing invoices, duplicate supplier bills, and mismatched tax amounts in seconds. Your GSTR-2B and purchase register files are read in your browser and never uploaded to any server.

Reconcile GSTR-2B →

Last checked: 19 October 2026. Sources: CBIC CGST Rule 48, NIC E-Invoice System FAQs, GSTN Form GSTR-1 User Manual.