Cancel a document
Documents
Cancel a document
Cancels an active document by its hash_id. The document remains in your account with a cancelled status.
DELETE
Cancel a document
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is an API key from the API Integration section of your dashboard. Keys are scoped to the company they are generated in — for testing, add a separate test company and generate the key there, so requests never touch your real books.
Path Parameters
The hash id of the document to be cancelled
Query Parameters
Set to 1 if you want to cancel a document with e-invoice

