Cancel IRN

21522152

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

POST

API EndpointAPI Endpoint

Request Body

RAW_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

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

string

IRN that is cancelled

a5c12dca80e743321740b001fd70953e8738d109865d28ba4013750f2046f229

CancelDate

string

Date of cancellation of the IRN

2019-12-05 14:26:00


Did this page help you?