intragile / laravel-factur-x
French e-invoicing reform for Laravel: send Factur-X, UBL and CII invoices through a plateforme agréée (B2Brouter; live-tested for the directory lookup only so far), track CDV lifecycle statuses, file Flux 10 e-reporting and check the SIREN directory, on top of intragile/laravel-einvoicing.
Package info
github.com/intragile/laravel-factur-x
Type:metapackage
pkg:composer/intragile/laravel-factur-x
Requires
- php: ^8.3
- intragile/einvoicing-rules-facturx: ^1.0
- intragile/laravel-einvoicing: ^1.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Developed and maintained by IntrAgile Kft.
The French e-invoicing reform (réforme de la facturation électronique) for Laravel: write and validate French Factur-X, UBL and CII invoices, send them through a plateforme agréée, follow their lifecycle statuses, file Flux 10 e-reporting and look up the SIREN directory.
Status: version 1.0.0, released 2026-11-23, on top of
intragile/laravel-einvoicing1.2. An accepted Flux 10 deposit was live-verified on the B2Brouter sandbox on 2026-11-24 (ledger statenew); see the core's FRANCE.md.
This is a thin metapackage: it has no code of its own and pulls in intragile/laravel-einvoicing together with the rule package this use case needs, so that you can find it. The full functionality is documented there.
Magyar nyelvű leírás → README.hu.md
What the French flow covers
- Formats: French UBL and CII D22B (CIUS), EXTENDED-CTC-FR and Factur-X, with the French data (billing framework, SIREN and SIRET, the mandatory notes).
- French rules: validation against the FNFE-MPE rules, which are downloaded and compiled on your machine (
vendor/bin/einvoicing-rules install france); their licence does not allow redistribution, so no package ships them. - Lifecycle: CDV lifecycle messages (CDAR) for the invoice statuses, with a builder, reader and validator.
- E-reporting: Flux 10 builders for invoices, B2C days and payments, with their validator.
- Routing: an offline decision between e-invoicing and e-reporting for a given transaction.
- Transport: sending through B2Brouter as plateforme agréée, with lifecycle statuses, buyer responses, payments, the Flux 10 deposit and a live SIREN directory (Annuaire) lookup.
Live-tested in the B2Brouter sandbox: directory lookup, send, lifecycle, buyer approval, payment and an accepted deposit (2026-11-24, ledger state
new).
Not covered: Chorus Pro (B2G invoicing to the public sector) and a generic driver for the AFNOR XP Z12-013 platform API.
Requirements
- PHP 8.3+ with
dom,libxml,mbstring(andzlibfor PDF) - Laravel 12 or 13
Quick start
Once released:
composer require intragile/laravel-factur-x php artisan einvoicing:install-rules # the Peppol rules the doctor checks vendor/bin/einvoicing-rules install france --dir=var/france-rules php artisan migrate # create the two tables php artisan einvoicing:doctor
Configuring the B2Brouter transport, the French rules directory and the webhooks is described in the full documentation.
How it differs
pat-o-dev/factur-x-laravelhandles the Factur-X format (the XML and the hybrid PDF). This package covers the reform flow around it: French rules, routing, lifecycle statuses, e-reporting and transmission through a plateforme agréée.intragile/laravel-zugferdis the German side: ZUGFeRD / Factur-X hybrid PDFs and their validation, without the French reform flow. Both pull in the sameintragile/laravel-einvoicing.
What it pulls in
intragile/laravel-einvoicing (the Laravel bridge, MIT), which brings the engine intragile/php-einvoicing (MIT) and the rule packages intragile/einvoicing-rules-en16931 (EUPL-1.2), intragile/einvoicing-rules-xrechnung (Apache-2.0) and intragile/einvoicing-rules-facturx (Apache-2.0). intragile/einvoicing-rules-facturx is required directly as well. The French FNFE-MPE rules are not a package: they are compiled locally by einvoicing-rules install france.
The metapackage itself is MIT-licensed and ships no code; each pulled package keeps its own licence.
Full documentation
Full documentation: laravel-einvoicing and the France country notes.
License
MIT. See LICENSE.
Developed and maintained by IntrAgile Kft.