WooCommerce · XRechnung · EN 16931 · Peppol
XRechnung for WooCommerce: e-invoices straight from your orders
A free plugin that creates an XRechnung for every order, checks it against the official rules and attaches it to the order email. Same page in Deutsch.
GPL, version 1.0.0 · Source on GitHub · works without an account (20 invoices a day)
Short answer: Since 1 January 2025 every business in Germany must be able to receive e-invoices. From 1 January 2027 businesses with more than €800,000 turnover in the previous year must issue domestic B2B invoices as e-invoices, and from 1 January 2028 all businesses must. A PDF is no longer enough. The plugin builds the structured file (XRechnung 3.0, UBL) from the WooCommerce order and checks it before it leaves your shop.
What the plugin does
- XRechnung 3.0, EN 16931 or Peppol BIS 3 (UBL XML) from every order, automatically on completion or payment, or with one click.
- Validated on every invoice against the XML Schema, the CEN EN 16931 Schematron and the KoSIT XRechnung rules. Errors show on the order with a fix hint.
- Attached to the customer email (Completed order, Customer invoice) only when valid. Download from the admin any time.
- Everyday shop cases covered: 19% and 7%, shipping, fees, discounts, orders already paid, bank transfer with IBAN, intra-EU reverse charge with a VAT ID, exports, the German small business scheme (section 19 UStG).
- Leitweg-ID per order for public-sector buyers.
- Same invoice number as your PDF: reuses the number from WP Overnight PDF Invoices & Packing Slips, otherwise the order number.
- Optional Peppol: a sandbox to test (nothing is delivered) and live sending once your account is set up for it. Before every send: VAT ID in VIES, Peppol reachability, sanctions lists.


Up and running in five minutes
- Download the zip, then in WordPress go to Plugins, Add New, Upload Plugin. The WordPress.org directory listing has been submitted.
- Activate it (WooCommerce must be active).
- WooCommerce, Settings, E-Invoice: enter your company details, including contact name, phone and email (XRechnung requires them).
- Optionally paste a free API key.
- Complete a test order and open it: the E-invoice box shows the result and a download button.
Tested
On a WooCommerce 11.2 test store against the live API: a consumer order with 19% and 7% paid by PayPal, a business customer in the Netherlands with a VAT ID (reverse charge, bank transfer), a German small business (section 19 UStG) and a Peppol sandbox send all produced valid XRechnung files, with totals matching the order. Missing mandatory data is reported as a rule violation with the fix. WordPress Plugin Check: no errors.
What it does not do
- No ZUGFeRD / Factur-X PDFs yet, and no credit notes for refunds yet.
- Peppol-specific rules (PEPPOL-EN16931-*) are not checked yet; the EN 16931 rules are.
- Not tax or legal advice: a technically valid file does not replace checking the content of your invoices.
Which data leaves your shop
To create an invoice the plugin sends the order's invoice data to the W System API (api.wsystem.dev): your seller details, the customer's name, company, address, email and VAT ID, the lines, amounts and payment method. The invoice is transmitted only if you turn Peppol on. See the privacy policy and DPA.
Price
The plugin is free (GPL). The API: 20 invoices a day without a key; a free key with 500 units a month (8 units per invoice, about 60 invoices); Starter €19 for 5,000 units (625 invoices), Pro €49 for 25,000 units (3,125 invoices). Pricing
Questions
Is XRechnung accepted for B2B invoices in Germany?
Yes. Since 2025 an e-invoice in Germany is a structured electronic invoice that follows the European standard EN 16931. XRechnung is one of those formats; ZUGFeRD from version 2.0.1 (except the MINIMUM and BASIC WL profiles) is another.
Do I need an account or API key?
No. Without a key the W System API free tier allows 20 calls per day per server IP address. A free API key (email only, no card) has 500 units a month; one e-invoice costs 8 units, so about 60 invoices a month.
Do consumers need an e-invoice?
No. The German obligation covers invoices between businesses. You can set the plugin to create e-invoices only when the order has a billing company or a VAT ID.
Does it create ZUGFeRD PDFs?
Not yet. Version 1.0 creates XRechnung, EN 16931 and Peppol BIS 3 files in UBL XML. If you need a PDF for people as well, keep your PDF invoice plugin; the plugin reuses its invoice number.
What happens when an invoice fails validation?
Nothing is attached to the customer email. The order shows each failed rule with a short explanation and the fix, for example a missing seller phone number. Fix it in the settings and click Create again.
Can it send invoices over Peppol?
Optional. Sandbox mode runs the whole flow, including the VAT, Peppol and sanctions checks, and delivers nothing. Live sending needs an API key, a Peppol mandate for your VAT ID and an approved W System account.
Related
- EU VAT number check at WooCommerce checkout (free plugin)
- Free e-invoice validator
- E-invoice API for your own software
- German Federal Ministry of Finance: e-invoicing FAQ
Not affiliated with WooCommerce or KoSIT. Technical check, not legal or tax advice.