This API is work in progress
To update an existing client or supplier invoice.
The URL parameters are:
The invoice ID.
The request BODY contains a JSON payload with the new invoice’s properties:
Optional. Use if you want to update any of the properties.
Refer to Invoice Properties Record and notable the section “UPDATING”
Optional. Use if you want to replace the existing invoice lines with a new set of lines.
An array if invoice lines. You must submit at least 1 line.
See Invoice Line Record and make sure to read the notes on Inserting and Updating lines.
This is optional. It will be populated with the presets configured in the client record by default (which usually is what is wanted).
If you want to customize this section, submit this object: Invoice Distribution Record
The result is the updated invoice document.
See Invoice Document Record for details.