XRechnung

XRechnung Validator

Check your XRechnung against the official rules for German public authorities, in UBL or CII syntax, before you upload it to a government portal.

Drop your e-invoice here

XML (XRechnung, UBL, CII) or PDF (ZUGFeRD, Factur-X), up to 10 MB

Anonymous uploads are processed in memory and deleted right after the check.

  • No sign-up
  • Servers in Germany
  • Files never stored

What is XRechnung?

XRechnung is the German implementation (CIUS) of the European standard EN 16931. It is maintained by KoSIT on behalf of the federal and state governments and is the required format for invoices to many public authorities in Germany.

An XRechnung is a pure XML file. It can be written in two syntaxes: OASIS UBL 2.1 or UN/CEFACT Cross Industry Invoice (CII). Both carry the same content; the validator detects the syntax automatically.

What the XRechnung check covers

  • XML schema of the UBL or CII syntax
  • EN 16931 core rules (BR, BR-CO, VAT category rules)
  • XRechnung national rules (BR-DE), for example the Leitweg-ID
  • Code lists such as currency, country, unit and payment means codes

Common XRechnung errors

BR-DE-15
Buyer reference (BT-10) is missing. For public authorities this usually carries the Leitweg-ID.
BR-DE-1
Payment instructions (BG-16) are missing, for example the IBAN for a credit transfer.
BR-DE-2
Seller contact (BG-6) is missing. XRechnung also expects contact name, phone and email (BR-DE-5 to BR-DE-7).
BR-CO-10
The sum of the line net amounts does not match the total in the document (BT-106).
BR-CO-15
Invoice total with VAT is not total without VAT plus VAT amount.

Error codes

Validate an XRechnung in three steps

  1. Export the invoice from your software as XRechnung XML.

  2. Drop the file into the upload field above.

  3. Fix the listed rules in your software and check again until the result is valid.

Is the XRechnung Validator free?

Yes. Single checks are free, even without an account. Pro is made for larger volumes: batch upload in the browser and automatic checks through the API.

Without account

Quick single checks in the browser.

€0

  • 5 checks per day
  • All formats and rule sets
  • Report as JSON download

Free

For occasional invoices and freelancers.

€0 per month

  • 5 checks per day, up to 150 per month
  • History of all your reports
  • PDF report
  • No credit card

Pro

API included

For businesses, accountants and software.

€14 per month

  • 15,000 checks per month
  • Batch upload of many files
  • REST API with your own keys
  • Everything in Free

Frequently asked questions

What is the difference between XRechnung UBL and XRechnung CII?

Only the XML syntax. The business content is the same; recipients that accept XRechnung must handle both. The validator detects the syntax automatically.

What is the Leitweg-ID?

An identifier of the receiving public authority, used for routing. It is transmitted in the buyer reference field (BT-10). If it is missing, rule BR-DE-15 fails.

Can I open an XRechnung as a PDF?

An XRechnung is XML and has no visual layout. Open it in our free invoice viewer to read it like a normal invoice and to print it or save a PDF copy.

Is an XRechnung also valid for B2B invoices?

Yes. Since 2025 German businesses can use XRechnung for B2B as well, because it complies with EN 16931.