update_invoice
Update an existing invoice by ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID (from search_invoices) | |
| currency | No | Currency code | |
| due_date | No | Due date in YYYY-MM-DD format | |
| due_days | No | Days until payment is due | |
| client_id | No | New client ID | |
| document_date | No | Invoice date in YYYY-MM-DD format | |
| lower_annotation | No | Text below line items | |
| upper_annotation | No | Text above line items | |
| document_positions | No | Replacement line items. By default these replace ALL existing positions; set document_positions_update_policy: "append" to add instead. | |
| document_positions_update_policy | No | How document_positions are applied: "replace" (default — swap all existing lines) or "append" (add to existing lines). |