Change a draft invoice
update_invoice_draftUpdate an existing draft invoice — add, remove, or change lines. Use this when the user wants to modify a draft that was just created. Pass ALL lines (existing + changes), as it fully replaces the line list. Get invoiceId and contactId from the create_invoice_draft response in this conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Complete new line list (replaces all existing lines). | |
| notes | No | ||
| dueDate | No | ISO due date. Omit to keep default. | |
| contactId | Yes | UUID of the client contact (from create_invoice_draft result). | |
| invoiceId | Yes | UUID of the draft invoice to update (from create_invoice_draft result). |