Create draft invoice
plutio_create_invoiceWRITE: create a DRAFT invoice for a person or company. The client cannot pay it and nothing is emailed. Add line items with plutio_add_invoice_items. Returns the new record. POST /invoices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for the invoice. | |
| dueDate | No | Defaults to the due date in your invoice settings. | |
| clientId | Yes | _id of the person or company to bill. | |
| currency | Yes | Currency code, e.g. USD. | |
| clientType | Yes | Whether clientId is a person or a company. |