calculate_totals
Calculate net, VAT by rate, and gross totals for proposed invoice lines without creating an invoice. Use it to preview line-item amounts before drafting or finalizing.
Instructions
Calculate net, VAT (per rate) and gross totals for invoice lines without creating anything.
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": {
"items": "<items>"
},
"name": "calculate_totals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |