Skip to content
E-invoicing

E-invoicing

How to Cancel an E-Invoice (and What to Do After 24 Hours)

Last checked 20 October 2026 · 8 min read · Billing Software by Betterwork

An e-invoice IRN can be cancelled only in full and only within 24 hours of its generation, on the same IRP or through your software's cancel option, by selecting a reason. If an e-way bill was generated against it, cancel that first. After 24 hours the IRN cannot be cancelled; corrections must be made through a credit note or debit note, which need their own IRNs.

Mistakes happen — wrong buyer GSTIN, wrong rate, an order cancelled the same afternoon. With e-invoicing, fixing them depends on one question: has it been more than 24 hours since the IRN was generated? This guide explains how cancellation works, the step-by-step process, and the correct alternative once the window has closed.

Can you cancel an e-invoice under GST?

Yes, but with tight limits. An e-invoice (that is, its IRN) can be cancelled:

  • Only within 24 hours of IRN generation.
  • Only in full — partial cancellation of line items or amounts is not allowed.
  • Only by the supplier who generated it, on the IRP that issued it or through the same API route.
  • Only if no active e-way bill is linked to it; cancel the e-way bill first.

Once cancelled, the IRN is marked cancelled in the system and that information flows to the GST system. The document number cannot be reused. For background on how IRNs are created, see how to generate IRN.

When should you cancel versus issue a credit note?

The right fix depends on timing and on the type of error.

Situation Within 24 hours After 24 hours
Wrong buyer GSTIN Cancel IRN, issue fresh invoice Credit note for full value, fresh invoice to correct buyer
Rate or tax overcharged Cancel and reissue, or credit note Credit note for the excess
Value undercharged Cancel and reissue, or debit note Debit note for the shortfall
Order cancelled before dispatch Cancel IRN Credit note for full value
Goods returned after delivery Credit note (usually better) Credit note
Duplicate IRN by mistake Cancel the duplicate Credit note to reverse it

Credit and debit notes on e-invoiced supplies need their own IRNs. See credit note under GST and debit note under GST for format and time limits.

How to cancel an e-invoice on the portal: step by step

  1. Check the clock. Confirm the IRN was generated less than 24 hours ago (the acknowledgement date and time is on the invoice).
  2. Cancel any e-way bill first. Log in to the e-way bill portal and cancel the e-way bill linked to this invoice. E-way bills also have their own 24-hour cancellation window and cannot be cancelled once verified in transit.
  3. Log in to the IRP you used to generate the IRN.
  4. Go to e-Invoice → Cancel.
  5. Enter the IRN (or search by document details).
  6. Select a reason — the options include duplicate, data entry mistake, order cancelled and others — and add a short remark.
  7. Submit. The IRP confirms cancellation with a date and time.
  8. Mark the invoice cancelled in your books and keep both the original and cancellation confirmation on file.
  9. Issue the corrected invoice under a new document number, if required, and generate a fresh IRN.

If your billing system is integrated with the IRP, steps 3 to 7 happen from the invoice screen. Billing Software by Betterwork, for example, offers cancellation only while the 24-hour window is open and prompts you to cancel the linked e-way bill first.

Why can't you cancel after 24 hours?

The 24-hour limit is a system rule built into the IRP. After that point, the e-invoice data has normally flowed to the buyer's view and into return auto-population, so a silent cancellation would disrupt the buyer's records. The law instead expects corrections to be made through credit and debit notes, which leave a clear audit trail for both parties.

Worked example: missed items spotted the next morning

A Thane furniture maker invoices a registered Pune hotel on Monday at 4:00 pm:

Item Amount
20 lounge chairs at ₹9,500 ₹1,90,000
CGST 9% + SGST 9% (charged) ₹34,200
Total billed ₹2,24,200

On Tuesday at 11:00 am the accountant realises the order also included 5 side tables at ₹4,000 that were delivered but not billed.

Option A — cancel and reissue (window open). It is only 19 hours since the IRN. The e-way bill for the consignment has been used and the goods delivered, so the accountant first checks its status: the e-way bill can still be cancelled only if it is within 24 hours and has not been verified in transit. Here it was generated Monday at 3:45 pm and not verified, so it is cancelled first, then the IRN. A fresh invoice is issued for:

Item Amount
20 lounge chairs at ₹9,500 ₹1,90,000
5 side tables at ₹4,000 ₹20,000
Taxable value ₹2,10,000
CGST 9% + SGST 9% ₹37,800
Total ₹2,47,800

Option B — debit note (window closed). Had the error been found on Wednesday, the original invoice stays. A debit note for ₹20,000 + ₹3,600 GST = ₹23,600 is issued and reported to the IRP for its own IRN.

In practice, if goods have already moved, many businesses prefer Option B even inside the window, because it avoids disturbing the e-way bill trail.

What happens to the e-way bill when you cancel?

The e-invoice and e-way bill systems are linked. If an e-way bill was generated through the IRP or separately against the invoice, the IRP will not cancel the IRN while that e-way bill is active. Order matters:

  1. Cancel the e-way bill (within its own window and only if not verified in transit).
  2. Cancel the IRN.
  3. Generate the new invoice IRN and, if goods still need to move, a new e-way bill.

The broader relationship is covered in e-invoice vs e-way bill.

How should you fix errors after the 24-hour window?

Once cancellation is no longer possible, choose the correction route by the type of error.

Value or tax too high

Issue a credit note for the difference, with its own IRN. The buyer reduces its input tax credit by the tax on the note, and you reduce your output tax liability. Example: an invoice of ₹50,000 + 18% GST (₹9,000) should have been ₹45,000 + ₹8,100. The credit note is for ₹5,000 + ₹900 = ₹5,900.

