Documentatie
Module textPhrase before ModuleName Factuur Module textPhrase after ModuleName.

PUT invoice/makefinal

Used for

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

Authentifizierung

Der Benutzer muss auf Administratorebene angemeldet sein.

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"
  ]
}
Necessary right