Cancel e-Invoice
Cancel an e-Invoice by passing the invoice registration number (IRN).
Request body schema
View request body schema
Headers
E-Invoice access token. For token-generation steps, refer to the Generate E-Invoice Session recipe, then pass the token in the authorization header.
Specifies the source to access, either primary (NIC 1) or secondary (NIC 2)
primary, secondary "primary"
Enables criss-cross operations by routing requests through the specified source (e.g., access primary via secondary if primary is unavailable)
primary, secondary "secondary"
API version
API key for identification
Path Parameters
Body
Response
200 IRN cancelled / 9999 IRN is not active / 2270 More than 24 hrs old / 2230 IRN cannot be cancelled as EWB is active / 2143 IRN doesn't belong to user