What this call does
Permanently deletes one business document, an order, delivery note, invoice or credit note, together with everything hanging off it.
Last updated: 15.05.2026
What you need first
- A valid API key in the
API-Keyheader, and yourcompanyAccountId. - The
documentIdfrom Search business documents. Never delete an ID you guessed.
Parameters
Parameter | Required | Default | Meaning |
|---|---|---|---|
| Yes | none | In the path after |
| Yes | none | Your company ID, in the address line. |
The fields
This call has no data packet. Do not send one.
What you get back
204 No Content, an empty answer with no text at all. If you see nothing, it worked. To be sure, call Search business documents with the same ID in ids: totalElements: 0 means it is gone.
Common mistakes
What you see | Why | What to do |
|---|---|---|
| The document does not exist, or does not exist any more | This is also what a second delete of the same ID returns. Treat it as "already gone". |
| Key missing, wrong, or not entitled to that | Check the key and the company. |
The line items are gone too | The delete takes everything on the document with it | Expected. There is no way to keep them. |
The attached files are gone from storage | Attachments are deleted, not only unlinked | Download what you need with Download the file of a business document first. |
Adresse
DELETE https://api.cathago.de/v3/api/gateways/integration/documents/:documentId?companyAccountId=<companyAccountId>Beispielaufruf
curl -X DELETE 'https://api.cathago.de/v3/api/gateways/integration/documents/:documentId?companyAccountId=<companyAccountId>' \
-H 'API-Key: <Ihr API-Schlüssel>'