Update Invoice Record

Updates the information of a single invoice record.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Requires the Edit permission for invoices.

Changing invoice_number, supplier, or outlet triggers a duplicate check against existing invoices in the same outlet. If a conflict is found, the endpoint returns a 409 Conflict with an INVOICE_NUMBER_DUPLICATED_EXCEPTION error.

A purchase_orders list that leaves out a purchase order already linked to the invoice is refused with 409 while the invoice has a credit request that was not withdrawn. The response lists those credit requests in credit_request_ids, and nothing in the request is saved. Adding purchase orders is not affected.

Path Params
string
required

The ID of an invoice.

Body Params
string

The ID of the outlet.

string

The ID of the supplier.

string
purchase_orders
array of strings

List of IDs of purchase orders

purchase_orders
date
date
float
boolean
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json