Documentatie
Moeilijkheidsgraad:
Deze sectie is alleen van toepassing indien de module Factuur actief is.
API - Invoice - DELETE invoice
DELETE invoice
Used for
Deleting an invoice. Only possible when invoice is in status draft
Authentication
Requires authentication.
Parameters
| Parameter | Description | Required | Example |
|---|---|---|---|
| invoice_id | invoice id | Yes | 12 |
Response codes
- 200 OK
Example
Deleting an invoice with invoice id 12.
DELETE api/rest/invoice
{
"invoice_id": "12"
}
Response:
{
"status": true,
"invoice_id": 12,
"messages": [
"Invoice deleted"
]
}





