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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice_id": "<invoice_id>"
},
"name": "solo_update_draft"
}
}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. |