| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 1715 |
| Technical Name |
facturx_lifecycle_status |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 1715 |
| Technical Name |
facturx_lifecycle_status |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
France Factur-X Lifecycle & E-reporting Status
Track every Factur-X invoice from draft to cashed, and follow the French e-reporting obligation with its real, regime-driven legal deadlines — a clean state model for BYOK / PDP platforms.
What this module does
This is a state-tracking model for Factur-X invoices on the French market. It captures the full production and transport lifecycle of a Factur-X (hybrid PDF/A-3 + CII XML) invoice and, in parallel, the status of the French e-reporting obligation that accompanies in-scope operations. It is a reporting and status layer: it generates and reads the structured data, while transmission stays on your own platform credentials (BYOK). It does not impersonate a certified PDP or transmit on its own accreditation.
Factur-X profile detection
Reads the embedded CII XML
(CrossIndustryInvoice) and detects the Factur-X 1.0
profile from its published guideline URN
(GuidelineSpecifiedDocumentContextParameter/ram:ID):
- MINIMUM —
urn:factur-x.eu:1p0:minimum - BASIC WL —
urn:factur-x.eu:1p0:basicwl - BASIC — EN 16931 compliant subset
- EN 16931 (COMFORT) —
urn:cen.eu:en16931:2017 - EXTENDED — EN 16931 conformant superset
Each profile carries its real cumulative rank and a structural consistency check (line presence must match the declared profile).
Document lifecycle state machine
A legal, validated transition table for every document:
- Draft → Profiled → PDF/A-3 Embedded
- → Transmitted (over your BYOK transport)
- → Accepted or Rejected
- → Cashed (paid, terminal)
Illegal jumps are blocked. Every transition is logged as an immutable event with date and source, and the current state, aging and stalled detection are derived automatically.
French e-reporting status with real deadlines
For operations within the French e-reporting scope (B2C, cross-border, services taxed on collection), the module computes the exact transmission period and the legal deadline from the published periodicity of your VAT regime — for both transaction data and payment data:
| VAT regime | Transaction data | Payment data |
|---|---|---|
| Reel normal — monthly | 3×/month by decade (1-10, 11-20, 21-end), due within 10 days | Monthly, due by the 10th of the following month |
| Reel normal — quarterly | Monthly, due by the 10th of the following month | Monthly, due by the 10th of the following month |
| Reel simplifie | Monthly, due by the 30th of the following month | Monthly, due by the 30th of the following month |
| Franchise en base / exempt | Every 2 months, due by the 30th of the following month | Every 2 months, due by the 30th of the following month |
The obligation status moves through Pending → Due → Transmitted → Acknowledged, and is flagged Overdue automatically the day after the legal deadline passes.
CII import wizard
Paste or upload a Factur-X factur-x.xml. The wizard
detects the profile, extracts the invoice header (number, date,
totals, seller, buyer) and routes it to a status record, creating
one on demand.
Invoice integration
A button on customer and vendor invoices creates and opens the Factur-X status record. The current state, profile and e-reporting status are shown on the invoice form and list.
Daily monitoring
A scheduled action scans for stalled documents (unsettled past their SLA) and for e-reporting obligations past their legal deadline, posting a note on each in the chatter.
Key features
| Factur-X 1.0 profile detection from the real guideline URN |
| Profile / line-detail consistency validation |
| Validated document lifecycle (draft → cashed) with illegal-transition blocking |
| Append-only status event log with per-transition duration analytics |
| French e-reporting period & deadline computation per VAT regime (published rules) |
| Transaction and payment e-reporting status tracking |
| Automatic overdue / stalled detection and daily cron monitoring |
| CII import wizard, invoice integration, per-state funnel reporting |
| Multi-company record rules and user / manager security groups |
Scope & boundary
This module is a status and format-reading layer. It reads and models the Factur-X CII and the e-reporting obligation status. Transmission to a PDP or to the DGFiP is performed by your own platform using your own credentials (BYOK). The module does not act as a certified PDP and makes no accreditation claim.
Compatible with Odoo 18 and 19, Community edition. Built on the
standard account and mail modules only.
Screenshots
Settings
Status Events
Import Cii
Documents
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module