How to create Factur-X, ZUGFeRD and XRechnung invoices in WooCommerce (free)
Deutsche Version: XRechnung und ZUGFeRD in WooCommerce
Comparing invoice plugins? See the best WooCommerce invoice plugins roundup or what the EU e-invoicing mandates mean for WooCommerce.
Disclosure: Tillpress makes OrderBay Lite and OrderBay. This guide was written against OrderBay Lite 1.6.0 and OrderBay 1.18.0. It is not tax advice.
French and German business buyers increasingly ask for an e-invoice their accounting software can read. OrderBay Lite, a free plugin on WordPress.org, makes Factur-X / ZUGFeRD PDFs and XRechnung 3.0 files from any WooCommerce order, on your own server, with nothing extra to install.
Get OrderBay Lite free See what OrderBay addsWhich format do you need?
| Format | What it is | Who asks for it |
|---|---|---|
| Factur-X / ZUGFeRD | A normal-looking PDF invoice (PDF/A-3) with the invoice data embedded as XML. People read the PDF; software reads the XML. | French and German business buyers, and many accounting tools in both countries. Factur-X and ZUGFeRD 2.x are the same format under two names. |
| XRechnung 3.0 | Germany’s e-invoice standard, as pure XML or as a ZUGFeRD PDF with the XRechnung profile. | German public-sector buyers. They give you a Leitweg-ID to put on the invoice. |
| UBL 2.1 (Peppol BIS Billing 3.0) | XML used on the Peppol network. | Belgium and other Peppol countries. See our UBL guide. |
What you need
- WordPress 6.2+ and WooCommerce 7.0+, on PHP 7.4+ with the mbstring and dom extensions (most hosts have both).
- Your business details: legal name, address, country, VAT number, and for unpaid orders your IBAN and payment terms.
- About 15 minutes. No license key, account or extra PDF library.
Step by step
- Install OrderBay Lite. Plugins → Add New, search for “OrderBay Lite”, Install, Activate.
- Fill in your seller details. Open the OrderBay Lite settings and go to E-invoicing (Factur-X / ZUGFeRD, XRechnung, UBL). A checklist shows what is still missing. Fill it until it says Seller details look complete for e-invoicing. Add the invoice contact name and phone, and the IBAN, BIC, account holder and payment terms if customers pay by bank transfer.
- Try it on the demo order. On WooCommerce → OrderBay Lite help, click Create demo data. It makes one demo order with its own numbers, so your real invoice counter is not touched.
- Download the files. Open any order. The order screen has buttons for the Invoice, the Factur-X / ZUGFeRD PDF, XRechnung, UBL and CII.
- For a German public buyer: put their Leitweg-ID in the order’s buyer reference field before you download the XRechnung.
- Optional: email it automatically. Under Emailed invoices, tick Attach the Factur-X / ZUGFeRD PDF instead of the plain invoice PDF. The customer gets one PDF that people and software can both read.
- Check one file. Run one of your own invoices through a validator before relying on it (see below).
How we checked it
Sample paid and unpaid orders pass the KoSIT validator (EN 16931 and XRechnung 3.0.2) and the Mustang validator (PDF/A-3b and Factur-X). Paid orders are marked prepaid with nothing due, so the buyer does not pay twice; unpaid orders carry a due date and payment terms, as EN 16931 requires. Your own settings and products differ from our samples, so validate one of yours too. The free Mustang project and the KoSIT validator are the usual tools.
Free vs paid
| Capability | OrderBay Lite (free) | OrderBay ($79/year) |
|---|---|---|
| PDF invoices, sequential numbers, credit notes, packing slips | Yes | Yes |
| Factur-X / ZUGFeRD, XRechnung 3.0, UBL, CII | Yes | Yes |
| Send the invoice over Peppol | No (export only) | Yes, through your own Recommand account |
| Delivery notes, shipping labels, proformas, bulk printing | No | Yes |
| Fulfillment desk, tracking CSV import, WooCommerce Fulfillments sync, returns | No | Yes |
Common problems
- “E-invoice XML is a draft” warning on the order. A seller detail is missing. The warning names it; fill it in under E-invoicing.
- The buyer’s software reads the PDF but not the data. Make sure you sent the Factur-X / ZUGFeRD PDF, not the plain invoice PDF.
- A German authority rejects the XRechnung. Almost always a missing or wrong Leitweg-ID in the buyer reference field.
FAQ
Is it really free?
Yes. OrderBay Lite has no license key, no account and no phone-home, and nothing is locked later.
Do I need horstoeko/zugferd or another library?
No. The PDF engine (Dompdf) is bundled, and OrderBay builds the PDF/A-3 file itself.
Does it send invoices to Chorus Pro or the German portals?
No. OrderBay makes the files. Submitting them to a government portal or a French PDP is a separate step. Paid OrderBay can send over Peppol through Recommand.
Get OrderBay Lite free Compare with OrderBaySee also
WooCommerce e-invoicing and the EU mandates · UBL 2.1 guide · Sequential invoice numbers · EU withdrawal button