Generating an e-invoice with an incorrect tax rate, wrong buyer GSTIN, or mismatched quantity creates an urgent problem for billing desks. Many accountants discover billing mistakes hours after printing the invoice or dispatching goods. When they attempt to correct the document, they often hit rigid technical walls built into the e-invoicing architecture.
The Invoice Registration Portal does not allow editing or partial cancellation of an existing IRN. The system offers only one direct remedy: complete cancellation within a strict 24-hour statutory window. Knowing what to do within those 24 hours, and how to rectify transactions once that deadline passes, keeps your outward liability and your customer input tax credit clean.
Legal basis: Rule 48(4) and the 24-hour cancellation rule
Under Rule 48(4) of the CGST Rules, notified classes of registered taxpayers must report invoice particulars in Form GST INV-01 on the Common GST Electronic Portal to obtain an IRN. Under Rule 48(5), any invoice issued without an IRN by a covered supplier is legally invalid, disentitling the buyer from taking input tax credit.
Official guidance on the NIC e-Invoice portal FAQ establishes that an IRN, once generated, cannot be modified or deleted. It can only be cancelled. Cancellation must occur within 24 hours from the exact timestamp of IRN generation. E-invoices cannot be partially cancelled; the entire document must be cancelled.
Common mistake: Assuming that cancelling an e-invoice frees up the document number. Under official IRP rules, once an IRN is cancelled, that exact invoice number is blocked in the central registry for that financial year. Re-uploading the same document number triggers error code 2278. Read our guide on resolving e-invoice IRN error 2150 duplicate IRN to understand how portal number validation operates.
Active e-way bill barrier: error code 2230
When goods move with an invoice, businesses frequently generate both an e-invoice and an e-way bill together. If you discover a mistake on such an invoice, the IRP will not permit immediate IRN cancellation.
According to the NIC e-Invoice portal error master, attempting to cancel an IRN while an e-way bill remains active triggers error code 2230: This IRN cannot be cancelled because e-way bill has been generated , you can cancel e-way bill and then try cancelling IRN.
Under Rule 138(9) of the CGST Rules, an e-way bill can be cancelled within 24 hours of generation, provided the consignment has not been intercepted in transit. You must log in to the e-way bill portal, cancel the active e-way bill first, and only then proceed to cancel the IRN on the IRP.
Step-by-step procedure: cancelling an IRN within 24 hours
If you catch the billing mistake within 24 hours of generation, execute the cancellation on the portal using these verified steps:
- Check e-way bill status: If an e-way bill was generated against the invoice, cancel it on the e-way bill system before proceeding.
- Log in to the e-invoice portal: Navigate to the IRP where the IRN was generated (such as einvoice1.gst.gov.in) and enter your credentials.
- Open cancellation menu: Select e-Invoice → Cancel from the left navigation panel.
- Enter IRN or document details: Enter the 64-character IRN or provide the document type, document number, and financial year. Click Go.
- Select cancellation reason: Choose the standard cancellation reason from the portal drop-down list:
- 1: Duplicate
- 2: Data Entry Mistake
- 3: Order Cancelled
- 4: Others
- Provide remarks and confirm: Enter a brief explanation in the remarks field and submit. The portal confirms cancellation and marks the IRN status as Cancelled.
What happens when the 24-hour limit expires: error code 2270
If more than 24 hours elapse from the moment of IRN generation, the IRP locks the document. Attempting to trigger cancellation through the portal UI or an API call returns error code 2270: The allowed cancellation time limit is crossed, you cannot cancel the IRN.
Taxpayers cannot extend this 24-hour limit. The e-invoice system auto-populates all active IRN data directly into the supplier Form GSTR-1 on the GST portal under tables 4A, 4B, 4C, 6B, and 6C. Once 24 hours pass, you must resolve the error directly on the GST portal using return adjustments or formal credit notes.
Resolution routes after the 24-hour deadline
When the 24-hour window has expired, you have two lawful routes to correct the transaction, depending on whether you have filed your GSTR-1 for the relevant tax period.
Route 1: Modifying or deleting the record in Form GSTR-1 before filing
The GSTN user manual for Form GSTR-1 confirms that auto-populated e-invoice data in GSTR-1 is not permanently locked. Taxpayers can modify or delete invoices any number of times until they submit Form GSTR-1 for that particular tax period.
If the supply was completely cancelled and no goods or services were exchanged, log in to the GST portal, open Form GSTR-1, find the auto-populated invoice under Table 4A, and click Delete. When you delete the record, the outward tax liability is removed from your GSTR-1 summary. Note that deleting the invoice in GSTR-1 leaves the IRN on the IRP marked as active, but removes the liability from your tax return. Maintain internal documentation explaining the discrepancy for audit purposes.
Route 2: Issuing a credit note under Section 34 of the CGST Act
If you have already filed Form GSTR-1, or if goods were dispatched and subsequently returned or rejected by the buyer, you cannot simply delete the invoice. You must follow the statutory procedure under Section 34 of the CGST Act by issuing a credit note.
Under Section 34(1), where a tax invoice has been issued and the taxable value or tax payable exceeds the actual amount, or where goods supplied are returned, or where services are found deficient, the registered supplier may issue a credit note to the recipient. If your business is subject to Rule 48(4), this credit note must also be uploaded to the IRP to generate its own IRN.
When generating the credit note on the IRP and reporting it in GSTR-1, specify the appropriate reason code:
- 01: Sales Return (goods physically sent back by the buyer)
- 02: Correction in Invoice (clerical or arithmetic error in value, rate, or tax)
- 04: Deficiency in Service (short supply or incomplete service delivery)
Worked example: handling an expired cancellation window
Consider Precision Tooling Private Limited (GSTIN 27AAACP1234A1Z2), a registered manufacturer in Pune. On 10 October 2026, the billing team generates an e-invoice with IRN for outward delivery of industrial gauges to a buyer in Ahmedabad.
Two days later, on 12 October 2026 (48 hours after IRN creation), the sales team notices that the quantity was entered as 100 units instead of 10 units. The taxable value was billed at ₹5,00,000 instead of ₹50,000.
| Document reference | Taxable value | IGST (18%) | Total invoice value | Action taken |
|---|---|---|---|---|
| Original invoice INV-26-27/0880 | ₹5,00,000 | ₹90,000 | ₹5,90,000 | IRP cancellation locked (error 2270) |
| Credit note CRN-26-27/0105 | ₹4,50,000 | ₹81,000 | ₹5,31,000 | IRN generated under Section 34 (Reason 02) |
| Net outward liability | ₹50,000 | ₹9,000 | ₹59,000 | Accurate net tax discharged in GSTR-3B |
Here is the exact arithmetic verification: original taxable value of ₹5,00,000 minus credit note taxable value of ₹4,50,000 leaves net taxable value of ₹50,000. Original IGST of ₹90,000 minus credit note IGST of ₹81,000 leaves net tax liability of ₹9,000. Total invoice reduction of ₹5,31,000 leaves net total invoice value of ₹59,000.
Because the 24-hour IRP deadline had passed, Precision Tooling did not alter invoice INV-26-27/0880. Instead, they issued Credit Note CRN-26-27/0105 for the excess value (₹4,50,000 plus ₹81,000 IGST) citing Reason 02 (Correction in Invoice), obtained a new IRN for the credit note, and supplied both documents to the customer.
Impact on buyer GSTR-2B and monthly reconciliation
When you cannot cancel an erroneous e-invoice on the IRP, your mistake flows downstream into your buyer GSTR-2B. In the scenario above, the buyer initial GSTR-2B will show an eligible ITC of ₹90,000 under the B2B table. If the buyer avails this entire amount in Form GSTR-3B, they face excess credit claims and scrutiny notices under Rule 88D.
Once you report the credit note in your GSTR-1, the credit note auto-populates into the buyer GSTR-2B under the CDNR table. GSTR-3B Table 4(A)(5) auto-populates ITC on a net basis, automatically reducing the buyer available credit by ₹81,000. Learn more about matching credit notes and handling net reversals in our detailed walkthrough on GSTR-2B credit note reconciliation.
When suppliers fail to issue credit notes promptly or enter mismatched document numbers, buyers experience reconciliation discrepancies. For structured diagnostic techniques, consult our guide to common GSTR-2B reconciliation errors and fixes.
Related guides
- E-invoice for B2B credit note: IRN generation deadline and rules
- E-invoice signature verification and digital signature error fix
- E-invoice error 2265: HSN code digit length mismatch and turnover rules
- GST cancellation revocation application Form REG-21: rules, portal steps, and timelines
- Financial credit note vs GST credit note Section 34
Frequently asked questions
Can an IRN be cancelled on the IRP after 24 hours?
No. The Invoice Registration Portal strictly closes cancellation exactly 24 hours after generation. Any cancellation attempt past 24 hours returns error code 2270: The allowed cancellation time limit is crossed, you cannot cancel the IRN.
Why does the portal show error 2230 when cancelling an e-invoice?
Error 2230 occurs because an active e-way bill is linked to the invoice. The IRP prevents cancellation until the associated e-way bill is first cancelled on the e-way bill portal.
Can I reuse an invoice number after cancelling its e-invoice on the IRP?
No. Once an IRN is generated and cancelled on the IRP, that exact document number is permanently blocked for the entire financial year. You must issue a fresh invoice with a new unique serial number under Rule 46(b).
How do you correct an e-invoice mistake after 24 hours have passed?
Because the invoice auto-populates into Form GSTR-1, you can either delete or edit the record in GSTR-1 before filing, or issue a formal Credit Note under Section 34 of the CGST Act with a separate IRN to reverse the transaction.
Match your inward e-invoices and credit notes
Ensure that vendor credit notes, cancelled supplies, and downward amendments match your purchase books before filing GSTR-3B. Your GSTR-2B and purchase register files are read in your browser and never uploaded to any server.
Last checked: 15 October 2026. Sources: CBIC CGST Rules Rule 48, CBIC CGST Act Section 34, NIC e-Invoice Portal FAQs, NIC e-Invoice Error Codes Master, GSTN GSTR-1 User Manual.