Check an e-invoice
check_invoiceValidates an e-invoice against EN 16931 and its national rules (XRechnung, Peppol BIS and others), with each finding explained in plain words and how to fix it. With country, also applies that country's national rules on top of EN 16931 (France: the CTC rules), only when asked; Klarbon never infers the country. Free within the account's daily checks; needs an API key.
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": "check_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Also apply this country's national rules on top of EN 16931 (FR: the French CTC rules). Only when you give it; Klarbon never infers a country from the file. | |
| ruleset | No | A rule set id, or auto (the default) to pick it from the file. Leave it out when you give country. | |
| file_url | No | A public https address of the file. Private and local addresses are refused. | |
| filename | No | The file's name, which helps recognise its format. | |
| file_base64 | No | The file's bytes as base64. Give this or file_url. |