Conceptfactuur
create_invoiceCreate a draft invoice or replace an existing draft by ID, then show it to the owner before finalizing; drafts have no number and do not affect the books.
Instructions
Create a draft invoice, or replace one by passing draft_id. A draft has no number and changes nothing in the books. unit_price is excluding btw. vat_code per line: high (21%, the default), low (9%), zero, exempt, eu_reverse_charge (services to a business in another EU country, btw verlegd), outside_eu (services to a customer outside the EU). Under the KOR every line is invoiced without btw automatically. Show the result to the owner before finalize_invoice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contact_id": "<contact_id>",
"lines": "<lines>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| lines | Yes | ||
| draft_id | No | ||
| contact_id | Yes | ||
| issue_date | No | Defaults to today | |
| supply_date | No | Date the service was delivered, when it differs from the invoice date | |
| payment_term_days | No |