Documentation
This section only applies if the module Invoice is active.

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"
  ]
}
The following right may be necessary in order to use this functionality.