Invoice-api.xhub for WooCommerce
This is a free plugin that connects WooCommerce to the invoice-api.xhub.io e-invoicing service. Germany (XRechnung/ZUGFeRD)
- Last updated
- 6 months ago
- Version
- 1.1.0
- Tested up to
- WP 7.0.9
About this plugin
This is a free plugin that connects WooCommerce to the invoice-api.xhub.io e-invoicing service. The plugin itself is fully open source under GPLv2-or-later. To generate invoices you need an active subscription with invoice-api.xhub.io — service plans start at modest monthly tiers, see console.invoice-api.xhub.io for current pricing.
This is the same model used by Stripe, PayPal, Mollie, Mailchimp, and Zapier WordPress plugins: free open-source connector + paid third-party service.
It targets the EU e-invoicing mandates rolling out between 2025 and 2028 — Germany (XRechnung/ZUGFeRD, mandatory B2B receive 2025, send 2027/28), France (Factur-X, mandatory 2026/27), Italy (FatturaPA, mandatory since 2019), and 25 more countries.
Supported formats
- PDF (all 28 countries)
- UBL / Peppol BIS 3.0 (most EU countries)
- XRechnung (DE)
- ZUGFeRD (DE, CH)
- Factur-X (FR)
- FatturaPA (IT)
- Facturae (ES)
- ebInterface (AT)
- ISDOC (CZ)
- NAV (HU)
- myDATA (GR)
- Peppol UBL (PL, PT, RO)
- QR-Bill (CH)
Not every format is available for every country — the format dropdown shows the valid country combinations, and PDF works everywhere as the universal fallback.
How it works
- You install the plugin and add your invoice-api.xhub.io API key.
- You configure the default country, format, and seller details.
- When an order reaches the configured trigger (default: completed), the plugin POSTs the order to the API and stores the returned invoice file on the order.
- The customer-facing email gets the invoice file attached automatically (configurable).
- The order edit screen has a meta box to manually generate, re-generate, and download the invoice.
Video walkthroughs
Setup and feature videos are on the Invoice-api.xhub YouTube channel: youtube.com/@invoice-api-xhub-io
What this plugin does NOT do
- It does not host an OCR or template engine — generation is delegated to the API.
- It does not bypass WooCommerce taxes — tax rates are derived from line totals as WooCommerce computes them.
- It does not submit invoices to government portals (Peppol, FatturaPA SDI, KSeF). The XML/PDF is produced on the server and stored on the order; submission is your responsibility.
- It does not work without an API key — sign up at https://invoice-api.xhub.io to obtain one.
External services
This plugin relies on the third-party service invoice-api.xhub.io to generate the invoice files (XRechnung XML, ZUGFeRD PDF, Factur-X PDF, etc.). It is required for the plugin to function — invoice generation cannot happen locally because the service produces standards-compliant e-invoices using server-side libraries that are not bundled with this plugin.
Endpoint: https://service.invoice-api.xhub.io/api/v1/invoice/{country}/{format}/generate
What is sent: for every order processed (auto on a status transition you configure, or manually via the meta box):
- Seller information from your plugin settings: company name, VAT ID, street, postal code, city, country, email, IBAN, BIC (if configured)
- Buyer information from the order’s billing address: name (or company), street, city, postal code, country code, email
- Order line items: description, quantity, unit price, tax rate, tax category, net/tax/gross amounts
- Order metadata: invoice number, dates, currency, payment terms, country-specific fields (e.g. Leitweg-ID for DE)
What is NOT sent: WordPress user accounts, password hashes, payment-gateway credentials, server logs, plugin/theme lists.
When data is sent: only after you have configured an API key (no calls happen on activation or before configuration), and only at one of: (a) the configured order status transition, (b) when you click “Generate” / “Re-generate invoice” in the order meta box.
Service provider: xhub.io — see the Privacy / GDPR section below for the full data-flow description.
By configuring your API key and saving the plugin settings, you consent to this data being transmitted to invoice-api.xhub.io for the sole purpose of generating compliant e-invoices.
Privacy / GDPR
The plugin stores the generated invoice file (base64-encoded) and metadata on the WooCommerce order itself, using order custom fields prefixed with _invoice_api_xhub_. This includes the buyer’s billing details that are part of the invoice payload and will appear in the generated XML/PDF.
When a WordPress administrator processes a personal-data export request (Tools Export Personal Data), the plugin contributes the invoice number, generation timestamp, format, and filename for each order belonging to the requested email address.
When a personal-data erasure request is processed, the plugin deletes the stored invoice payload and all associated metadata for orders belonging to the requested email address.
Screenshots
Fully automatic workflow — every order becomes a compliant e-invoice without manual steps.
13 e-invoice formats across 28 European countries: PDF, UBL/Peppol BIS 3.0, XRechnung 3.0 (DE), ZUGFeRD 2.3 (DE/CH), Factur-X (FR), FatturaPA (IT), and more.
Your customers receive their invoice automatically — auto-download link in every order confirmation email.
Built for the EU e-invoicing mandate timeline: B2B receive 2025, B2B send 2027 (large enterprises), full coverage 2028.
WooCommerce → Settings → Integration → Invoice-api.xhub — pick country, format, trigger, attach-to-email behaviour, and seller details in one panel.
Order detail with the Invoice-api.xhub meta box — generated filename, timestamp, plus Re-generate and Download buttons on every order.
Analytics
Live from WordPress.org, refreshed daily. Last refresh Nov 27, 2026.
- Passes every health check below.
Health checks
Everything a careful site owner looks at before installing.
- Actively maintained Last release 6 months ago
- Tested with current WordPress Tested up to 7.0.9
- Support questions answered Nothing open in the last two months
- Well rated No ratings yet
- Latest week
- 19
- Typical week
- 15
- Peak
- 44 Week of Jun 5
View as table
| Week | Downloads |
|---|---|
| Week of Nov 20 | 19 |
| Week of Nov 13 | 24 |
| Week of Nov 6 | 15 |
| Week of Oct 30 | 13 |
| Week of Oct 23 | 12 |
| Week of Oct 16 | 15 |
| Week of Oct 9 | 19 |
| Week of Oct 2 | 18 |
| Week of Sep 25 | 17 |
| Week of Sep 18 | 15 |
| Week of Sep 11 | 15 |
| Week of Sep 4 | 11 |
| Week of Aug 28 | 11 |
| Week of Aug 21 | 9 |
| Week of Aug 14 | 12 |
| Week of Aug 7 | 11 |
| Week of Jul 31 | 13 |
| Week of Jul 24 | 16 |
| Week of Jul 17 | 8 |
| Week of Jul 10 | 11 |
| Week of Jul 3 | 8 |
| Week of Jun 26 | 2 |
| Week of Jun 19 | 5 |
| Week of Jun 12 | 21 |
| Week of Jun 5 | 44 |
| Week of May 29 | 15 |
| Week of May 22 | 15 |
Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.
Reviews
From folks on WPFolks
No reviews from folks yet. Used it? Be the first to say how it went.
