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

PUT invoice/makefinal

Used for

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

Authentication

Requires authentication.

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