Create a new salesbook invoice
create_salesbook_invoiceCreate a salesbook invoice with lines, VAT option, and totals. Verify valid VAT-ledger combinations via the options endpoint, attach an optional PDF, and include delivery date for AT/DE.
Instructions
Create a new salesbook invoice.
Create a new salesbook invoice. Use the /salesbook/options endpoint first to determine valid combinations of vat_id, ledger_id and vat_option.
A PDF file can optionally be attached as a base64-encoded string.
For administrations in Austria (AT) or Germany (DE), the delivery_date field is also required.
[Salesbook] POST /salesbook
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": {
"body": "<body>"
},
"name": "create_salesbook_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| administration | No | The client administration to act on. Only one is configured: default. |