{"id":10743,"date":"2026-05-19T21:29:48","date_gmt":"2026-05-19T13:29:48","guid":{"rendered":"https:\/\/aeosub.com\/invoice-api-xhub-for-woocommerce\/"},"modified":"2026-05-19T21:29:48","modified_gmt":"2026-05-19T13:29:48","slug":"invoice-api-xhub-for-woocommerce","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/invoice-api-xhub-for-woocommerce\/","title":{"rendered":"Invoice-api.xhub for WooCommerce"},"content":{"rendered":"<div class=\"post-img\" style=\"margin-bottom: 25px\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/invoice-api-xhub-for-woocommerce\/assets\/banner-1544x500.png?rev=3537345\" alt=\"Invoice-api.xhub for WooCommerce\" style=\"width: 100%;height: auto;border-radius: 12px\"><\/div>\n<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 15px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/invoice-api-xhub-for-woocommerce\/assets\/icon-256x256.png?rev=3537345\" style=\"width: 40px;height: 40px;border-radius: 6px;margin-right: 12px;vertical-align: middle\"> Developer<\/th>\n<td style=\"padding: 15px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/devxhubio\/\" target=\"_blank\" rel=\"noopener\">devxhubio<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.0.2<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">0 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">6.4 \/ 6.9.4<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-05-19 12:47pm GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/invoice-api-xhub-for-woocommerce\/\" target=\"_blank\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\" rel=\"noopener\">View Details \u2192<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">Free plugin connecting WooCommerce to invoice-api.xhub.io for compliant e-invoices (XRechnung, ZUGFeRD, PDF) per EU mandates.<\/div>\n<p>This is a <strong>free<\/strong> plugin that connects WooCommerce to the <a href=\"https:\/\/invoice-api.xhub.io\" rel=\"nofollow ugc noopener\" target=\"_blank\">invoice-api.xhub.io<\/a> 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 \u2014 service plans start at modest monthly tiers, see <a href=\"https:\/\/console.invoice-api.xhub.io\" rel=\"nofollow ugc noopener\" target=\"_blank\">console.invoice-api.xhub.io<\/a> for current pricing.<\/p>\n<p>This is the same model used by Stripe, PayPal, Mollie, Mailchimp, and Zapier WordPress plugins: free open-source connector + paid third-party service.<\/p>\n<p>It targets the EU e-invoicing mandates rolling out between 2025 and 2028 \u2014 Germany (XRechnung\/ZUGFeRD, mandatory B2B receive 2025, send 2027\/28), France (Factur-X, mandatory 2026\/27), Italy (FatturaPA, mandatory since 2019), and 11 more countries.<\/p>\n<h4>Supported formats (live now)<\/h4>\n<ul>\n<li>PDF (all 14 countries)<\/li>\n<li>XRechnung (DE)<\/li>\n<li>ZUGFeRD (DE, AT)<\/li>\n<\/ul>\n<h4>Coming Q3 2026<\/h4>\n<p>The invoice-api.xhub.io API roadmap adds these formats from Q3 2026 onwards. The plugin will surface them in the format dropdown automatically once the backend supports generation:<\/p>\n<ul>\n<li>Factur-X (FR)<\/li>\n<li>FatturaPA (IT)<\/li>\n<li>Facturae (ES)<\/li>\n<li>ebInterface (AT)<\/li>\n<li>UBL (BE, NL, BG, RO)<\/li>\n<li>ISDOC (CZ)<\/li>\n<li>NAV (HU)<\/li>\n<\/ul>\n<p>In the meantime PDF works for all 14 countries \u2014 that&#8217;s the universal fallback while the country-specific formats roll out.<\/p>\n<h4>How it works<\/h4>\n<ol>\n<li>You install the plugin and add your invoice-api.xhub.io API key.<\/li>\n<li>You configure the default country, format, and seller details.<\/li>\n<li>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.<\/li>\n<li>The customer-facing email gets the invoice file attached automatically (configurable).<\/li>\n<li>The order edit screen has a meta box to manually generate, re-generate, and download the invoice.<\/li>\n<\/ol>\n<h4>What this plugin does NOT do<\/h4>\n<ul>\n<li>It does not host an OCR or template engine \u2014 generation is delegated to the API.<\/li>\n<li>It does not bypass WooCommerce taxes \u2014 tax rates are derived from line totals as WooCommerce computes them.<\/li>\n<li>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.<\/li>\n<li>It does not work without an API key \u2014 sign up at https:\/\/invoice-api.xhub.io to obtain one.<\/li>\n<\/ul>\n<h4>External services<\/h4>\n<p>This plugin relies on the third-party service <strong>invoice-api.xhub.io<\/strong> to generate the invoice files (XRechnung XML, ZUGFeRD PDF, Factur-X PDF, etc.). It is required for the plugin to function \u2014 invoice generation cannot happen locally because the service produces standards-compliant e-invoices using server-side libraries that are not bundled with this plugin.<\/p>\n<p><strong>Endpoint:<\/strong> <code>https:\/\/service.invoice-api.xhub.io\/api\/v1\/invoice\/{country}\/{format}\/generate<\/code><\/p>\n<p><strong>What is sent:<\/strong> for every order processed (auto on a status transition you configure, or manually via the meta box):<\/p>\n<ul>\n<li>Seller information from your plugin settings: company name, VAT ID, street, postal code, city, country, email, IBAN, BIC (if configured)<\/li>\n<li>Buyer information from the order&#8217;s billing address: name (or company), street, city, postal code, country code, email<\/li>\n<li>Order line items: description, quantity, unit price, tax rate, tax category, net\/tax\/gross amounts<\/li>\n<li>Order metadata: invoice number, dates, currency, payment terms, country-specific fields (e.g. Leitweg-ID for DE)<\/li>\n<\/ul>\n<p><strong>What is NOT sent:<\/strong> WordPress user accounts, password hashes, payment-gateway credentials, server logs, plugin\/theme lists.<\/p>\n<p><strong>When data is sent:<\/strong> 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 &#8220;Generate&#8221; \/ &#8220;Re-generate invoice&#8221; in the order meta box.<\/p>\n<p><strong>Service provider:<\/strong> xhub.io \u2014 see the Privacy \/ GDPR section below for the full data-flow description.<\/p>\n<p>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.<\/p>\n<h4>Privacy \/ GDPR<\/h4>\n<p>The plugin stores the generated invoice file (base64-encoded) and metadata on the WooCommerce order itself, using order custom fields prefixed with <code>_invoice_api_xhub_<\/code>. This includes the buyer&#8217;s billing details that are part of the invoice payload and will appear in the generated XML\/PDF.<\/p>\n<p>When a WordPress administrator processes a personal-data export request (Tools <span aria-hidden=\"true\" class=\"wp-exclude-emoji\">\u2192<\/span> Export Personal Data), the plugin contributes the invoice number, generation timestamp, format, and filename for each order belonging to the requested email address.<\/p>\n<p>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.<\/p>","protected":false},"excerpt":{"rendered":"<p>Free plugin connecting WooCommerce to invoice-api.xhub.io for compliant e-invoices (XRechnung, ZUGFeRD, PDF) per EU mandates.<\/p>","protected":false},"author":1,"featured_media":9317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[1377,910,569,555,1378,1379],"class_list":["post-10743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-e-invoice","tag-invoice","tag-woocommerce","tag-wordpress-plugin","tag-xrechnung","tag-zugferd"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/10743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=10743"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/10743\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/9317"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=10743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=10743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=10743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}