No products
* Prices may vary depending on your country.
* An additional contribution can be added at the time of payment.
New products
Professional REST API for Dolibarr: 32 core domains with native permissions, idempotency, resilience, Scalar docs and an MCP server for AI agents.
Assign or remove categories in bulk for products, services, customers, and suppliers using advanced filters and multi-selection.
mp24884d20260603002451
New
Automatic Factur-X EN16931 invoice generation (PDF/A-3 + embedded XML) directly from Dolibarr — compliant with the French 2026 e-invoicing reform, Approved Platforms (PA/PDP) routing, and BR-FR rules. Free, community-driven, GPLv3.
|
|
LemonFacturX is a free and open-source Dolibarr module that automatically converts every customer invoice into a Factur-X file — a PDF/A-3 document with an embedded CrossIndustryInvoice XML payload — compliant with the EN16931 standard and French specification XP Z12-012 V1.2.0 (BR-FR rules). Each time a PDF is generated in Dolibarr, the module hooks transparently into the afterPDFCreation event: it builds the XML, validates it against the EN16931 XSD schema, and injects it into the PDF. No additional action is required from the user.
KEY FEATURES
Supported invoice types: standard invoice (TypeCode 380), credit note (381), deposit invoice (386) with automatic TotalPrepaidAmount computation on the final invoice.
EN16931 VAT category codes resolved automatically: standard rate (S), intra-community reverse charge (K), export outside EU (G), franchise en base 293 B CGI (E), outside scope (O).
PA/PDP routing: BT-34/BT-49 published using SIREN (schemeID="0225") for routing on the French Approved Platforms network — fallback to email for third parties outside the scope.
Mandatory French legal mentions (BR-FR-05) automatically included: late payment penalties (3x legal rate, art. L.441-10), flat recovery fee (EUR 40), early payment discount.
Unit mapping to UN/ECE Rec 20 codes (HUR, DAY, KGM, MTR, LTR...). Local XSD validation before injection. Strict / best-effort mode configurable. Built-in configuration diagnostic. All dependencies vendored — no Composer required. Windows compatible (DOL_DATA_ROOT/).
REQUIREMENTS
Dolibarr 22.0.x — PHP 8.2+ — exec() enabled — MAIN_PDF_FORCE_FONT = pdfahelvetica
LICENSE AND ORIGIN
This module is distributed free of charge under the GPLv3 license. It is a fork of the open-source module LemonFacturX, originally developed by Axel and the Lemon agency (hellolemon.fr, Clermont-Ferrand, France). We extend our sincere thanks to Axel for the quality of his work and for choosing to share it freely with the Dolibarr community. This fork is published in the same spirit: open source, collective improvement, giving back to the community.
https://github.com/Charlymd/module-dolibarr-lemonfacturx/releases/