draft_invoice
Start an invoice. Required: exactly one of lead_id, account_id or contact_id. Optional: lines, title, intro, outro, address, due_days (default 20), payment_note (the IBAN block), currency. The number follows the tenant's own series, RE---. Nothing is sent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "draft_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intro | No | Introductory text printed above the positions | |
| lines | No | Invoice positions: name, quantity, unit_price and optional fields | |
| outro | No | Closing text printed below the positions | |
| title | No | Title of the invoice | |
| address | No | Postal address | |
| lead_id | No | ID of the lead | |
| currency | No | Currency code (ISO 4217, e.g. EUR) | |
| due_days | No | Payment term in days; default 20 | |
| account_id | No | ID of the account (company) | |
| contact_id | No | ID of the contact | |
| payment_note | No | Payment information block (e.g. IBAN) printed on the invoice |