Linux 软件免费装
Banner图

GoFactoX: Facture électronique Factur-X for WooCommerce

开发者 decant
freemius
更新时间 2026年10月19日 23:33
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

facture e-invoicing factur-x facturation-electronique facture-electronique

下载

1.1.1 1.3.0 1.4.0 1.4.1 1.6.1 1.4.2 1.5.0 1.5.1 1.6.0 1.2.0 1.1.0 1.2.1

详情介绍:

GoFactoX turns your WooCommerce orders into Factur-X invoices and credit notes (facture électronique, avoirs): a PDF/A-3 with the EN 16931 XML embedded, or CII and UBL 2.1 XML, with the French legal mentions and B2B checkout fields (SIREN, SIRET, VAT number). Built for the French réforme de la facturation électronique: every VAT-liable business must be able to receive e-invoices since 1 September 2026, and small businesses must issue them from 1 September 2027. Generation is free. The Pro plan runs it automatically and sends each invoice and credit note to your own Plateforme Agréée account (SUPER PDP), with the status shown in WooCommerce. Why You Need This The French reform makes electronic invoicing mandatory: reception for all VAT-liable businesses from September 2026, emission for small businesses from September 2027. GoFactoX handles the part that lives inside your store: it turns WooCommerce orders into compliant Factur-X invoices (on demand with the free plan) and, with Pro, every order and refund into an invoice or credit note automatically, so your invoicing is reform-ready and runs by itself. Transmission to a Plateforme Agréée is done with your own PA account (automatic with Pro, through SUPER PDP; you deposit the file yourself with the free plan); GoFactoX produces the compliant file it accepts. Key Features Pro plan adds Business plan adds Perfect For Learn more about Pro and Business plans

安装:

  1. Go to Plugins > Add New in your WordPress admin
  2. Search for GoFactoX E-Invoicing
  3. Click Install Now then Activate
  4. Go to WooCommerce > Settings > GoFactoX (Factur-X) and fill in your company information (company name, address, VAT number, SIRET for French sellers). Nothing is generated until it is complete
  5. Save, then click Preview an invoice to check the result. Generate the invoice of an order from the order screen or the orders list; with the Pro plan, invoices are generated automatically when an order is completed.

屏幕截图:

  • B2B checkout fields: SIREN, SIRET, VAT number and PO reference
  • Dashboard: monthly statistics, invoice list with transmission status, FEC export
  • Generated PDF invoice: clean design with all French legal mentions

升级注意事项:

1.6.1 Updated Freemius SDK to the latest version. Recommended for all sites. 1.6.0 Pro: after updating, check that your SUPER PDP secret is still saved (saving the settings could erase it). Nothing is generated until the company information is complete. New Invoice language setting: French by default, the site language kept on existing non-French sites.

常见问题:

Is this plugin ready for the French e-invoicing mandate (réforme de la facturation électronique) ?

Yes! This plugin generates invoices in all three formats accepted by the reform: Factur-X, CII, and UBL. It includes all mandatory French legal mentions (SIRET, VAT, penalties, recovery indemnity). The free plan generates the compliant file, which you can deposit on any Plateforme Agréée with your own account. The Pro plan adds automatic transmission through SUPER PDP (a PA immatriculée with a self-service account and public API). Since October 2024, the PPF (Portail Public de Facturation) acts only as the central directory, so every transmission goes through a PA.

What is Factur-X?

Factur-X (often written FacturX) is a Franco-German electronic invoice standard. It's a hybrid format: a PDF/A-3 document (human-readable) with an embedded XML file (machine-readable). It's based on the European standard EN 16931 and the UN/CEFACT CII data model.

Which Factur-X profile is used?

The EN 16931 profile (formerly called "Comfort") is the default: it is the only Factur-X profile accepted by the French reform and the Plateformes Agréées, and it is included in the free plan. The Basic profile remains available for local use only.

Does it work with WooCommerce HPOS (High-Performance Order Storage)?

Yes, the plugin is fully compatible with HPOS and declares compatibility with WooCommerce's custom order tables.

Is the plugin compatible with WPML and Polylang (multilingual sites)?

Yes. All user-facing strings go through the WordPress text domain gofactox-e-invoicing-for-woocommerce, so WPML String Translation (and Polylang equivalent) picks them up automatically. With WPML or Polylang, the "Invoice language" setting also offers the language the order was placed in (see the next question).

