XRechnung EN 16931 Leitweg-ID

Edit an XRechnung Online for Free

Rejected by ZRE, OZG-RE, or a buyer's portal? Upload the XRechnung and every element opens as a form field: fix the Leitweg-ID, the totals, or the identifiers and download a valid file again.

Drag and drop an XRechnung XML file (or a hybrid PDF) here, or click to browse. One file at a time.

Fix a Rejected XRechnung Without Touching XML

The federal and state portals validate every upload against the German CIUS rules and refuse the file on the first violation. This editor fixes the data and leaves the XML to a machine.

Leitweg-ID Front and Center

The most common XRechnung failure is a missing or malformed Leitweg-ID (BT-10). It has its own field here: paste the route the authority gave you, regenerate, resubmit.

Both Syntaxes Readable

XRechnung travels as UN/CEFACT CII or UBL. Upload either and the invoice model is parsed into the same editable form, so the file's syntax never becomes your problem.

Nothing Silently Dropped

Attachments, notes, and every element the form does not display are carried into the regenerated file unchanged; fixing one field never costs you the rest.

German CIUS Rules Checked

The regenerated file is validated against EN 16931 and the XRechnung business rules before download, the same checks the portals run on submission.

How It Works

Three steps from a rejected upload to an accepted XRechnung.

Step 1

Upload the XRechnung

Drop in the XML file the portal refused. CII and UBL syntax are both read, and the parsed fields fill the form.

Step 2

Correct the Data

Fix the Leitweg-ID, identifiers, dates, or amounts. Totals and the VAT breakdown recalculate as you type.

Step 3

Download and Resubmit

Generate a fresh XRechnung, validated against the German CIUS rules before download, and upload it to the portal again.

Frequently Asked Questions

Fixing rejected XRechnung files for German public-sector invoicing.

The portals validate every upload and refuse the file on the first failed rule. The usual suspects: a missing or malformed Leitweg-ID, missing seller contact details (the BR-DE rules require a name, phone number, and email), absent payment details, tax totals that do not reconcile, or a wrong specification identifier. All of these are fields you can correct here.
The Leitweg-ID routes your invoice to the right office inside the German administration. The receiving authority assigns it and you carry it in the buyer reference (BT-10). In this editor it is a regular form field: paste it exactly as issued, including the check digits.
Yes. Both syntaxes carry the same EN 16931 invoice model, and the editor parses either into the same form. The regenerated file uses the CII syntax by default, which every portal accepts; both syntaxes are equally valid XRechnung.
The German CIUS adds national requirements on top of the European standard: seller contact name, phone, and email, payment account details, the buyer reference, and stricter code lists. They are the rules behind most portal rejections, and the corresponding fields are all present in the form.
They pass through. Everything the extraction found but the form does not surface, embedded attachments and notes included, is merged back into the regenerated XRechnung unchanged.
It is the mandatory format for German B2G invoicing, but some large private buyers ask for it too. The editor does not care who the recipient is. Note that an invoice the recipient has already booked should be corrected with an XRechnung credit note rather than edited.
Nothing within the daily allowance, one file at a time. Premium lifts the limits, adds batch processing for up to 100 invoices, and unlocks UBL output.

How to Fix a Rejected XRechnung

Submitting to a German public-sector portal is a pass or fail exam: ZRE, OZG-RE, and the state portals validate the XML the moment it arrives and refuse anything that breaks a rule, with a terse list of codes as the only feedback. The invoice is not late yet, but it is not delivered either. The editor above takes the refused file, opens every element as a form field, and gives you back an XRechnung that passes the same checks.

What the portals actually check

An XRechnung must satisfy three layers at once: the XML syntax (CII or UBL), the European core invoice rules of EN 16931, and the German CIUS on top, the BR-DE rules. The portals run all three. A file can be perfectly valid EN 16931 and still bounce because a BR-DE rule wants a seller phone number or a buyer reference the source system never filled in.

The rejections that come up again and again

  • A missing or malformed Leitweg-ID in the buyer reference (BT-10), including lost check digits
  • Seller contact incomplete: the BR-DE rules require a contact name, phone number, and email address
  • No payment details where the German rules demand them, typically the IBAN
  • VAT category totals that no longer match the line amounts after a late change
  • A wrong or outdated specification identifier (BT-24), so the file does not announce itself as XRechnung
  • Empty country codes or seller identifiers the buyer's workflow insists on

