Documentation
Difficulty level:
This section only applies if the module Invoice is active.
API - Invoice - DELETE invoice
DELETE invoice
Used for
Deleting an invoice. Only possible when invoice is in status draft
Authenticatie
Gebruiker dient ingelogd te zijn op beheerdersniveau.
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
Request:
{
"invoice_id": "12"
}
Response:
{
"status": true,
"invoice_id": 12,
"messages": [
"Invoice deleted"
]
}





