update_draft_invoice
Update editable fields on a DRAFT invoice (notes, internal notes, payment terms, payment instructions, due date, purchase order number). Only valid while the invoice is still a Draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes to appear on the invoice. | |
| due_date | No | Due date override (ISO 8601). | |
| invoice_id | Yes | Id of the draft invoice to update. | |
| payment_terms | No | Payment terms, e.g. "Net 30". | |
| internal_notes | No | Internal notes (not on the printed invoice). | |
| idempotency_key | No | Optional caller-supplied key; retrying with the same key returns the original result instead of acting twice. | |
| payment_instructions | No | Bank / payment instructions for the customer. | |
| purchase_order_number | No | Customer PO number to reference on the invoice. |