Every one of them is data in a named field. Upload the file, and those fields are laid out in front of you with the rest of the invoice.

The Leitweg-ID, without the guesswork

The Leitweg-ID is the routing address of the German administration: the receiving authority assigns it, and the portals match it against their directory. It fails in unspectacular ways, a digit lost in copy and paste, a hyphen too many, an ID from the wrong office. In the editor it is a plain field with nothing around it to break: paste the ID exactly as the authority issued it, regenerate, and resubmit.

Edit without the system that made the file

Rejected XRechnung files usually come out of an ERP export or an external biller, systems you cannot rerun five minutes before a deadline. The editor works on the file alone: CII or UBL syntax in, the EN 16931 model parsed into a guided form, and a validated XRechnung out, regenerated in CII syntax by the same engine as the XRechnung generator. Attachments, notes, and untouched fields ride along unchanged.

Check the rule report before and after

When all you have is the portal's error codes, validate the file first: the report names each violated rule, BR-DE included, and the element behind it. Fix exactly those fields here, and the regenerated file is checked against the same rules before you download it:

Already booked by the authority? Use a credit note

Editing and resubmitting is for files the portal refused, meaning nobody has recorded them. Once an invoice has been accepted and booked by the recipient, German practice corrects it with a credit note that references the original instead of a quietly changed document:

And if XRechnung itself is new territory, the format guide covers the rules, the Leitweg-ID, and sample files:

All the Tools You Need

The full toolkit, all in one place

Rather use classic tools instead of chat? Each action is just one click away too.

AI Assistant

Tell the chat what you need: it converts, checks, builds, and reads out German e-invoices.

Open tool

PDF to ZUGFeRD

Any PDF, Word, or Excel invoice goes in; a ZUGFeRD or XRechnung file comes out.

Open tool

Create ZUGFeRD PDF

The guided wizard turns your details into a ZUGFeRD or XRechnung invoice.

Open tool

Create XRechnung

Generate a valid XRechnung with Leitweg-ID, ready for public-sector buyers.

Open tool

ZUGFeRD Credit Note

Cancel or correct an e-invoice you already sent with a ZUGFeRD credit note.

Open tool

XRechnung Credit Note

Create an XRechnung credit note with Leitweg-ID for public-sector buyers.

Open tool

Create Order-X

Create an Order-X order file: the ZUGFeRD hybrid principle applied to purchase orders.

Open tool

Edit ZUGFeRD Invoice

Repair a refused or broken invoice: upload it, correct the fields, and get a valid file back.

Open tool

Edit XRechnung

Open an XRechnung as a form, fix the Leitweg-ID or any rejected field, and download a valid file.

Open tool

Validate ZUGFeRD

Run EN 16931 checks on your ZUGFeRD invoices before DATEV or your customer does.

Open tool
X

Validate XRechnung

Check XRechnung XML against EN 16931 and the German CIUS rules.

Open tool

Validate Order-X

Run incoming and outgoing Order-X orders through the official Order-X 1.0 checks.

Open tool

Extract XML

Pull structured XML straight out of any PDF invoice with AI-driven OCR.

Open tool

Extract Attachments

Pull every embedded file out of a ZUGFeRD or XRechnung invoice as a ZIP.

Open tool

Embed XML to PDF

Marry a PDF and its CII XML into one ZUGFeRD-compliant hybrid invoice.

Open tool
X

CII to ZUGFeRD

Package existing CII XML as a ZUGFeRD PDF/A-3 hybrid invoice.

Open tool

CII to UBL

Transform a CII invoice into UBL XML, the syntax most Peppol networks expect.

Open tool

UBL to CII

Map a UBL invoice to UN/CEFACT CII XML, ready to embed in ZUGFeRD or Factur-X.

Open tool

XRechnung to PDF

See any CII, UBL, or XRechnung XML as a tidy, printable PDF.

Open tool

XRechnung Viewer

Open e-invoice XML in your browser and read it like a paper invoice.

Open tool

e-Invoice Automation

Automate invoice generation, validation and Peppol delivery end to end.

Open tool
Ready for mandatory e-invoicing?

Make every invoice compliant, in a single message

Subscribe to get unlimited tools, choosable compliance profiles and the full set of premium features.

EN 16931 & PDF/A-3b compliant Results in seconds No installation Data never stored
2 free uses per day · No card required