Validate EN 16931 electronic invoices
document-formats_en16931-invoice-validateRead-onlyIdempotent
Validate UBL or CII e-invoices against CEN EN 16931 artefacts 1.3.17 (and UBL 2.1 XSD). Price $0.05 USDC. POST /api/v1/document-formats/en16931-invoice-validate. An unpaid call returns the x402 payment terms and does not run.
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": "document-formats_en16931-invoice-validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | xml, string, length 0 to 5000000. Optional. | |
| syntax | No | syntax, string, one of auto, ubl, cii. Required. | auto |
| pdfBase64 | No | pdfBase64, string, length 0 to 13981077. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xsd | No | xsd. Object. | |
| notes | No | notes. Array. | |
| rules | No | rules. Object. | |
| valid | No | valid. Boolean. | |
| syntax | No | syntax. String. | |
| sources | No | sources. Array. | |
| documentId | No | documentId. String. | |
| limitations | No | limitations. Array. | |
| customizationId | No | customizationId. String. |