Update draft
solo_update_draftChange a draft: lines, due days, notes. Drafts are the only editable state. Once issued, an invoice is immutable (S-2) — corrections after that are void-and-reissue, on the record. Effects: draft updated, totals recomputed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | The new full set of lines (replaces all). | |
| notes | No | ||
| subject | No | One line above the table — project, period. | |
| currency | No | Change the currency of the draft (one of the company's currencies). | |
| invoice_id | Yes | The draft, e.g. INV-0001. | |
| due_in_days | No | Days until due. |