How It Works Automation Blog Contact
EN FR DE
XRechnung Preview

XRechnung files are not meant for human eyes

XRechnung is a machine-readable XML format. Opening it in a text editor gives you hundreds of lines of raw code. Upload it here and get a clean, readable PDF version in seconds — no software to install, no account required.

xrechnung.xml
<?xml version="1.0" encoding="UTF-8"?>
<rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100">
  <rsm:ExchangedDocumentContext>
    <ram:GuidelineSpecifiedDocumentContextParameter>
      <ram:ID>urn:cen.eu:en16931:2017#compliant
        #urn:xoev-de:kosit:standard:xrechnung_3.0
      </ram:ID>
    </ram:GuidelineSpecifiedDocumentContextParameter>
  </rsm:ExchangedDocumentContext>
  <rsm:ExchangedDocument>
    <ram:ID>RE-2024-00815</ram:ID>
    <ram:TypeCode>380</ram:TypeCode>
    <ram:IssueDateTime>
      <udt:DateTimeString format="102">
        20240315</udt:DateTimeString>
    </ram:IssueDateTime>
  </rsm:ExchangedDocument>
  <rsm:SupplyChainTradeTransaction>
    <ram:ApplicableHeaderTradeAgreement>
      <ram:SellerTradeParty>
        <ram:Name>Musterlieferant GmbH</ram:Name>
InvoiceXML
INVOICE RE-2024-00815
SellerMusterlieferant GmbH
Date15.03.2024
Net€ 4,250.00
VAT 19%€ 807.50
Total€ 5,057.50
PDF Preview
No data retained Supports all XRechnung versions CIUS-REC-DE compliant
Try it now

Drop your XRechnung file below

Drag your XRechnung .xml file here, or click to browse

.xml files only · Max 20 MB

Your file is processed in memory and deleted immediately. Nothing is stored.

Background

What is XRechnung, and why can't you just open it?

What it is

XRechnung is Germany's official XML-based e-invoice standard, mandated for all invoices submitted to German federal and state public authorities. It contains every invoice field in structured machine-readable form — but has no visual layout, no formatting, and no human-readable presentation.

Who receives it

Any supplier invoicing a German public sector entity (Bundesbehörden, Landesbehörden, municipalities) is required to submit in XRechnung format. Buyers and accounts payable teams receive these files and often need to read, verify, or archive them in a human-readable form.

The problem

Standard PDF viewers cannot open XRechnung. Specialised desktop software exists (like the KoSIT Validator or Mustang Viewer) but requires installation and technical knowledge. InvoiceXML renders it instantly in your browser — no setup, no software.

When to use this

Who needs to preview XRechnung files

Accounts payable teams

You receive XRechnung files from suppliers but your ERP doesn't display them visually. Preview the invoice before approving payment — check line items, totals, tax breakdown, and supplier details at a glance.

Finance controllers & auditors

During audits, you need to review individual invoices from your archive. XRechnung files in your document management system are unreadable without a viewer. Convert to PDF for review and attach the readable version to your audit trail.

Suppliers & freelancers

You generated an XRechnung to submit to a public sector client but want to verify it looks correct before sending. Preview it as PDF to confirm all fields are present and accurate.

Developers & system integrators

You're building or testing an XRechnung integration and need to visually verify the output of your generation pipeline. Upload the file and see exactly what the invoice contains — faster than reading raw XML.

Under the hood

Three steps. One readable invoice.

1

Parse

Your XRechnung XML is parsed against the official CIUS-REC-DE schema. Every field is read and validated — invoice header, seller and buyer details, line items, tax breakdown, payment terms, and all EN 16931 BT (Business Term) fields.

2

Map

The structured data is mapped to a standardised invoice layout. Fields are rendered in their correct positions — header information, party details, itemised lines, totals, tax summary, and payment instructions — regardless of which XRechnung version or profile was used.

3

Render

A clean, professional PDF is generated from the mapped data. The output is formatted for human readability — not for compliance. It is not a PDF/A-3 file and carries no legal standing. It is a visual representation only.

The rendered PDF is for preview purposes only. It is not a legally valid invoice document. The original XRechnung XML remains the authoritative compliance document.

Compatibility

Supports all XRechnung versions

XRechnung has evolved through several versions since its introduction. InvoiceXML's renderer supports all current and previous versions, including XRechnung 1.2, 2.x, and 3.x, in both UBL and CII syntax bindings.

Version UBL syntax CII syntax Status
XRechnung 3.0 Supported
XRechnung 2.3 Supported
XRechnung 2.2 Supported
XRechnung 2.1 Supported
XRechnung 1.2 Supported
For developers

Render XRechnung as PDF via REST API

The same rendering engine is available via API. Send an XRechnung file, receive a PDF. Integrate invoice preview into your ERP, document management system, or accounts payable workflow.

API Documentation
Terminal
$ curl -X POST https://api.invoicexml.com/v1/render/xrechnung/to/pdf \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "[email protected]"

# Returns: application/pdf

Frequently Asked Questions

Is the rendered PDF legally valid?

No. The PDF is a visual representation of the XRechnung data for human readability only. It has no legal standing. The original XRechnung XML file remains the authoritative invoice document for compliance and tax purposes.

Does this work with both UBL and CII syntax?

Yes. XRechnung can be encoded in either UBL or CII XML syntax. InvoiceXML automatically detects the syntax and renders both correctly.

Is my invoice data stored?

No. Files are processed entirely in memory and deleted immediately after the PDF is returned. No invoice data is written to disk or retained after your session.

What if my XRechnung file fails to render?

If the file contains structural errors or fails schema validation, you will receive a clear error message explaining what is wrong. You can use our XRechnung Validation tool to get a detailed compliance report.

Can I render XRechnung files in bulk via API?

Yes. The API endpoint accepts individual files. For bulk processing, submit multiple requests or contact us about enterprise volume options.

Is there a file size limit?

The maximum file size is 20 MB. XRechnung files are typically a few kilobytes, so this limit is unlikely to be reached in practice.

Ready to automate your invoices?

Start your 30-day free trial. No credit card required.

Get Started