Linux 软件免费装
Banner图

B2Brouter for WooCommerce

开发者 b2brouter
更新时间 2026年6月1日 20:58
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: MIT
版权网址: 版权信息

标签

woocommerce invoice factura facture tax report e-invoicing verifactu peppol ksef

下载

1.0.5 1.0.6

详情介绍:

B2Brouter for WooCommerce connects your WooCommerce store with the B2Brouter platform to generate and send electronic invoices automatically — including the country-specific tax authority reporting required in Spain, France and Poland. Built-in regulatory compliance The plugin includes explicit support for the following e-invoicing regimes: Beyond these explicit regimes, the plugin generates compliant electronic invoices in standard formats (UBL, Facturae, Peppol) for the rest of the EU, the UK, and other jurisdictions supported by B2Brouter. Important: Authority-specific configuration (Verifactu certificates, KSeF tokens, Chorus Pro identifiers, etc.) is managed in the B2Brouter dashboard, not in the WordPress plugin UI. The plugin only needs your B2Brouter API key. Key features Requirements

安装:

  1. Download the plugin ZIP from the GitHub releases page (or install from the WordPress.org plugin directory once available).
  2. In WordPress admin, go to Plugins → Add New → Upload Plugin and select the ZIP file.
  3. Click Install Now, then Activate Plugin.
  4. Navigate to Invoices → Settings, paste your B2Brouter API key and click Validate Key.
  5. Choose Automatic or Manual invoice generation mode and configure series codes for invoices and credit notes.
  6. (Recommended) Configure webhooks under Invoices → Settings → Webhook Configuration for real-time status updates.

屏幕截图:

  • Order edit screen showing the B2Brouter Invoice meta box with status and PDF download.
  • WooCommerce orders list with the invoice status column.
  • List of Invoices admin page with bulk PDF download.
  • Webhook configuration section.
  • Customer "My Account" view with Download Invoice / Generate Invoice buttons.

升级注意事项:

1.0.6 Invoices now reflect item options, line discounts, and order-level fees, so totals and the taxable base reconcile with the WooCommerce order. Fixes VAT under-reversal on credit notes / Spanish rectificatives and a fatal error on failed refund invoices. Recommended for all sites that use coupons, fees, product add-ons, or refunds. 1.0.5 Bumps the bundled B2Brouter PHP SDK to v1.3 (API version 2026-04-20) and migrates the refund payload to the new invoice_references[] shape. Adds plugin self-identification to the outbound User-Agent header. Tested up to WordPress 7.0. 1.0.4 Security release. Hardens invoice PDF cache path validation and stops the WooCommerce REST API from writing internal _b2brouter_* order meta. All sites should upgrade. 1.0.3 Strips development-only files from the bundled SDK in the release ZIP (no behaviour change for installed plugins). Resolves the WordPress.org Plugin Review Team's flag on .env.example and similar package internals. 1.0.2 Declares WooCommerce as a plugin dependency via the Requires Plugins header (WordPress 6.5+). No change in behaviour for users on older WordPress versions. 1.0.1 Fixes the plugin header so the WordPress.org submission validator accepts it: Plugin URI and Author URI are now distinct. 1.0.0 First stable release. Plugin slug renamed to b2brouter-for-woocommerce for WordPress.org compliance — existing installs upgrading in place will see the plugin as a new entry under the new directory and must be reactivated. Bulk invoice generation moved to Action Scheduler. SDK upgraded to v1.2. 0.9.4 Final pre-release before 1.0. Filesystem API migration (required for wp.org), translations, and explicit compliance scope docs (Verifactu, DGFiP, KSeF). Sequential and custom numbering modes removed — switch to Automatic or WooCommerce order number before upgrading.

常见问题:

Do I need a B2Brouter account?

Yes. The plugin requires an active B2Brouter eDocExchange subscription. Sign up at app.b2brouter.net and obtain an API key under Developers → API Keys.

Where do I configure Verifactu, KSeF or Chorus Pro?

Authority-specific configuration (certificates, tokens, identifiers) is managed in your B2Brouter dashboard, not in the WordPress plugin UI. Once your dashboard is configured, the plugin transparently sends invoices through the appropriate regime.

Does the plugin work for countries outside Spain, France and Poland?

Yes. Beyond the explicitly supported compliance regimes, the plugin generates standard electronic invoices (UBL, Facturae, Peppol) for the rest of the EU, the UK and other jurisdictions supported by B2Brouter. Need explicit compliance for another country? Open an issue.

Is HPOS (High-Performance Order Storage) supported?

Yes. The plugin declares full compatibility with WooCommerce HPOS / Custom Order Tables.

How do I get real-time invoice status updates?

Enable webhooks under Invoices → Settings → Webhook Configuration. Copy the auto-generated webhook URL into your B2Brouter dashboard (Developers → Webhooks), then paste the generated webhook secret back into WordPress. Updates arrive in under one second; a 6-hour fallback poll keeps things reliable.

Is the TIN/VAT field shown at checkout?

Yes, automatically. It works with both classic shortcode-based checkout and the new block-based checkout (WooCommerce 8.6+). The value is stored in _billing_tin on the order and on the customer profile for reuse.

Are credit notes generated automatically?

Credit notes are generated on demand for WooCommerce refunds when the parent order has an invoice. They follow the country-specific format (e.g. Spanish rectifying invoices) and are accessible from the order admin and from the customer's My Account page.

Are tests included?

Yes. The plugin ships with a PHPUnit test suite. See docs/DEVELOPER_GUIDE.md in the repository for instructions.

更新日志:

1.0.6 Added: Fixed: 1.0.5 Changed: 1.0.4 Security: 1.0.3 Fixed: 1.0.2 Added: 1.0.1 Fixed: 1.0.0 First stable release. Cleared for distribution via the WordPress.org plugin directory and the WooCommerce Marketplace. Plugin Check reports zero errors and zero warnings on the shipped ZIP, and HPOS compatibility was audited end to end (no direct wp_postmeta access remains). Added: Changed: Security: Fixed: 0.9.4 Final pre-release before 1.0. Focused on stability, operational polish, and preparing the plugin for distribution via the WordPress.org plugin directory and the WooCommerce Marketplace. Compliance scope: Added: Changed: Fixed: 0.9.3 0.9.2 0.9.1 0.9.0 For the complete history, see CHANGELOG.md in the repository.