Validate e-invoice
validate_invoiceValidate a UBL 2.1, Peppol BIS Billing 3.0, XRechnung, SI-UBL 2.0 (NLCIUS) or CII / Factur-X XML invoice against EN 16931, Peppol and national CIUS rules; returns pass/fail with rule IDs, line numbers and fixes. Set profile "peppol-3.1.0" to test against Peppol BIS 3.1.0 (draft) (mandatory from 2027-02-24) and see which findings are new. Uses one metered call. Requires an InvoiceVerify account (OAuth sign-in).
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": {
"xml": "<xml>"
},
"name": "validate_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The complete invoice XML document. | |
| profile | No | Rule set to apply: 'auto' = detect the rule set from the CustomizationID (default); 'peppol' = EN 16931 + Peppol BIS Billing 3.0 (3.0.22); 'peppol-3.1.0' = EN 16931 + Peppol BIS 3.1.0 (draft): OpenPeppol's draft 3.1.0 rules, mandatory from 2027-02-24; findings new in 3.1.0 are marked; 'xrechnung' = EN 16931 + XRechnung 3.0 (Germany); 'nlcius' = EN 16931 + SI-UBL 2.0 / NLCIUS (Netherlands); 'en16931' = EN 16931 core rules only. |