create_invoice_with_lines
Create a draft invoice with line items in one API call. Each line includes product description, quantity, unit price, and VAT percentage.
Instructions
Create a new draft invoice with line items in a single call. Each line specifies a product/service, quantity, and pricing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_date | Yes | Issue date (YYYY-MM-DD) | |
| customer_id | Yes | Customer ID | |
| series_id | Yes | Invoice series ID | |
| lines | Yes | Array of invoice line items (at least one required) | |
| includes_vat | No | Whether prices include VAT | |
| currency_iso | No | ISO 4217 currency code | |
| notes | No | Notes visible to customer | |
| admin_notes | No | Internal admin notes |