Draft an invoice
create_invoice_draftCreate a draft invoice. Call lookup_contact first to get the contactId. Nothing is sent. The result has an openUrl where the user can see the draft; afterwards ask whether to send it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Invoice line items. | |
| notes | No | Optional notes on the invoice. | |
| dueDate | No | ISO due date e.g. 2025-07-19. Omit to use business default payment terms. | |
| contactId | Yes | UUID of the client contact (from lookup_contact or create_contact). |