create_draft_invoice
Create a DRAFT invoice (stays a Stripe draft — nothing is sent). customer_email identifies/creates the Stripe customer; line_items is a list of {description, amount_cents} (amount_cents is the line total; use a negative amount for a discount). Optional customer_name, due_days (default 30, counted from when it's sent), notes (footer), invoice_date (YYYY-MM-DD, may be in the past — the date shown on the invoice), bank_transfer_only (ACH/wire to the account and routing numbers printed on the invoice; no card), new_customer (always create a separate Stripe customer even if the email exists). Finalize/send it from the Billing UI when ready.
Parameters
- customer_email (string, required)
- line_items (array, required)
- customer_name (string)
- due_days (integer, default 30)
- notes (string)
- invoice_date (string)
- bank_transfer_only (boolean, default false)
- new_customer (boolean, default false)