XRechnung: How to Create One (2027 and 2028 Rules)

To create an XRechnung, you turn your invoice into a structured XML file that follows the European standard EN 16931, check it against the format's rules, and send it to your client, usually as an email attachment. Germany has required every business to be able to receive these e-invoices since 1 January 2025, and the duty to issue them starts in 2027 or 2028, depending on your turnover.

This guide is for freelancers, tradespeople and small businesses with German clients. It explains who has to issue e-invoices and from when, which formats count, what goes into the file, how to send it, and what changes if you are a Kleinunternehmer or based outside Germany. The rules below are as of November 2026 and come from the German VAT Act (UStG), its implementing regulation (UStDV) and the letter of the Federal Ministry of Finance (BMF) of 15 October 2025. This is general information, not tax advice: for your own situation, ask your Steuerberater.

What an XRechnung is (and what it is not)

German VAT law now has two kinds of invoice. An e-invoice (E-Rechnung) is issued, sent and received in a structured electronic format that software can process. Everything else is an "other invoice" (sonstige Rechnung): paper, but also a normal PDF, a scanned image or an invoice typed into the body of an email. That is the surprise for many small businesses. The PDF you have emailed for years is, in the eyes of the law, not an e-invoice.

The BMF letter names two German formats that meet the standard:

  • XRechnung: a pure XML file, written in one of two syntaxes, UBL or CII. It is made for machines. A person reads it through a viewer program, not by opening it.
  • ZUGFeRD, from version 2.0.1: a hybrid. It is a PDF a person can read, with the XML data embedded inside it. The profiles MINIMUM and BASIC-WL do not count, because they do not carry a full invoice. Factur-X is the French name for the same format.

Other formats that follow EN 16931, such as Peppol BIS, are allowed too. Which one you use is for you and your client to agree. In a hybrid file, the XML data is the invoice: if the PDF picture and the data disagree, the data wins.

The deadlines: who must issue e-invoices, and when

The obligation applies to invoices between two businesses that are both established in Germany, for work done for the client's business. It runs in three steps, set out in § 27 (38) UStG:

  1. Since 1 January 2025: receiving. Every business in Germany must be able to receive an e-invoice, including Kleinunternehmer. Your normal email inbox is enough. The BMF letter says plainly that no separate mailbox for e-invoices is needed.
  2. Work done in 2025 and 2026: free choice. You may still send paper, or a plain PDF if your client agrees, as long as the invoice goes out by 31 December 2026.
  3. Work done in 2027: depends on your turnover. If your total turnover in 2026 was more than €800,000, you must issue e-invoices. If it was €800,000 or less, paper or a PDF (with consent) is still allowed, as long as the invoice goes out by 31 December 2027.
  4. From 1 January 2028: everyone. All businesses established in Germany issue e-invoices to other German businesses.

Note what the transition depends on: when the work was done, and when the invoice was sent. A small business that does a job in December 2027 and invoices it in January 2028 has missed the transition window: the invoice is sent in 2028, so it has to be an e-invoice.

The €800,000 is your total turnover (Gesamtumsatz) of the previous calendar year. For most freelancers and small trade businesses, that means the real start date is 1 January 2028. You do not have to wait, though. Since 1 January 2025, a German business client has to accept your e-invoice without being asked, even while you may still send paper. Only a plain PDF needs their agreement, and that can be informal: a client who simply accepts your PDF invoices without objecting has agreed.

Who does not have to issue them

Kleinunternehmer

If you use the small business scheme of § 19 UStG, you may always send your invoices as an "other invoice", also after 2028. That is in § 34a UStDV. Paper is always fine; a PDF needs only an informal agreement with your client. You still have to be able to receive e-invoices, for example from your suppliers. And you may send XRechnung or ZUGFeRD if you like: a German business client has to accept it, without being asked first.

Invoices up to €250

An invoice whose total, VAT included, is no more than €250 (a Kleinbetragsrechnung under § 33 UStDV) may also always be an "other invoice". The BMF letter adds a detail: the total of the whole invoice decides. A €310 invoice must be an e-invoice once the duty applies, even if the part of it that falls under the rule is less than €250.

Consumers and businesses outside Germany

Private clients never have to accept an e-invoice; you need their consent to send one. And if either party is not established in Germany, there is no e-invoice obligation at all. Established means a registered office, management, a permanent establishment involved in the sale, or, without those, a residence in Germany.

If you are a freelancer outside Germany

Say you are a designer in Amsterdam or a developer in Kraków, billing a company in Munich. Under German rules you do not have to send an e-invoice, because you are not established in Germany. You may send paper, or with your client's consent a PDF or an e-invoice.

In practice, your client may still ask for an e-invoice, because their accounts payable software reads it in by itself. A ZUGFeRD or Factur-X file is the easy answer: your client's software gets the data, and anyone who opens it still sees a normal PDF. Do check your own country's invoicing rules too. They decide what your invoice has to contain, and some countries have e-invoicing rules of their own. Our e-invoicing by country overview gives a summary.

What goes into the file

An XRechnung carries the same details a correct German invoice needs under § 14 (4) UStG, as data fields instead of text on a page:

  • your full name and address, and those of your client
  • your tax number (Steuernummer) or VAT ID
  • the invoice date and a unique, sequential invoice number
  • what you delivered or did, and how much
  • when you did the work
  • the net amount broken down by tax rate, the rate and the VAT amount, or a note on why no VAT is charged

The format adds a few fields of its own. Every XRechnung has a buyer reference (field BT-10). The BMF letter uses an empty BT-10 as its example of a broken business rule. Billr's checks also ask for your email address, a phone number and payment details such as your IBAN.

