How to read the validation report of an e-invoice

As of 2026-11-15

XRechnung and EN 16931

XRechnung is the German standard for electronic invoices, operated by the Coordination Office for IT Standards (KoSIT) on behalf of the IT Planning Council. It consists of the CIUS XRechnung and the Extension XRechnung and implements the semantic data model of the European standard EN 16931 in its two mandatory syntaxes UBL 2.1 and UN/CEFACT CII.

A ZUGFeRD or Factur-X invoice is a PDF file with an embedded XML invoice in CII syntax. For it, the embedded XML invoice is checked.

How the check works

The KoSIT validator is open-source validation software by KoSIT (Apache 2.0 license). It ships no validation rules itself: the rules come from validation scenarios. For XRechnung, KoSIT provides its own validation configuration. The validator recognises the format of an invoice, checks it against the XML schema and Schematron rules of the matching scenario and creates a validation report.

Reading the report

The report of the Codixio API e-invoice service contains:

  • Verdict: valid or not valid. An invoice is valid when a validation scenario matches and the validator accepts it.
  • Document type: UBL invoice, UBL credit note or UN/CEFACT CII.
  • Validation scenario: the scenario of the configuration that matches the invoice. If no scenario matches, the invoice cannot be checked.
  • Findings: per finding the rule id (for example BR-DE-1), the severity (error, warning, information), the location in the invoice and the official rule text. Rule texts are shown unchanged and are partly available in English only, partly in German only.
  • Versions: the versions of validator, validation configuration and XRechnung used for the check.

Typical steps for findings

  1. Start with the findings of severity error; they usually lead to rejection.
  2. Look up the rule id in the rule text and correct the named field at the location, usually in the software that creates the invoice.
  3. Check the corrected invoice again.

The check is available in the browser without sign-in where the operator has enabled a quota: Check an e-invoice for free.

Sources

  1. XRechnung, XStandards Einkauf (KoSIT, German)
  2. KoSIT validator, source code and documentation
  3. XRechnung validation configuration for the KoSIT validator

All guides