How to create an XRechnung
Quick answer: To create an XRechnung, enter your business details, add the client and the buyer reference, list the items, add your IBAN and payment terms and download the XRechnung.
- Enter your business details. Name, address with postcode and country, email, phone and your VAT ID or tax number. They're saved in this browser for the next invoice.
- Add the client and the buyer reference. For a public body this is the Leitweg-ID from the order; for a company, their order or reference number.
- List the items. Quantity, unit (hour, day, piece…), price and VAT treatment per line. The totals and the VAT breakdown update as you type.
- Add your IBAN and payment terms. XRechnung needs the account for a bank transfer and a due date or payment terms.
- Download the XRechnung. If something's missing, the form lists it and jumps to the field. Then send the XML file by email or upload it to the client's portal (e.g. ZRE or OZG-RE for federal bodies).
What is an XRechnung?
XRechnung is Germany's version of the European e-invoice standard EN 16931, published by KoSIT. It's a structured XML file, not a picture of an invoice: the buyer's software reads every field directly. This tool writes the UBL syntax of XRechnung 3.0.
When do I have to send e-invoices in Germany?
Since 1 January 2025 every business in Germany must be able to receive e-invoices from other businesses. Sending them is phased in: paper and PDF invoices are still allowed for 2025 and 2026, in 2027 only if your previous year's turnover was €800,000 or less, and from 1 January 2028 e-invoices are required for all domestic B2B invoices (§ 27 (38) UStG). Small businesses under § 19 UStG may keep sending normal invoices (§ 34a UStDV), and invoices up to €250 are excluded.
XRechnung or ZUGFeRD?
Both meet EN 16931. Public bodies usually ask for XRechnung and a Leitweg-ID. Business clients often prefer ZUGFeRD, a PDF that people can read and software can process. If you're not sure, ask your client which one their accounting system takes.
Frequently asked questions
What is a Leitweg-ID?
The routing ID of a German public buyer, like 04011000-1234512345-06. You get it with the order. It goes in the buyer reference field, and the form checks its check digits.
Can I make an XRechnung as a Kleinunternehmer?
Yes. Choose "Exempt from VAT" on the items and the § 19 UStG reason. You give your tax number instead of a VAT ID. Small businesses may still send normal invoices to businesses (§ 34a UStDV), but public bodies often require XRechnung.
Is the file really valid?
Every file is checked in the browser against the main EN 16931 and XRechnung rules. While building this tool, the generated files were also run through KoSIT's official validator with the XRechnung 3.0.2 configuration.
Is it free?
The normal PDF invoice is free with no limit. E-invoices: 2 a month are free on this device; for more, a pack of 10 costs €9 (use within 12 months) or unlimited costs €6 a month.
Is my invoice uploaded?
No. The XML is made on your device. If you use a credit from a pack, only your account and the fact that one credit was used are sent to our server.