Aller au contenu
Vérifier Factur-X

Sources, versions des règles et licences

Ce que le vérificateur applique, dans quelle version, et comment. Tout est public : vous pouvez refaire chaque contrôle avec les mêmes fichiers.

Mis à jour le

Les composants de contrôle

ContrôleComposantVersion
Règles françaises BR-FR (flux 2, CII et UBL)Schématrons FNFE-MPE en application de la norme XP Z12-012 v1.4v1.4.0.04 — 4 septembre 2026
Règles des statuts de cycle de vie BR-FR-CDV (CDAR)Schématron FNFE-MPEv1.4.0.04 — 4 septembre 2026
Profils Factur-X BASIC WL, EN 16931, EXTENDEDXSD et schématrons Factur-X, repris dans le paquet FNFE-MPEFactur-X 1.09.2 — 4 août 2026
Profils Factur-X MINIMUM et BASICXSD et schématrons Factur-X 1.09.2 (profils non retenus par la réforme, absents du paquet FNFE)via Mustangproject, commit e8110f4 du 18/09/2026
Norme EN 16931 (CII et UBL)Artefacts de validation du CEN/TC 434, copie incluse dans le paquet FNFE-MPEv1.3.16 — 13 avril 2026
Profil EXTENDED-CTC-FR (CII et UBL)Schématrons FNFE-MPEv1.4.0.04 — 4 septembre 2026
Structure CII et CDARXSD UN/CEFACT D22B « uncoupled », paquet FNFE-MPED22B
Structure UBLXSD OASIS UBL 2.1 (Invoice, CreditNote)2.1

Les schématrons FNFE-MPE sont appliqués dans leur version « standard », celle dont les règles françaises sont bloquantes (flag « fatal ») : c'est la version que les plateformes agréées doivent appliquer en émission à compter du 1er octobre 2026 selon leur en-tête. La FNFE-MPE publie aussi une version « WARNING » transitoire, où ces mêmes règles ne sont que des avertissements.

La méthode

  1. Le PDF est ouvert dans le navigateur (pdf-lib) : pièce jointe, relation, métadonnées XMP, polices, chiffrement, JavaScript.
  2. Le XML est validé contre le schéma XSD de son profil par libxml2, compilé en WebAssembly (xmllint).
  3. Les schématrons officiels (XSLT 2.0) sont compilés au format SEF avec le compilateur de Saxonica (xslt3), puis exécutés par SaxonJS dans le navigateur. Nous ne modifions aucune règle : le verdict d'une règle est celui du composant officiel.
  4. Les messages sont ensuite traduits en français et rattachés à leur emplacement dans la facture. Le message d'origine reste affiché dans le détail technique de chaque erreur.

Rien n'est téléchargé chez un tiers au moment du contrôle : les composants sont servis par ce site, et le fichier contrôlé ne quitte pas l'appareil. Nous testons chaque version du moteur sur les 115 fichiers d'exemple officiels du dépôt de la FNFE-MPE (norme XP Z12-012, annexe B) : aucun ne doit présenter d'erreur (au 18 septembre 2026 : 111 conformes, 4 au profil BASIC WL signalés « à surveiller »). Puis sur des factures volontairement altérées, dont chaque défaut doit être trouvé.

Limites

  • La conformité PDF/A-3 n'est contrôlée que partiellement ; une validation complète demande un outil dédié comme veraPDF.
  • L'existence et l'activité des SIREN, l'adresse de facturation dans l'annuaire central et l'unicité des numéros de facture ne peuvent être vérifiées que par une plateforme agréée.
  • Les règles du secteur public (BR-FR-CPRO, Chorus Pro) et des factures multi-vendeurs en Factur-X ne sont pas encore publiées sous forme complète par la FNFE-MPE.
  • Les règles propres à la déclinaison allemande XRechnung ne sont pas appliquées.

Licences

Schématrons et XSD FNFE-MPE : licence Apache 2.0 (dépôt), les fichiers de schématron mentionnant aussi l'EUPL. Artefacts EN 16931 du CEN : EUPL 1.2. Factur-X : FNFE-MPE et FeRD. XSD UBL : OASIS. Mustangproject : Apache 2.0.

SaxonJS 2.7 — Saxonica Ltd
Version 1.0, June 2020

Software: This license applies to the packages "xslt3" and "saxon-js"
distributed via npm (https://www.npmjs.com) and to the modules SaxonJS2.js
and SaxonJS2.rt.js available for download from the Saxonica web site
(https://www.saxonica.com/).

Copyright: The copyright in the Software belongs to Saxonica Ltd, except
for third-party components listed in the documentation that are distributed
under license.

Binary form: In this license, "binary form" means the form in which the
Software is issued (this is technically a set of obfuscated Javascript files).

Deployment and use. The Software may be copied to any computer where the
primary purpose is the execution of the software on that computer, or on
connected client computers.

Redistribution.  Redistribution in binary form, without
modification, is permitted as part of an application that makes use
of the Software, provided that the following conditions are
met:

1) Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.

2) Except to the extent explicitly permitted by law, no reverse
engineering, decompilation, or disassembly of this software is
permitted.

3) Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

4) Copying the software to a site whose primary purpose is to make
it available to third parties is not permitted without specific
prior written permission.

If you institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the software
itself infringes your patent(s), then your rights granted under this
license shall terminate as of the date such litigation is filed.

DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
xmllint-wasm (libxml2) — licence MIT
This project is MIT licensed, just like libxml which it is a port of.

Copyright (C) 1998-2018 libxml and libxml.js authors.  All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is fur-
nished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall 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, FIT-
NESS 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.
pdf-lib — licence MIT
MIT License

Copyright (c) 2019 Andrew Dillon

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall 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.

Polices : Source Serif 4 et IBM Plex Mono, SIL Open Font License, servies par ce site.

Votre facture passe-t-elle ? Contrôle gratuit avec les règles officielles, dans votre navigateur.

Vérifier une facture