Create an invoice as a draft.
Endpoint
Request body
| Name | Type | Required | Description |
|---|---|---|---|
customers | array of strings | Required | Who it bills, cust_.... Several split the total equally. |
name | string | Required | What it's for. |
currency | string | Required | usd. |
line_items | array | Required | Each a price from your catalog (one-time), or a one-time item with name and unit_amount; with quantity and an optional discount_bps. |
payment_terms | enum | Optional | due_on_receipt, net_15, net_30, net_45, net_60, or custom with due_date. Default: your invoice settings. |
issue_date | date | Optional | Default: today. |
due_date | date | Optional | For custom terms. |
description | string | Optional | Shown on the invoice. |
language | string | Optional | Default: your invoice settings. |
tax_rate_bps | integer | Optional | In basis points, charged on the total after discounts. |
late_fee_bps | integer | Optional | In basis points. Stated, never charged. |
auto_reminders | boolean | Optional | Default: your invoice settings. |
notes | string | Optional | Printed above the items. |
terms | string | Optional | Printed at the foot. |
scheduled_send_at | timestamp | Optional | Send it on its own at this time instead of now. |