Value or tax too low

Issue a debit note for the shortfall, with its own IRN. Example: goods billed at ₹40,000 that should have been ₹44,000 at 18% need a debit note of ₹4,000 + ₹720 = ₹4,720.

Wrong buyer GSTIN

This is the hardest error to fix after the window. The usual approach is a credit note to the wrong buyer for the full value (reversing the supply on that GSTIN) and a fresh invoice, with a new IRN, to the correct buyer. Coordinate with both parties so that the wrongly billed buyer does not keep the credit. Many advisers also look at whether a GSTR-1 amendment is appropriate; take professional advice before choosing.

Wrong place of supply (CGST/SGST vs IGST)

Tax paid under the wrong head is a known GST problem with its own refund rules. Do not simply cancel and rebill months later; discuss with your tax adviser how to correct it through notes and returns.

Wrong HSN code or description only

If values and tax are correct, the error does not change the amounts payable. Many businesses correct the description on their records, inform the buyer and fix master data so it does not repeat. If the HSN error changes the rate, treat it as a value-or-tax error.

How to stop needing cancellations in the first place

Most cancellations come from avoidable data problems. A short pre-submission check catches the majority:

  1. Validate the buyer GSTIN status before the first invoice to a new customer; the GSTIN validator helps.
  2. Confirm place of supply and therefore the tax type (CGST + SGST or IGST).
  3. Confirm the rate against the item's HSN code under the current GST rate structure.
  4. Check quantities against the delivery note or packing list.
  5. Generate the IRN only when the invoice is final — never on a draft.

What records should you keep after a cancellation?

Keep a simple cancellation file for audit. For each cancelled IRN, store the original invoice with its IRN and QR code, the cancellation acknowledgement with date and time, the reason selected, the linked e-way bill cancellation if any, and the replacement invoice number. Note who approved the cancellation. When an officer or auditor later sees a gap in your invoice series, this file explains it in seconds.

Cancellation checklist for your accounts team

A short written routine prevents most cancellation problems. Before anyone clicks "cancel", run through these questions in order:

  1. Is the problem really in the invoice? A wrong delivery address on a covering letter, or a typo in a remark the buyer does not rely on, may not justify cancelling a valid IRN at all.
  2. Has the buyer already acted on it? If the buyer has booked the purchase, accepted the goods or forwarded the invoice for payment, tell them before you cancel, so their records do not hold an invoice that no longer exists.
  3. Is an e-way bill active? The e-invoice user manual states that an IRN cannot be cancelled while an e-way bill generated for it is active. Deal with the e-way bill first, if it can still be cancelled.
  4. Is the 24-hour window still open? Check the acknowledgement date and time, not the invoice date.
  5. What number will the replacement use? A cancelled invoice number cannot be reused for a new IRN, so plan the next number in your series and note the link between the two.

Writing the reason, the person who approved it and the replacement invoice number into your internal log takes a minute and answers most questions an auditor or the buyer will ask later.

Common mistakes when cancelling e-invoices

  • Trying to reuse the number of the cancelled invoice — the IRP will reject it as a duplicate.
  • Cancelling the IRN but not the paper copy, so the buyer books credit on a cancelled invoice.
  • Forgetting the e-way bill, then finding the IRN cannot be cancelled.
  • Missing the window by an hour because nobody checked the acknowledgement time.
  • Using cancellation for goods returns weeks later instead of a credit note.
  • Not telling the buyer, who may already have recorded the original invoice.
  • Deleting the cancelled invoice from your system; keep it with the cancellation confirmation for audit.

Key takeaways

  • IRNs can be cancelled only in full, only by the supplier and only within 24 hours.
  • Cancel the linked e-way bill first; the IRP blocks cancellation while it is active.
  • A cancelled document number cannot be reused.
  • After 24 hours, use a credit note or debit note, each with its own IRN.
  • Tell the buyer and keep cancellation records for audit.

This guide is general information, not tax advice. Rules last checked on 20 October 2026; confirm with your tax professional for your situation.

Official sources

How to Cancel an E-Invoice (and What to Do After 24 Hours): FAQ

Can I reuse the invoice number after cancelling the IRN?

No. The IRN is built from your GSTIN, financial year, document type and document number. Once that combination has been registered, the IRP will not accept it again even after cancellation. Issue the corrected invoice under the next number in your series and keep the cancelled one on record.

Can I cancel just one line item on an e-invoice?

No. Partial cancellation is not available. Either cancel the whole IRN within 24 hours and issue a fresh invoice, or keep the invoice and issue a credit note for the item that was wrongly billed or returned. Choose based on whether the 24-hour window is still open.

Does a cancelled e-invoice still appear in GSTR-1?

Cancelled IRNs are communicated to the GST system and should not remain as live supplies in your auto-populated GSTR-1. Always review the draft before filing, because timing differences can leave a cancelled document visible, and you are responsible for the final return you file.

Can the buyer cancel or reject my e-invoice?

The buyer cannot cancel your IRN; only the supplier who generated it can do that within 24 hours. A buyer who disagrees with an invoice should ask you to cancel it within the window or issue a credit note. Disputes after that are handled commercially and through credit or debit notes.

Can I amend an e-invoice in GSTR-1 instead of cancelling it?

Amendments in GSTR-1 change return data but do not change the IRN or the signed e-invoice. Treat GSTR-1 amendment as a last resort for genuine reporting errors and discuss it with your tax adviser, because mismatches between the e-invoice and the return can draw questions later.

Book DemoClaim ₹9,999 Offer
Chat for offersReply in minutes on WhatsApp