Check invoice
check_invoiceChecks a draft or a document for missing or invalid data for the e-invoice formats that apply to it (Peppol BIS, ZUGFeRD / Factur-X, XRechnung, KSeF FA(3), e-SLOG) and for country warnings, and returns the warnings. The warnings never block issuing. Changes nothing.
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": {
"company_id": "<company_id>",
"invoice_id": "<invoice_id>"
},
"name": "check_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | The id of the company, from list_companies. | |
| invoice_id | Yes | The id of the document, from list_invoices. |