Documentatie
Deze sectie is alleen van toepassing indien de module Factuur actief is.

PUT invoice/makefinal

Used for

Making an invoice final. This means the status changes to final and the invoice cannot be altered anymore.

Authenticatie

Gebruiker dient ingelogd te zijn op beheerdersniveau.

Parameters

Parameter Description Required Example
invoice_id invoice id Yes 12

Response codes

  • 200 OK

Example

Make an invoice with invoice id 12 final.

PUT api/rest/invoice/makefinal
Request: 
{ 
   "invoice_id": "12"
}
Response: 
{
  "status": true,
  "invoice_id": 12,
  "messages": [
    "Invoice updated - Invoice is now final"
  ]
}
Onderstaand recht kan nodig zijn om deze functionaliteit te kunnen gebruiken.