create_invoice
Drafts a new invoice for a specified customer. Requires customer ID, with optional description and auto-advance settings.
Instructions
Creates a new draft invoice for a customer. The invoice must be finalized before it can be paid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | The ID of the customer to invoice (e.g., 'cus_123'). | |
| description | No | A description for the invoice. | |
| auto_advance | No | If true, the invoice will automatically advance to the next status (e.g., from draft to open). |