Cancel E-Invoice
Cancellation of an E-Invoice transaction.
URL
frontoffice/canceleinvoice
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | czWw7san84McHmFHo2Bo8ziaObDgctcS | Key obtained from authentiaction. |
| islno | Integer | M | 12 | Unique number generated for the entry | ||
| fyear | Integer | M | 23 | Financial Year | ||
| firmid | Integer | M | Firm ID |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| islno | Integer | M | 12 | Unique number generated for the entry | ||
| fyear | Integer | M | 23 | Financial Year | ||
| einvirn | String | M | 933e07c445b15108edb6a44 | E-Invoice IRN | ||
| einvjson | String | M | {"AckNo":152314281808410,"AckDt":"2023-04-01 17:28:00","Irn":"933e07c445b15108edb6a44d","SignedInvoice":"eyJhbGciOiJSUzI1Ni","SignedQRCode":"eyJhbGciOiJSU","Status":"ACT","EwbNo":null,"EwbDt":null,"EwbValidTill":null,"Remarks":null} | E-Invoice details | ||
| einvqrcode | String | M | eyJhbGciOiJSUzI1NiIsImtpZCI6IkI4RDYzRUNC | E-Invoice QR Code | ||
| einvcanceldate | String | M | 2023-04-01 20:37:00.000 | E-Invoice cancelled date |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"islno": "12",
"fyear": "23",
"firmid": ""
}
Sample Success Response
{
"islno": "12",
"fyear": "23",
"einvirn": "933e07c445b15108edb6a44",
"einvjson": "{"AckNo":152314281808410,"AckDt":"2023-04-01 17:28:00","Irn":"933e07c445b15108edb6a44d","SignedInvoice":"eyJhbGciOiJSUzI1Ni","SignedQRCode":"eyJhbGciOiJSU","Status":"ACT","EwbNo":null,"EwbDt":null,"EwbValidTill":null,"Remarks":null}",
"einvqrcode": "eyJhbGciOiJSUzI1NiIsImtpZCI6IkI4RDYzRUNC",
"einvcanceldate": "2023-04-01 20:37:00.000",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 499,
"msg": "Invalid Session"
}