Cancel IRN
The Invoice Registration Number can only be canceled within 24 hours of generating it.
Overview
API to cancel the e-invoice by passing the irn
number.
Stipulated Time
IRN can be canceled only within 24 hours of its generation. However, it cannot be canceled if a Valid or Active E-Way Bill exists for the same.
Endpoint
HTTP Method | Resource |
---|---|
POST |
Request
Follow the below guidelines to cancel a given IRN.
Path Parameter
Param | Type | Description | Example |
---|---|---|---|
gstin | string | 15-character alphanumeric unique identifier assigned to business entities registering under the GST regime | 24AAACJ3770E2ZV |
Body
Param | Type | Description | Example |
---|---|---|---|
Irn | string | Invoice Reference Number | a5c12dca80e743321740b001fd70953e8738d109865d28ba4013750f2046f229 |
CnlRsn | string | Cancel Reason 1- Duplicate, 2 - Data entry mistake, 3- Order Cancelled, 4 - Others | 1 |
CnlRem | string | Cancel Remarks | Wrong entry |
Sample CURL Request
curl --request POST \
--url'https://api.sandbox.co.in//24AAACJ3770E2ZV' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-api-version: 1.0' \
--data '
{
"Irn": "a5c12dca80e743321740b001fd70953e8738d109865d28ba4013750f2046f229",
"CnlRsn": "1 ",
"CnlRem": "Wrong entry"
}
'
Test Environment Not Available
Response
Param | Type | Description | Example |
---|---|---|---|
Irn | string | IRN that is canceled | a5c12dca80e743321740b001fd70953e8738d109865d28ba4013750f2046f229 |
CancelDate | string | Date of cancellation of the IRN | 2019-12-05 14:26:00 |
Response Caching
Response caching is not available for this API. Learn more about our response caching mechanism here
Wallet Charges
Since Cancel IRN API is a Paid API, a wallet charge will take place.
Versioning
This API is currently in major version 1.0. Refer to our versioning policies here
Updated 2 months ago