Bokio: Create invoice
bokio_create_invoiceBokio: Create a draft invoice for a customer with its lines. Creates an invoice as a draft with status draft and no invoice number, and returns net, VAT and total so you can check them. Bokio has no discount per line: add a line with a negative unit price instead. A draft reaches no one and can be deleted in Bokio, so create_invoice runs without asking first; publishing is a separate tool. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Objects with description, quantity, unit_price and tax_rate (percent). | |
| currency | No | Currency code such as SEK. Default: SEK. | |
| due_date | Yes | YYYY-MM-DD. | |
| customer_id | Yes | Customer ID from list_customers or create_customer. | |
| invoice_date | Yes | YYYY-MM-DD. |