Create a draft invoice
invoice.create_draftUse this when the user asks to invoice a client, bill for a period, or turn unbilled hours into an invoice. Creates a draft only; nothing is sent and the client cannot see it yet. Includes all unbilled billable entries for the client through through_date and marks them as invoiced. Show the draft to the user, then use invoice.send when they ask to send it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| client | Yes | ||
| due_in_days | No | Default: client net terms (30) | |
| through_date | No | Default: today | |
| group_lines_by | No | Default "project" | |
| tax_rate_percent | No |