Create XRechnung Invoices Online for Free

Build a valid XRechnung step by step, Leitweg-ID included

Have an existing invoice?

Upload a PDF or XML invoice and we'll prefill the form

Auto-fill

Invoice Details

Issued by the contracting authority; required for invoices to the public sector.

Seller (From)

Buyer (To)

Meets the standards EN 16931 ZUGFeRD / Factur-X XRechnung KoSIT Peppol BIS PDF/A-3

How It Works

From empty form to a valid XRechnung in three steps.

Step 1

Enter Parties and Leitweg-ID

Add your company data, the authority's address, and the Leitweg-ID you received from the contracting authority.

Step 2

Add Items and VAT

List the invoiced products or services; net totals, VAT groups, and the gross amount update as you type.

Step 3

Download the XRechnung XML

Review the summary and download a standalone XRechnung XML, validated against EN 16931 and the German CIUS.

Create XRechnung Invoices in Your Browser

Public-sector buyers reject anything that is not a valid XRechnung. This generator produces exactly what they expect, Leitweg-ID included.

Built Around the Leitweg-ID

The buyer reference (BT-10) has its own field with the Leitweg-ID pattern, so the one detail authorities insist on cannot be forgotten.

CIUS Rules Applied

The XML is checked against EN 16931 plus the German XRechnung rules before download, the same checks public portals run on receipt.

German VAT Preset

Pick 19%, 7%, or exempt per line and the totals and VAT breakdown compute themselves while you type.

Peppol Delivery Built In

Premium accounts can hand the finished XRechnung to the Peppol network on creation, the channel ZRE and OZG-RE increasingly expect.

Frequently Asked Questions

Answers for suppliers invoicing German public-sector buyers.

From the contracting authority you are invoicing: it identifies their inbox on the federal or state invoice platform. Ask for it before you issue the invoice; without it the XRechnung will be rejected.
Yes. The generator produces XRechnung conforming to EN 16931 plus the German CIUS rules, which is what the federal (ZRE) and state (OZG-RE) portals validate on submission.
XRechnung is pure XML for public-sector recipients; ZUGFeRD is a PDF with embedded XML for B2B. Invoicing a company instead? Use the ZUGFeRD generator.
Yes. Upload a PDF or XML invoice and the AI reads the parties, amounts, and line items into the form; you only add the Leitweg-ID.
CII by default; premium accounts can switch to UBL. Both syntaxes are valid XRechnung as long as the German CIUS rules pass.
Creating XRechnung invoices is free within the daily allowance. Premium adds unlimited use, drafts, and automatic Peppol delivery.

How to Create an XRechnung

Public authorities in Germany do not accept PDF invoices: federal, state, and municipal buyers require an XRechnung, a pure XML document following EN 16931 plus the German CIUS rules. The generator above produces exactly that file. Fill in the form once, add the Leitweg-ID, and download an XRechnung that passes the checks the portals run on submission.

The Leitweg-ID: the one field that trips everyone up

Every XRechnung to a public buyer must carry the recipient's Leitweg-ID in the buyer reference (BT-10). It identifies the authority's inbox on the invoice platform and follows the pattern {authority-id}-{optional-suffix}-{check-digit}. You get it from the contracting authority, usually with the order or in the contract; ask for it before you invoice, because a missing or malformed Leitweg-ID is the most common reason an XRechnung bounces.

What else the XRechnung requires

Beyond the usual EN 16931 core (parties, line items, VAT breakdown, payment details), the German CIUS expects an electronic address for both parties, a seller contact with phone or email, and payment via one of the permitted means codes. The form above carries all of these fields, and the generated XML is validated against the CIUS rules before you download it.

Invoicing a company instead of an authority?

Then you do not need an XRechnung. For B2B invoices the practical German format is ZUGFeRD: a normal-looking PDF with the same structured data embedded inside:

ZRE, OZG-RE, or Peppol: how the file reaches the authority

Federal authorities receive through the ZRE portal, most states through OZG-RE or their own platforms, and a growing number accept delivery over the Peppol network. The XML is identical in all three cases; only the transport differs. Premium accounts can send the finished XRechnung via Peppol directly from this page.

PDF ZUGFeRD

Let your PDFs become compliant e-invoices on their own.

Stop retyping supplier invoices. The assistant scans your PDF, works out its layout and hands back a validated ZUGFeRD file that satisfies XRechnung and the German e-invoicing mandate.

  • OCR and AI read it for you
  • Fields mapped to UN/CEFACT CII for you
  • EN 16931 checks come built in
Convert a PDF invoice
INVOICE.PDF
<rsm:CrossIndustryInvoice>
<ram:ID>INV-0042</ram:ID>
<ram:IssueDateTime>2026-05-08
<ram:SellerTradeParty>
<ram:GrandTotalAmount>1240.00
</rsm:CrossIndustryInvoice>
Passed EN 16931 No errors · no warnings
For development teams

Issuing e-invoices from your own software? Build on InvoiceXML.

Get ZUGFeRD is made for working with invoices by hand. For your own system, the InvoiceXML API delivers ZUGFeRD and XRechnung compliance ready-made and keeps pace with Germany's e-invoicing rules, from EN 16931 to the B2B mandate, so your integration stays stable.

  • Ready for the German B2B e-invoicing mandate and EN 16931
  • ZUGFeRD profiles, versions and rule updates handled for you
  • ZUGFeRD, XRechnung, CII and UBL from a single API
create-invoice.sh HTTP API
# Generate a compliant e-invoice in a single request
curl -X POST https://api.invoicexml.com/v1/create/xrechnung \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "invoice": {
      "invoiceNumber": "INV-2025-001",
      "buyerReference": "991-12345-67",
      "seller": { "name": "Acme GmbH" },
      "buyer":  { "name": "Bundesamt" },
      "lines": [
        { "item": "Consulting", "quantity": 1, "netPrice": 1000, "vatRate": 19 }
      ]
    }
  }'

# 200 OK · application/xml
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