Skip to content

Build e-invoice validation yourself, or call an API

The official validators are open source, so building looks cheap. The work is in keeping them current for every format you support. Here is what stays with you in each case.

What you maintain

No hour or cost estimates here: they depend on your team. The list of tasks does not.

AreaWhen you build itWith the API
Rule sets (KoSIT, CEN, OpenPeppol Schematron)Watch each publisher, download new Schematron and XSD files, test them against your invoices and deploy them on the right date.Each release is pinned, run against the official test suite and announced in the changelog with its effective date.
Format versions (XRechnung, ZUGFeRD / Factur-X, Peppol BIS, Facturae, KSeF FA(3))Keep one configuration per format and version, detect which one a document uses and handle superseded versions.The format and version are detected from the document. Versions are listed per format, and CI can pin a rule set.
Validator infrastructureRun the Java validator, a PDF/A checker for ZUGFeRD, safe XML parsing against XXE and entity expansion, scaling and monitoring.Hosted, with input hardening and the validator in a separate process. Or self-host the same engine.
Code listsFollow updates of country, currency, unit, VAT category and payment means codes in every rule set you run.The code lists come with the official rule sets and are updated with them.
Messages your users understandTranslate Schematron messages into explanations and fixes, in each language your users work in.Each finding keeps the official text and adds an explanation and a fix in eight languages.
Conversion and creationWrite and test mappings UBL to CII, Peppol BIS, Facturae and KSeF, and embed XML into PDF/A-3 for ZUGFeRD.Convert and create in one call; every output is validated again before you get it.
Rule changes and deadlinesFollow mandates and transition periods in each country you sell to.A register of changes, filtered to the formats your integrations actually send.

What stays with you either way

  • Sending the invoice: Peppol access point, KSeF, FACe or another portal. The API does not transmit invoices.
  • Correct content: a technically valid invoice can still carry the wrong tax treatment or amount.
  • Archiving for the legally required period. Stored documents are kept for at most your plan's retention period.
  • Your master data: customers, buyer references, VAT IDs.

When building it yourself makes sense

  • You support one format in one version and already run Java services and Schematron.
  • Invoices may not leave your network: then the self-hosted version of this engine is an option, with rule-set updates under a licence.

Compare with your own invoices

A sandbox key costs nothing. Run your current invoices through the API and compare the findings with what your own validator reports.