The CancelInvoice request is used to cancel the invoice as long as it's not yet activated. Note that all invoice rows are canceled.

This functionality is non-reversible, so if done incorrectly, you will need to create a new invoice from scratch. 

This method is available in the following countries:  
      

Input Parameters:

Field nillable Max Type Description
Username false 50 string The username used to authorize the request.
Password false 50 string The password used to authorize the request.
StoreId true 4 short The StoreId used for identification of store.
CorrelationId true 50 string CorrelationID is sent back in the response.
CountryCode false 2 string The country code (ISO 3166-1 alpha-2) for the country.
InvoiceNo false 50 string The InvoiceNo returned in AddInvoice.

 

Output Parameters:

Field nillable Max Type Description
CorrelationId true 50 string CorrelationID from the request if any.