Linux 软件免费装
Banner图

Smaoui CII Electronic Invoicing

开发者 novabiz
更新时间 2026年10月10日 03:45
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

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

下载

0.5.0 0.3.0 0.4.0 0.6.0

详情介绍:

Built for French e-invoicing (facturation électronique). For each WooCommerce order, the plugin produces two files: The XML file follows the French core specification (AFNOR XP Z12-012 rules): Two optional fields can be shown at checkout to collect a business customer's SIREN or SIRET and VAT number. Both are checked on the spot: the SIREN and SIRET check digits are verified, and a French VAT number has its key recomputed. A wrong digit is caught before the order is placed, not months later. What the plugin does: it prepares, produces and stores the invoice files next to the order. What the plugin does not do: it does not connect to any dematerialisation platform and it does not transmit invoices. Issuing and transmitting an electronic invoice is the responsibility of the issuing company, which must use an approved platform. This plugin is a technical tool: it is neither legal advice nor a guarantee of compliance.

安装:

  1. Install and activate the plugin.
  2. Open Settings → Electronic invoicing and fill in your company name, SIREN, VAT number, address and IBAN.
  3. Check the pre-filled mandatory notes and adjust them if needed.
  4. Choose your invoicing framework code and your first invoice number.
  5. Decide whether to ask business customers for their SIREN and VAT number at checkout (Settings - Electronic invoicing - Business customer).
  6. Place a test order: the files are generated as soon as the order moves to "processing" or "completed".
Files can be downloaded from the order screen.

屏幕截图:

  • An order: the SIREN and VAT number of a business customer, the invoice number, and the XML and PDF downloads.
  • The two optional fields at checkout, asking a business customer for their SIREN and VAT number.
  • The Electronic invoices screen: every invoice with its number, date, order, customer, amount, and the CII and PDF downloads, with search and pagination.
  • Plugin Check run on this plugin.

常见问题:

Where are the files stored?

In the wp-content/uploads/smaoui-invoices/ folder, protected by an .htaccess file and an index.php file. They are served only to users who can manage orders.

Can I add my logo?

Yes. Settings → Electronic invoicing → Logo lets you pick an image from the media library. A horizontal logo on a light background gives the best result.

What happens with a very long order?

The PDF is paginated: the item table continues on further pages with a repeated header, and the totals, payment details and legal notes are kept together at the end.

Does the plugin transmit invoices?

No. It produces the files. Transmission to an approved platform must be handled by the company.

What is the difference with Factur-X?

A Factur-X invoice is a PDF file that carries the CII invoice data inside it. This plugin produces the same invoice data as a standalone CII XML file, plus a separate PDF meant for reading. The XML is the file to hand over when a platform, an accountant or a business customer asks for the structured invoice.

What happens when the customer is an individual?

The plugin generates the invoice without a company identifier for the buyer, which matches an invoice to an individual. Business identifiers (buyer SIREN and VAT number) are collected at checkout when those fields are enabled, and can always be filled in or corrected from the order screen.

Does the plugin contact any external service?

Not by default. Every number is checked locally, without any network access: SIREN and SIRET check digits, and the key of a French VAT number. Online checks can be enabled. When they are, a "Check" button appears on the order screen; clicking it queries two public services, both free and requiring no account or key: the French business directory for a SIREN, and VIES, a European Commission service, for a VAT number. Nothing is queried until you click, and the answer is kept for one day.

Are invoice numbers reused?

No. A number is assigned once, the first time an order is generated, and is never reused.

Are the settings removed on uninstall?

Settings are removed, but invoice files that were already generated are kept, so that accounting documents are not destroyed.

更新日志:

0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0