Cancel IRN


Overview
The API cancels e-invoice within a stipulated time using IRN
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 |
---|---|
|
Request Body
RAW_BODY
Param | Type | Description | Example |
---|---|---|---|
Irn |
| Invoice Reference Number | a5c12dca80e743321740b001fd70953e8738d109865d28ba4013750f2046f229 |
CnlRsn |
| Cancel Reason | 1 |
CnlRem |
| Cancel Remarks | Wrong entry |
Once the values are added, Your curl will look something like this
curl --request POST \
--url https://api.sandbox.co.in/ \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-api-version: 1.0' \
--data '
{
"Irn": "a5c12dca80e743321740b001fd70953e8738d109865d28ba4013750f2046f229",
"CnlRsn": "1 ",
"CnlRem": "Wrong entry"
}
'
Response
Param | Type | Description | Example |
---|---|---|---|
Irn |
| IRN that is cancelled | a5c12dca80e743321740b001fd70953e8738d109865d28ba4013750f2046f229 |
CancelDate |
| Date of cancellation of the IRN | 2019-12-05 14:26:00 |
Updated 25 days ago