Here is a concrete example. A carpenter in Cologne fits built-in wardrobes for a dental practice: 24 hours at €58 is €1,392, plus €640 of materials, for a net total of €2,032. VAT at 19% is €386.08, so the invoice total is €2,418.08. In the XRechnung, each of those figures sits in its own field. The tax amount must match the rate and the net amount exactly. If the file says 19% and €386.00, a validator flags it, and your client's software may reject the invoice.

For a general checklist of what belongs on any invoice, see what to include on an invoice.

Invoicing public authorities: the Leitweg-ID

Invoices to German public bodies (B2G) follow their own rules. Federal authorities use XRechnung as their standard (another format only if it meets EN 16931 and the federal e-invoicing regulation), and every invoice needs the authority's Leitweg-ID, a routing ID that tells their system which office the invoice belongs to. It goes in the buyer reference field, BT-10.

According to the federal e-invoicing portal for suppliers, the authority gives you its Leitweg-ID with the order, or you ask them for it. You do not need a Leitweg-ID of your own. Federal bodies receive invoices through the platform OZG-RE, where you register as a sender. States and municipalities may use their own systems, so ask the authority how it wants to receive your invoice.

How to send an XRechnung

For invoices between businesses, there is no special network you have to use. The BMF letter lists email, download from a portal, EDI, an interface or a shared storage location as possible ways. Which one you use is up to you and your client.

For most freelancers that means: attach the XML file to your normal invoice email, ideally with a readable PDF next to it, or send one ZUGFeRD PDF. A few habits help:

  • Ask where invoices should go. Many companies have a separate address for incoming invoices. Ask once and save it with the client.
  • Keep proof you sent it. If a client cannot or will not receive an e-invoice, they have no right to demand a paper one from you. The BMF letter says your duty is met if you issued an e-invoice and can show you tried to deliver it, for example with a send log.
  • Keep the file itself. Archive the XML you sent, not just a printout. Ask your Steuerberater how and for how long.
  • Do not edit a sent invoice. If something is wrong, issue a credit note and a new invoice, so the numbers stay clean.

How to create an XRechnung in Billr, step by step

You can build an XRechnung by hand, with free tools or with an XML editor, but it is slow and easy to get wrong. Billr makes the e-invoice from your normal invoice, on iPhone, Android and the web. It works like this:

  1. Set your business country. In Settings, Business details, choose Germany. Billr then offers XRechnung (UBL or CII), ZUGFeRD/Factur-X and Peppol BIS. With most other business countries you get Factur-X/ZUGFeRD and Peppol BIS; countries with their own system, such as Italy, Poland, Romania and Spain, get their national format.
  2. Complete the list. Under Settings, E-invoicing, Billr shows what is still missing, such as your address, tax number, email, phone or bank details, with a link to each field.
  3. Set up the client. Mark the client as a business or a public body. For a public body, fill in the Leitweg-ID as the Client reference.
  4. Create the invoice as usual, from tracked hours or with your own lines.
  5. Make it final. Before the invoice becomes final, Billr checks the e-invoice against the rules of the format. If something is missing, it tells you what and where to fix it.
  6. Send it. With "Send along when sending" switched on, the XRechnung goes in the invoice email next to the PDF. With ZUGFeRD, the PDF itself carries the e-invoice. You can also download the file and send it yourself.

Two things Billr does not do: it does not receive e-invoices for you, and it does not deliver to authorities' platforms such as OZG-RE. Billr makes and checks the file; how it reaches your client stays your responsibility. E-invoices are available on every plan, including Free.

Key takeaways

  • Since 1 January 2025, every business in Germany must be able to receive e-invoices. An email inbox is enough.
  • Issuing becomes mandatory for work done from 1 January 2027 if your 2026 turnover was above €800,000 (apart from EDI, which hardly any freelancer uses), and for everyone from 1 January 2028.
  • Kleinunternehmer and invoices up to €250 are exempt from issuing, but not from receiving.
  • There is no obligation if you or your client is not established in Germany.
  • Valid formats follow EN 16931: XRechnung, or ZUGFeRD from 2.0.1 (not MINIMUM or BASIC-WL). A plain PDF is not an e-invoice.
  • Public bodies need their Leitweg-ID in the buyer reference field.
  • Between businesses, an email attachment is a valid way to send it.

FAQ

Is a PDF invoice an e-invoice in Germany?

No. A PDF without embedded data counts as an "other invoice". A ZUGFeRD PDF from version 2.0.1, which has the XML inside, is an e-invoice, except in the MINIMUM and BASIC-WL profiles.

Do I need special software or Peppol to receive e-invoices?

For invoices between businesses, no. The BMF letter says an existing email inbox is enough. You do need a way to read the XML, for example a viewer program or your accounting software.

I am a Kleinunternehmer. Does anything change for me?

For sending, no: you may keep sending paper or, with your client's agreement, PDF invoices. You must be able to receive e-invoices from your suppliers, and you may send XRechnung or ZUGFeRD voluntarily.

Should I choose XRechnung or ZUGFeRD?

Both are valid between businesses. ZUGFeRD is easier for clients who still read invoices by eye, because it opens as a PDF. For federal authorities, use XRechnung. If in doubt, ask your client which one their software prefers.

What if my client cannot receive an e-invoice?

Once the obligation applies to you, you still issue an e-invoice. If you can show that you tried to deliver it, for example with a send log, your duty is met. Your client has no right to demand a paper invoice instead.

Want to try it on a real invoice? Start with Billr's free plan, set Germany as your business country and make your first XRechnung in a few minutes.

Ready to try Billr?

Create a free account and send your first invoice today.

Create your first invoice