API reference · Invoices
PUT/api/v1/invoices/{id}

Update invoice

Updates an invoice using ApiBaseController.update().

RBAC · invoice

Path parameters

idstring <uuid>Required
Path UUID parameter resolved by ApiBaseController.extractIdFromPath().

Request body

Content type: application/json · schema InvoiceUpdateBody

client_idstring <uuid>
invoice_datestring
due_datestring
subtotalinteger
≥ 0
taxinteger
≥ 0
total_amountinteger
≥ 0
statusstring
Enum: draftsentpaidoverduecancelledpendingprepaymentpartially_applied
credit_appliedinteger
≥ 0
is_manualboolean
is_prepaymentboolean
itemsarray of object
itemsobject

Response body

Success response 200 · schema FinancialInvoiceApiSuccess

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Invoice operation succeeded.
400
Invalid id or payload.
401
API key missing/invalid.
403
invoice:update permission denied.
404
Invoice not found.
500
Unexpected invoice operation failure.