XRechnung Viewer for UBL and CII Invoices – Free

This XRechnung viewer shows the header data of a German e-invoice that would otherwise be a wall of XML. It reads both syntaxes XRechnung allows, UBL and CII, directly in your browser.

How to use the XRechnung viewer tool

  1. Choose an .xml or .pdf file under Invoice file, or paste the XML into Invoice XML.
  2. Select Read invoice, or Example to load a small UBL sample.
  3. Check the Profile line for the XRechnung identifier, then read the invoice number, date, parties and total.
  4. Select Download to save the XML as invoice.xml, for instance after extracting it from a ZUGFeRD PDF, or Copy for the text summary.

What an XRechnung is

XRechnung is the German specification for electronic invoices to public bodies. Since January 2025 German companies must also be able to receive EN 16931 invoices from each other, and XRechnung is one of the accepted formats. It is a national profile (CIUS) of the European standard EN 16931, maintained by the coordination office KoSIT. An XRechnung is pure XML with no visual layer.

The specification permits two syntaxes: OASIS UBL 2.1 and UN/CEFACT Cross Industry Invoice. Both carry the same business terms under different element names, which is why a viewer has to know both.

How the XRechnung viewer reads both syntaxes

The root element decides the reader. The list below shows where each value comes from.

  • Profile: CustomizationID in UBL, the ID in GuidelineSpecifiedDocumentContextParameter in CII.
  • Invoice number: the root ID in UBL, the ExchangedDocument ID in CII.
  • Issue date: IssueDate in UBL, DateTimeString in CII, shown as stored, for example 20260115.
  • Seller and buyer: RegistrationName or Name of the supplier and customer party in UBL, the Name of SellerTradeParty and BuyerTradeParty in CII.
  • Total: PayableAmount in UBL, DuePayableAmount or GrandTotalAmount in CII.

Worked example: an XRechnung 3.0 invoice in UBL

The Profile line is the quick test. If it does not contain xeinkauf.de:kosit:xrechnung, the file is an EN 16931 invoice of another flavor, which the tool still displays because it does not test the identifier.

A two-line invoice from a software company to a municipality, declaring the XRechnung 3.0 CustomizationID, is summarized like this.

Format: UBL Invoice
Profile: urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0
Invoice number: RE-2026-0042
Issue date: 2026-03-02
Seller: Nordlicht Software GmbH
Buyer: Stadt Musterhausen
Total: 1785.00 EUR
Line items: 2

Scope and limits

The viewer rejects Italian FatturaPA with the message XRechnung uses UBL or CII invoice XML, and accepts any UBL invoice, UBL credit note or CII invoice. A PDF is searched for an embedded XML attachment, which helps with ZUGFeRD files in the XRECHNUNG profile.

Fields specific to XRechnung, such as the Leitweg-ID in the buyer reference, payment terms, bank details and VAT breakdown, are not displayed, and no schema or Schematron validation is run. For conformance, use the official KoSIT validator configuration. Files may be up to 30 MiB.

Frequently asked questions

How can I read an XRechnung without special software?

Choose the XML file or paste its content here and select Read invoice. You get the invoice number, date, seller, buyer, total and line count as text. For a full visual rendering with every field you need a dedicated visualization tool.

Is XRechnung UBL or CII?

Either. The specification allows both syntaxes, and senders choose one. This viewer detects which is used from the root element: Invoice or CreditNote for UBL, CrossIndustryInvoice for CII.

How do I know the file really is an XRechnung?

Look at the Profile line. An XRechnung declares an identifier containing urn:xeinkauf.de:kosit:xrechnung followed by the version, such as xrechnung_3.0. The viewer shows the value but does not verify it or validate the rules behind it.

What is the difference between XRechnung and ZUGFeRD?

XRechnung is XML only. ZUGFeRD is a PDF with CII XML attached, readable by people and software. ZUGFeRD offers an XRECHNUNG profile whose embedded XML meets the XRechnung rules, and this viewer can read that XML from the PDF.

Why is the issue date shown as 20260115?

CII stores dates as a DateTimeString with format code 102, which means year, month and day without separators. The viewer prints the stored value unchanged. UBL invoices use ISO dates such as 2026-01-15, so they look different.

Is my invoice data kept private?

Yes. Parsing happens in the page with the browser's own XML parser, and no request carrying the invoice is made. That matters because an XRechnung contains tax numbers and bank details.

Related tools