Update invoice custom fields
Set or clear the custom field values of an invoice. Fields are addressed by their definition id or by their key, and only the fields present in the request are touched — omitted fields keep their current value, while null, an empty string or an empty array clears a field. Custom fields carry no accounting meaning, so they can be written at any invoice status, including exported and archived invoices. Every change is recorded in the invoice’s activity feed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Invoice ID
Body
Custom fields to write, keyed by definition id (or, on the public API, by definition key). Only the fields present here are touched; omitted fields keep their current value. Pass null, an empty string or an empty array to clear a field. Select fields take an option id, multi-select fields a list of option ids, checkboxes a boolean.
Response
Custom field values of the entity, keyed by definition id. Each entry carries the definition key and label alongside the raw value and its human readable display value.

