Check an e-invoice against EN 16931
check_invoiceValidate an electronic invoice against EN 16931 and get pass/fail verdict with anomalies: wrong totals, VAT errors, missing fields, rule codes, figures. Use it to check invoices or screen files.
Instructions
Validate one electronic invoice file (Factur-X, ZUGFeRD, XRechnung, UBL or CII) against the EN 16931 standard and return only the verdict and the list of anomalies: totals that do not add up, VAT miscalculated for a rate, missing required fields, each with the rule code and the figures involved. Use it to answer 'is this invoice correct?' or to screen several files quickly. It does not list the invoice contents; for parties, lines and totals use read_invoice. This is a consistency check, not a legal compliance certificate, and it does not transmit the invoice to any tax platform. Side effects: the file is uploaded over HTTPS to the Facturolia API, processed in memory and discarded. Requires FACTUROLIA_API_KEY; 10 MB limit; rate limited per key tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path on this machine to one invoice file, .pdf (Factur-X or ZUGFeRD) or .xml (UBL, CII or XRechnung). |