Download the PHP package thelia/facturx-module without Composer
On this page you can find all versions of the php package thelia/facturx-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thelia/facturx-module
More information about thelia/facturx-module
Files in thelia/facturx-module
Package facturx-module
Short Description Generates PDF/A-3 invoices compliant with Factur-X (EN16931) for electronic invoicing
License LGPL-3.0+
Informations about the package facturx-module
Factur-X Module for Thelia 3
Generates PDF/A-3 invoices compliant with the Factur-X (EN16931) standard for French electronic invoicing requirements.
How it works
The module intercepts Thelia's PDF invoice generation. When an invoice is produced, it:
- Builds a CrossIndustryInvoice XML (CII) from the order data
- Embeds the XML into the PDF and converts it to PDF/A-3 using atgp/factur-x
- Archives the resulting PDF to disk
- Returns the compliant PDF to the user
The process is transparent — existing invoice generation continues to work as before, with Factur-X compliance added on top.
Requirements
- Thelia 3
- PHP 8.2+
Installation
Via Composer:
Manual installation:
Configuration
Navigate to Back-office > Modules > Factur-X and fill in:
| Field | Description |
|---|---|
| SIRET | Your company's 14-digit SIRET number |
| VAT identification number | EU VAT number, e.g. FR12345678901 |
| Enable Factur-X | Toggle automatic generation on/off |
Seller name and address are read from the store configuration (Settings > Store).
EN16931 Compliance
The generated XML covers the EN16931 comfort profile:
- Seller: name, address, SIRET (BT-30), VAT number (BT-31)
- Buyer: name and address from the invoice address
- Invoice: number, date, currency, type code (380)
- Lines: product name, quantity, unit price, VAT rate
- Totals: line total, tax basis, tax amount, grand total, due payable amount
Archive
Generated Factur-X PDFs are automatically archived on disk, organized by year. The storage path is configurable in the module settings.
File Structure
License
This module is part of the Thelia e-commerce ecosystem.