E-invoicing in Germany from 2027: what online shops must change
Since 1 January 2025 every business in Germany must be able to receive e-invoices. Online shops must issue them for sales from 1 January 2027 if their turnover in the previous year exceeded €800,000, and from 1 January 2028 otherwise, but only to business customers established in Germany. Invoices to consumers stay as they are.
- Author
- Semen Kheyfets
- Published
- 23 November 2026
- Reading time
- 10 minutes
- Topic
- E-commerce
E-invoicing in Germany only affects invoices between businesses established in Germany. All of them have had to be able to receive e-invoices since 1 January 2025, and an email inbox is enough for that. Online shops must issue e-invoices for sales from 1 January 2027 if their total turnover in 2026 exceeded €800,000, and everyone else from 1 January 2028. Invoices to consumers do not change.
For a shop with business customers, that means deciding by the end of 2026 or 2027 where the invoice is created, in the shop, the inventory system (ERP) or the accounting software, and making that system produce XRechnung or ZUGFeRD. It is less a question of file format than of data flow.
The legal basis is § 14 of the German VAT Act (UStG) as amended by the Growth Opportunities Act (BGBl. 2024 I No. 108), with the transitional rules in § 27(38) UStG. The Federal Ministry of Finance (BMF) set out its interpretation in letters of 15 October 2024, 15 October 2025 and 15 October 2026 and summarises it in its e-invoicing FAQ (in German), last updated on 29 October 2026. We describe what these sources say and what it means technically. How it applies to your business is a question for your tax adviser; the ministry itself notes that its FAQ is not legally binding.
E-invoicing in Germany: the 2025, 2027 and 2028 deadlines
| For sales from | Who | What |
|---|---|---|
| 1 January 2025 | all businesses established in Germany | Be able to receive e-invoices. Everyone may still issue paper or, with the recipient's consent, PDF. |
| 1 January 2027 | businesses with more than €800,000 total turnover in the previous year | Issue e-invoices to businesses in Germany |
| 1 January 2027 | businesses up to €800,000 previous-year turnover | May still send paper or, with consent, PDF until 31 December 2027 |
| 1 January 2028 | all businesses | Issue e-invoices to businesses in Germany. The transition for EDI processes outside EN 16931 also ends. |
What counts is the date of the sale, meaning the delivery. A paper or PDF invoice must also be sent before the relevant transition period ends. The €800,000 threshold refers to total turnover under § 19(2) UStG in the previous calendar year, so for 2027 it is your 2026 turnover. Ask your bookkeeping for that figure before you plan.
According to the BMF, an email inbox is enough to receive e-invoices. That alone does not let you read an incoming XRechnung, though, because it contains no PDF. The ministry points to free viewers and to the tax authorities' e-invoice viewer in the ELSTER portal. If you receive many supplier invoices, set up processing in your accounting software.
B2C, cross-border and other exceptions
The obligation only applies where there is a VAT obligation to issue an invoice at all, and for consumers there usually is none. The BMF names invoices to end consumers explicitly as an exception. A pure B2C shop only needs to be able to receive e-invoices, for example from suppliers, hosting providers or agencies.
Even in B2B there are exceptions that matter for online shops:
- Invoices up to €250 gross (small-amount invoices) may always be sent as an "other invoice" (§ 33 UStDV). Small orders from business customers can fall under this.
- Small businesses under the German small business scheme (Kleinunternehmer) do not have to issue e-invoices (§ 34a UStDV), but must be able to receive them.
- Supplies to legal entities that are not businesses, such as many associations, may be invoiced as an "other invoice".
- The obligation only applies when supplier and customer are both established in Germany (§ 14(2) sentence 2 no. 1 UStG).
The last point matters for an international audience. A German shop invoicing a business in Austria or France is not covered by the German e-invoicing rule. A shop based outside Germany that sells to German businesses is not covered either if it has no establishment in Germany. The BMF FAQ says that foreign businesses registered for VAT in Germany without a fixed establishment can state this on the invoice to explain why it is not an e-invoice. Rules in other EU countries are not covered here.
For the build, this means the shop has to recognise per order whether a German business customer is buying and whether the amount exceeds €250. More on that below.
XRechnung or ZUGFeRD: which formats count
Since 2025 an e-invoice is only an invoice in a structured electronic format that allows electronic processing (§ 14(1) UStG). A PDF sent by email no longer qualifies and counts as an "other invoice". The benchmark is the European standard EN 16931, which defines an XML-based format.
The BMF names two formats explicitly: XRechnung, and ZUGFeRD from version 2.0.1, excluding the MINIMUM and BASIC-WL profiles.
| XRechnung | ZUGFeRD | |
|---|---|---|
| Structure | pure XML file | PDF with embedded XML |
| Human-readable | only with a viewer | yes, like a normal PDF |
| Maintained by | KoSIT | FeRD (AWV) |
| Accepted versions | XRechnung | from 2.0.1, not MINIMUM or BASIC-WL |
Since 2025 the XML is the authoritative part of a ZUGFeRD invoice. If PDF and XML differ, the XML wins. All mandatory VAT details have to be in the structured part; a reference to a PDF attachment is not enough.
One rule matters for shops in particular: gross-price invoices. If you calculate with gross prices, EN 16931 can produce rounding differences. For e-invoices issued up to 31 December 2027, the BMF does not object if the structured part only contains the totals per tax rate and the individual lines sit in a readable attachment. That is a transitional measure. Plan your invoices so that the lines also add up cleanly in net terms.
Corrections are part of it too. Where an e-invoice is mandatory, the BMF says the correction must be an e-invoice as well. For shops this means corrections after returns or cancellations need the same format as the invoice.
Where your online shop creates the invoice
Before installing a plugin, find out which system assigns the invoice number today. In most shops it is one of three:
| Invoice created in | Typical for | What to do |
|---|---|---|
| Shop | smaller shops without an inventory system | Shop plugin or core feature for XRechnung or ZUGFeRD |
| Inventory system or ERP | shops running JTL, Xentral, weclapp and similar | Set up e-invoicing in the ERP; the shop stays as it is |
| Accounting software | shops passing orders to tools like Lexware Office or sevDesk | Set up e-invoicing in the accounting tool, check the handover |
Our view: the e-invoice belongs where the invoice number is assigned, and for shops with a meaningful B2B share that is usually the ERP rather than the shop. That is also where credit notes, partial deliveries and cancellations are created, which must also be e-invoices according to the BMF. Shopware's own documentation recommends that most B2B merchants generate invoices in the ERP as well, because invoicing belongs in one central system.
Take JTL-Wawi as an example. According to the JTL guide (in German), it creates ZUGFeRD invoices from version 1.11, supports XRechnung, includes a validator and can control the invoice format per customer group through templates. If your invoices come from there, nothing changes in the shop.
The risky setup is a mix: the shop writes a PDF invoice, the ERP writes a second one, and nobody knows which one counts. When you switch, decide which system writes the invoice and turn invoicing off in the other.
E-invoicing in WooCommerce, Magento 2 and Shopware 6
If the invoice is created in the shop, the effort depends on the platform.
WooCommerce
There are several plugins for WooCommerce. Two widely used ones:
- PDF Invoices & Packing Slips for WooCommerce by WP Overnight is free and, according to its description, offers XML formats besides PDF, including UBL 2.1, CII D16B, Factur-X 1.0, ZUGFeRD 1.0 and ZUGFeRD 2.0. Choose carefully: according to the BMF, ZUGFeRD 1.0 does not meet the requirements; only 2.0.1 and later do.
- The paid Pro version of Germanized (documentation, in German) creates ZUGFeRD e-invoices with the profiles Basic, Comfort, Extended and XRechnung, optionally as PDF/A with embedded XML. The vendor says the XRechnung profile cannot be generated automatically because it needs per-invoice details such as the routing ID for public authorities.
Creating the e-invoice in WooCommerce makes sense when the shop already writes the invoices. In WooCommerce projects with an inventory system we tend to move invoicing there.
Shopware 6
According to its documentation, Shopware has created ZUGFeRD invoices in the core since version 6.6.10.0, using CII and compliant with EN 16931. There are variants with the XML embedded in the PDF and variants with a separate XML file, and since 6.7.9.0 also for other documents such as credit notes and cancellation invoices. The content comes from the settings of each document type. The e-invoices are not generated automatically by default; you add them to the document creation flow in the Flow Builder.
Before switching, check the master data: company name, address, VAT ID and payment terms must be complete in the document settings, or mandatory details will be missing from the XML. According to the documentation, Shopware does not support Peppol natively.
Magento 2
Magento does not ship e-invoicing; XRechnung and ZUGFeRD do not appear in the Magento 2.4.9 release notes. Ready-made modules are scarce, and we could not independently verify the vendors we found. In Magento projects, the invoice for business customers is therefore usually better created in the ERP.
If the invoice has to come from Magento, a custom module is the way. The free PHP library horstoeko/zugferd (MIT licence) creates and reads European e-invoices and can be wired into a Magento module that generates the XML when the invoice is created and attaches it to the PDF. We estimate the effort after looking at your invoicing processes; more on our Magento work is on the Magento agency page.
Shops selling to both consumers and businesses
In a mixed shop, the system has to decide per order which invoice to write. That needs a reliable marker: a mandatory company field, the VAT ID, a customer group for business customers or a separate B2B area. An optional company field that consumers fill in too is not a reliable distinction.
Then there are two routes. Either the shop creates an e-invoice only for business customers and keeps sending PDFs to consumers. Or it creates ZUGFeRD for everyone, which looks like a normal PDF to consumers. The second route is simpler to build because there is only one invoice template. Keep in mind that under § 14(1) UStG any invoice in an electronic format, a PDF included, needs the recipient's consent where no e-invoicing obligation applies. ZUGFeRD does not change that.
Two special cases need thought. Business customers abroad are not covered, so the shop also has to take the country into account. And orders up to €250 gross may still go out as PDF; whether you use that exception or send all business customers an e-invoice for simplicity is a decision about your processes.
What to get done by the end of 2026
- Establish your total turnover for 2026: above €800,000, the obligation applies to sales from 1 January 2027.
- Make sure you can receive: an inbox for invoices and a way to read and book XRechnung files.
- Decide which system writes the invoice: shop, ERP or accounting software.
- Set up XRechnung or ZUGFeRD 2.0.1 or later in that system, including corrections and cancellations.
- Define the marker for business customers at checkout and add it for existing customers.
- Check master data: company name, address, tax number or VAT ID, payment terms.
- Generate and validate test invoices. The BMF recommends validating when invoices are created and sent, and KoSIT provides a free validator.
- Ask two or three of your largest business customers which format and channel they expect.
If shop, ERP and accounting need to be connected in new ways along the way, that is an integration project: invoice data, credit notes and payment status have to flow between the systems without anyone retyping them.