document_update
Update a draft invoice or document by sending only the fields to change; omit fields to leave them as-is or send null to clear them. Finalized documents cannot be edited.
Instructions
Change a document that is still a draft.
A finalized document is a record of what was issued and cannot be edited;
409 if it has moved past draft. Only the fields you send are changed —
omit one to leave it alone, and send null to clear it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| terms | No | ||
| locale | No | ||
| number | No | ||
| reason | No | ||
| payment | No | ||
| ship_to | No | ||
| branding | No | ||
| currency | No | ||
| due_date | No | ||
| shipping | No | ||
| discounts | No | ||
| issue_date | No | ||
| line_items | No | ||
| tax_scheme | No | ||
| customer_id | No | ||
| document_id | Yes | ||
| custom_fields | No | ||
| delivery_date | No | ||
| document_type | No | ||
| buyer_reference | No | ||
| source_document_id | No | ||
| business_profile_id | No |