Check invoices
check_invoicesUse this when the user wants invoices verified without making a file: whether net plus VAT equals the total, whether line items add up, which fields are missing, and which invoices look like duplicates. Returns the findings and totals per currency. Nothing is stored.
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": {
"invoices": "<invoices>"
},
"name": "check_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoices | Yes | Every invoice, one entry each, with values exactly as printed on the document. Use null for anything not printed or not legible; never estimate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | Yes | ||
| totals | Yes | ||
| check_count | Yes | ||
| invoice_count | Yes | ||
| line_item_count | Yes |