In which language are invoices and credit notes written?

In the language chosen in the "Invoice language" setting (WooCommerce > Settings > GoFactoX (Factur-X)): French, the site language, or, with WPML or Polylang, the language the order was placed in. French is the default on new installations and on French sites; an installation that already issued invoices on a non-French site keeps the site language until you change the setting. The language no longer depends on the language of the admin or visitor who triggers the generation. The PDF and the free-text notes of the XML (legal mentions, payment conditions) are written in that language; the XML itself follows the EN 16931 standard. Texts supplied by WordPress and WooCommerce (country names, month names) use the languages installed on your site. Documents already issued are not changed. Important legal note: for customers established in France, invoices must be in French (mandatory legal mentions, payment conditions). For customers established outside France, invoices can be issued in the customer's language; the French version should be archived or made available to the tax administration on request.

Does it work with LearnDash or other WooCommerce-based sales?

Yes. The plugin hooks into standard WooCommerce orders, so any plugin that creates orders through WooCommerce (LearnDash, Subscriptions, Memberships, Bookings, etc.) gets its invoices like any other order: automatically with the Pro plan, on demand with the free plan.

Can I generate invoices for past orders?

Yes. On every plan, the "Generate Invoice" button of the order screen, the "Generate" link of the orders list (orders in processing or completed status) and the "Generate the Factur-X invoice" order action create the invoice of one order. With the Pro plan, the bulk action "Generate Factur-X Invoices" works on the selected orders, and the "Generate missing invoices" panel of the GoFactoX dashboard (WooCommerce > GoFactoX) generates the invoices of every completed order placed since a date you choose (processing orders too when that is your trigger status), oldest first, then the missing credit notes of their refunds. It shows the exact number of documents and asks for confirmation before it starts. These documents are dated today (they count in this month's revenue and in the current FEC), their numbers follow the order dates and cannot be taken back, and they are only transmitted to your Plateforme Agréée if you tick the box.

Why is no invoice generated for my order?

Nothing is generated, and no invoice number is consumed, while the company information is incomplete: company name, address, postal code, city, VAT number (unless you are VAT-exempt under article 293 B) and, for sellers established in France, SIRET. The same applies when the folder wp-content/uploads/wfx-invoices cannot be written by WordPress. An admin notice (Plugins page, orders list, GoFactoX dashboard) and the order screen list what is missing, and the order gets a note with the reason when an automatic generation or the order action fails. Once the settings are complete, generate the invoice from the order or, with Pro, with the "Generate missing invoices" panel. Remember also that automatic generation is a Pro feature: it must be enabled (WooCommerce > Settings > GoFactoX (Factur-X) > Automation) and it only runs when an order reaches the trigger status (Completed by default), so orders completed before you installed GoFactoX are not generated automatically.

Are invoices and credit notes attached to WooCommerce e-mails?

With the Pro plan, yes. The invoice is attached to the "Processing order", "Completed order" and "Customer invoice" e-mails, and the credit note to the refund e-mails (partial and full refunds), as a PDF, or as an XML file with the CII and UBL formats. With WooCommerce's default settings these e-mails leave before the automatic generation runs, so GoFactoX generates the missing document just before the e-mail is sent, only while the order changes to the trigger status or the refund is created: an e-mail sent again later never creates an invoice. It can be turned off with "Attach to Emails" (Automation section of the settings). With the free plan, your customers download their invoice from My Account and from the order confirmation page.

What do the CII and UBL output formats produce?

XML only, without a PDF. The file is downloaded, attached to e-mails and served as an .xml file, and the buttons say "XML" instead of "PDF". UBL is a real UBL 2.1 document (Invoice, or CreditNote for a credit note). Choose Factur-X (a PDF with the XML embedded) if your customers also want a readable document.

Can I see what an invoice looks like before my first order?

Yes. "Preview an invoice", in the company information settings of WooCommerce > Settings > GoFactoX (Factur-X), opens a specimen PDF built from your saved settings, with a sample customer and lines and a "SPECIMEN" watermark. It consumes no invoice number and stores nothing. Save your settings first; with the CII and UBL formats it previews the PDF template only.

Does the plugin validate the generated Factur-X files?

The XML is validated against the XSD schema during generation, and the generated files are checked against the French schematron (EN 16931 + DGFiP Flux 2 rules) as part of our test suite. From the settings page (Pro), "Validate last document" sends your latest invoice to the public SUPER PDP validator and lists any rule violation. For PDF/A-3 checks you can also use the FNFE-MPE validator.

Mon WooCommerce est-il conforme à la réforme 2026 de la facturation électronique ?

Avec ce plugin, vos factures sont générées au format Factur-X conforme (profil EN 16931, mentions obligatoires, SIREN client, adresses électroniques, cadre de facturation). L'offre Pro transmet automatiquement chaque facture à votre compte SUPER PDP (Plateforme Agréée immatriculée) : e-invoicing B2B et e-reporting B2C sont couverts, et les statuts de cycle de vie remontent dans WooCommerce.

Comment générer une facture Factur-X avec WooCommerce ?

Installez ce plugin et renseignez les informations de votre entreprise dans WooCommerce > Réglages > GoFactoX (Factur-X) : tant qu'elles sont incomplètes, aucune facture n'est générée et aucun numéro n'est consommé. Vous générez ensuite la facture d'une commande depuis la fiche commande ou la liste des commandes (lien « Générer »). Avec l'offre Pro, elle est générée automatiquement lorsque la commande passe au statut choisi (« Terminée » par défaut).

Does the free plan transmit invoices to my Plateforme Agréée?

No. The free plan generates the compliant Factur-X file, which you deposit yourself on any Plateforme Agréée. Automatic transmission (SUPER PDP), status tracking and e-mail alerts are part of the Pro plan.

Which Plateformes Agréées can I use?

Any of them, by depositing the generated file yourself (free plan). For automatic transmission (Pro plan): SUPER PDP, with full tracking (lifecycle statuses, "paid" status, e-reporting of consumer sales); and, as an experimental option, any PA that gives you access to the standard AFNOR XP Z12-013 API with OAuth credentials. The AFNOR option covers invoices and credit notes to French business customers only, stops at the platform's technical acknowledgement and does not send the "paid" status; it has been validated with SUPER PDP only. In September 2026, SUPER PDP is the only PA we know that gives this access to merchants directly.

Does the plugin receive my suppliers' invoices?

No. Receiving electronic invoices is done in your Plateforme Agréée account (or your accounting software if it is a PA), not in WooCommerce. The plugin covers the invoices you issue.

Does it produce delivery notes, packing slips, quotes or proforma invoices?

No. GoFactoX focuses on legally issued documents: invoices and credit notes. For packing slips, use a dedicated plugin alongside.

Why is the invoice number different from the order number?

Invoice numbers must form a continuous, chronological sequence without gaps (Code de commerce). Order numbers are not: cancelled or abandoned orders leave holes. The plugin keeps its own sequence, configurable prefix and start value.

What should I back up?

The generated PDF/A-3 and XML files live in wp-content/uploads/wfx-invoices/. Include this folder in your backups: invoices must be kept for 10 years. The database (invoice records, numbering counters, transmission statuses) is backed up with your usual WordPress backup.

How do I protect the invoice folder on nginx?

Apache is protected by the .htaccess the plugin writes. On nginx add: location ~* /wp-content/uploads/wfx-invoices/ { deny all; } to your server block. Downloads go through signed links served by WordPress, never through direct file URLs. The "Copy diagnostic" button of the settings page reports whether the files of this folder can still be downloaded from the web.

My site is a staging copy. Will it send invoices to my Plateforme Agréée?

No. Transmission is paused automatically when the site is declared as staging/development (WP_ENVIRONMENT_TYPE) or when the site URL differs from the one the connector was configured on, and an admin notice explains it. Define GOFACTOX_ALLOW_TRANSMISSION_ANYWHERE to override.

What is removed when I delete the plugin?

The Plateforme Agréée credentials (client IDs and encrypted secrets), cached access tokens and scheduled tasks. Your invoices and credit notes (documents and files in wp-content/uploads/wfx-invoices), your settings and your numbering counters are kept: invoices must be archived for 10 years, and a later reinstall must continue the numbering without reusing a number.

更新日志:

1.6.1 1.6.0 Read before updating Fixes New: Plateforme Agréée (Pro) New for every plan New and improved (Pro) 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.0 1.2.1 1.2.0 1.1.1 1.1.0 1.0.0