XRechnung EN 16931 Leitweg-ID

Edit an XRechnung Online for Free

Rejected by the OZG-RE, a state portal, 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.

Meets the standards EN 16931 ZUGFeRD / Factur-X XRechnung KoSIT GoBD Archive PDF/A-3

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.

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 to Fix a Rejected XRechnung

Submitting to a German public-sector portal is a pass or fail exam: the 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:


Related reading

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.
GoBD Archive

Issuing e-invoices? You must archive them properly.

Since 2015, the GoBD, the tax office's rules for digital records, have applied to every business, freelancers included: digital invoices must be kept as the original file, unchanged, exportable and readable for the whole 8-year retention period. With the e-invoicing mandate a print no longer counts. Our archive takes care of it for you.

  • Every invoice stored exactly as it arrived: XML, PDF or photo
  • Locked against changes, so nothing can be altered afterwards
  • A second copy in another German data centre
  • Find any invoice by date and export it with an index for your tax advisor
  • Team access: several team members can work in the same archive
  • No ERP, no installation: right next to your e-invoicing tools
Built for the German mandate

One toolkit for ZUGFeRD and XRechnung

Every German business has had to accept e-invoices since January 2025. Both formats are covered here.

ZUGFeRD or XRechnung? Let the assistant pick the tool Tell the chat what you need: it converts, checks, builds, and reads out German e-invoices. Open assistant

Create

Fill one form, get a ZUGFeRD PDF or an XRechnung with Leitweg-ID

Check & repair

Test against EN 16931 and the XRechnung CIUS, then fix what a buyer rejected

Convert

Move an invoice between PDF, CII, UBL and XRechnung

Open & extract

Open a file, see what is inside it, and take the data with you

Look up & automate

Check who you are invoicing, or move the whole flow to an API
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 GoBD-compliant archive
1 free tool use per hour · No card required