Business · Live
E-Invoice Cancellation API
Cancel a registered IRN within the window the portal allows.
What the Cancel IRN API does
Cancel an invoice you have already registered, giving the IRN and a reason. The portal allows cancellation only inside a limited window after registration, so this is usually wired to the same workflow that issues a credit note. Calls carry your own GST portal API credentials (GSTIN, username and password), so filings are made as you, on your own registration. We never file on our own account.
Popular use cases
- →Correcting invoices cancelled or amended shortly after issue
- →Automating credit-note workflows in accounting software
- →Reversing test or duplicate registrations before they reach filings
curl -X POST https://apisathi.in/gw/v1/einvoice-cancel-irn-v1/ \
-H "X-API-Key: live_xxx" \
-H "Content-Type: application/json" \
-d '{ "gstin": "23BEFPJ5660F2ZP", "username": "your_portal_user", "password": "•••", "payload": { "Irn": "a5c…", "CnlRsn": "1", "CnlRem": "Duplicate" } }'{
"success": true,
"data": { "Irn": "a5c…", "CancelDate": "2026-08-31 11:20:00" }
}Frequently asked questions
How long do I have to cancel?
The portal permits cancellation only for a limited period after registration. After that you issue a credit note instead — cancellation is refused.
Am I charged if the portal refuses the cancellation?
No. A rejection is returned as an error and the wallet hold is released. You pay only for calls the portal accepted.
Start using the Cancel IRN API today
Sign up, recharge a prepaid wallet and generate a key in minutes. Lowest price guaranteed, no volume commitment.