Smaoui CII Electronic Invoicing

Smaoui CII Electronic Invoicing

Details
View on WordPress

Built for French e-invoicing (facturation électronique). For each WooCommerce order, the plugin produces two files:

  • an XML file in CII (Cross Industry Invoice, EN 16931) format, the structured format used for business-to-business electronic invoicing;
  • a printable PDF with the same data, meant for human reading.

The XML file follows the French core specification (AFNOR XP Z12-012 rules):

  • invoicing framework code (BT-23);
  • the three mandatory French invoice notes: recovery costs (PMT), late payment penalties (PMD) and early payment discount (AAB);
  • seller SIREN under scheme 0002, and the seller VAT identifier;
  • seller and buyer electronic addresses (scheme 0225 for companies, EM for individuals);
  • an IBAN on the invoice when a bank transfer is used;
  • amounts, VAT rates and dates formatted for French readers (1 234,56 €), while the XML keeps the decimal point required by the standard;
  • your logo, chosen from the media library, at the top right of the PDF;
  • the mandatory French notes (PMT, PMD, AAB) printed on the PDF, not only present in the XML.

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.

Details

Plugin code:
smaoui-cii-electronic-invoicing
Plugin version:
0.5.0
Author:
Outdated:
No
WP version:
6.4 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.1.3
Total installations:
0
Last updated:
2026-10-09
Rating:
Times rated:
0
e-invoicing
factur-x
facturation-electronique
facture-electronique
woocommerce