create-invoice-draft
Create an empty draft invoice for a company and return it with its id. The draft has no customer or line items yet and starts with the company's auto-included payment methods; nothing is sent. Next set the customer, line items, dates and currency with update-invoice-draft, then finalize it with submit-invoice. To copy an existing invoice into a new draft, use duplicate-invoice instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company ID |