In short
XP Z12-012 is the AFNOR standard that sets the formats of the electronic invoice in the French e-invoicing reform. It names three formats, UBL, CII and Factur-X, and two profiles, EN16931 and EXTENDED-CTC-FR, and it adds the French rules (BR-FR) and the life cycle status message that the approved platforms (plateformes agréées, PA) and their users exchange. AFNOR's electronic invoicing commission writes it, and impots.gouv.fr points to it, with XP Z12-013 and XP Z12-014, for the common base of businesses, compatible solutions and approved platforms.
The current version is 1.4, of 30 June 2026, published by AFNOR as the June 2026 edition. It replaced the February 2026 edition; the version before it is 1.3, of 26 February 2026. The standard is free to consult on AFNOR's site, in French and in English, and FNFE-MPE publishes its two annexes, A (an Excel workbook) and B (example files), in a zip that also holds the English text.
Below: what the standard defines, what "XP" means, what the annexes hold, what changed from version 1.3 to 1.4, which XSD and schematrons go with it, and where to download it.
What XP Z12-012 defines
In its own words, the standard describes the formats and profiles of the invoice and life cycle status messages that make up the minimum base of the reform: what the businesses in the reform must comply with, and the checks and transformations the approved platforms must apply. It covers the invoices exchanged through the platforms (flow 2), with parties abroad (flow 8) and with non-taxable customers in France (flow 9), and their life cycle statuses (flow 6). The use cases are left to another standard, XP Z12-014.
| Format | What it is | In XP Z12-012 |
|---|
| UBL | The XML syntax of OASIS, standardized as ISO/IEC 19845 | UBL 2.1, with one message for invoices (Invoice) and one for credit notes (CreditNote) |
| CII | The Cross Industry Invoice of UN/CEFACT | CII D22B, one message for invoices and credit notes alike |
| Factur-X | A PDF/A-3 that people read, with the invoice data attached as factur-x.xml in CII | The Factur-X profiles BASIC WL, EN16931 and EXTENDED |
CII D22B was chosen over D16B, the version used when EN 16931 came out in 2017, because D16B allows only one reference to a previous invoice (BG-3), and a credit note for several invoices needs more.
EN16931 and EXTENDED-CTC-FR: the two profiles
- EN16931 is EN 16931 with the French rules added: a CIUS (core invoice usage specification) for France. Its specification identifier (BT-24) is
urn:cen.eu:en16931:2017. - EXTENDED-CTC-FR is an extension for France: it adds fields numbered
EXT-FR-FE-… in groups EXT-FR-FE-BG-…, allows more occurrences of some fields, and replaces a few rules, for example to allow a tolerance in calculations. Its identifier is urn:cen.eu:en16931:2017#conformant#urn.cpro.gouv.fr:1p0:extended-ctc-fr.
The extension adds parties, such as the buyer's agent (EXT-FR-FE-BG-01), the payer (EXT-FR-FE-BG-02), the seller's agent (EXT-FR-FE-BG-03), the invoicee (EXT-FR-FE-BG-04) and the invoicer (EXT-FR-FE-BG-05), and the means to write sub-lines and multi-seller invoices. The standard calls it a subset of the Factur-X EXTENDED profile, so in Factur-X it travels as EXTENDED: Annex A gives a Factur-X EXTENDED invoice the identifier urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended, and a UBL invoice or a CII file on its own the identifier of EXTENDED-CTC-FR.
Of the Factur-X profiles, the standard keeps EN16931 and EXTENDED, with the French rules added, and BASIC WL, which has no invoice lines, only until 1 September 2027. MINIMUM does not carry enough data to be used, and an invoice that meets BASIC is best declared EN16931. The guide on EXTENDED-CTC-FR explains the profile.
The French rules and the life cycle
On top of EN 16931, the standard sets the French rules: checks on the content (BR-FR, such as BR-FR-01, which limits the invoice number BT-1 to 35 characters), conditional rules (BR-FR-CO), decimals (BR-FR-DEC), the mapping to the data the platforms send to the tax administration (flows 1 and 10.1, BR-FR-MAP), rules for multi-seller and two-way self-billed invoices (BR-FR-MV, BR-FR-BD), and rules for invoices to public buyers through Chorus Pro (BR-FR-CPRO). It also says how to make a readable copy of an invoice and how to convert an invoice from one of its formats to another. Life cycle statuses travel in the UN/CEFACT CDAR message (flow 6). The guide on the BR-FR rules says what they check.
What "XP" means
XP marks an experimental standard (norme expérimentale). AFNOR's Norm'Info lists XP Z12-012 with that type, followed by the commission "Facture électronique" and published on 30 June 2026; AFNOR's store lists it as in force. Its two companions carry the same prefix: XP Z12-013, the API between business software and approved platforms, and XP Z12-014, the B2B use cases.
The standard says of itself that it is meant to evolve, in particular the EXTENDED-CTC-FR profile and the life cycle message, as the commission works and as the reform is rolled out. It has had five versions between May 2025 and June 2026.
The annexes A and B
The standard has two annexes, both normative. Annex A is an Excel workbook that describes the formats and profiles in detail, with their rules and code lists. Annex B is a set of example invoices and life cycle messages. The text explains the principles; the detail, field by field, is in Annex A.
Annex A: every field and its place in UBL and CII
The main sheet, FE EN16931 + EXTENDED, lists every field of the two profiles, one per line: its identifier, its cardinality in EN 16931, in the French EN16931 profile and in EXTENDED-CTC-FR, its path in UBL and in CII, its type, its length, its code list and the rules that apply to it. BT-24, for example, is cbc:CustomizationID in UBL and rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID in CII. In version 1.4 the sheet has 477 lines: the 164 business terms (BT) and 32 groups (BG) of EN 16931, three terms of the revised EN 16931 (BT-167, BT-177, BT-193), 199 fields EXT-FR-FE-… and 15 groups EXT-FR-FE-BG-…, and lines for attributes such as scheme identifiers. The other sheets:
| Sheet | What it holds |
|---|
A LIRE, VERSIONS | How to read the workbook, and the changes of each version |
FE EN16931 + EXTENDED | The fields of both profiles, as above |
BR-France CTC | The French rules BR-FR, 104 of them in version 1.4 |
BR-France-CTC-CPRO | The rules for invoices to public buyers (Chorus Pro) |
BR EN16931 + EXT FR et FX | The EN 16931 rules, those that replace them in EXTENDED-CTC-FR and Factur-X EXTENDED, and the profiles each one applies to |
Codelists for XML Fx - 15 05 26 | The code lists |
Flux 2 UBL EN16931 FR, Flux 2 UBL EXT-CTC-FR | The UBL invoice and credit note of each profile, element by element |
CII D22B & FX EN16931 FR, CII D22B & FX EXT-CTC-FR, FACTUR-X BASIC WL FR | The CII invoice of each profile, also as the XML of a Factur-X |
FE - Flux 1, Flux 1 UBL, Flux 1 CII | Flow 1, the invoice data sent to the tax administration |
E-REPORTING - Flux 10, Flux F11 - Annuaire, Règles de gestion 3.2 | E-reporting (flow 10), the directory data (flow 11), and the rules of the external specifications 3.2 |
CDV FE - CDAR, BR-FR-CDV pour factures, Acteurs CDV, Codes Action, Tableau des motifs de STATUTS | The life cycle message: its structure, its rules, who appears in it, the expected actions and the reasons for each status |
The workbook is in French. The UBL and CII sheets repeat the EN 16931 names and descriptions in English, and since version 1.4 the sheet BR-France CTC gives the title and description of each rule in English too. The CII-UBL field mapping shows the main fields side by side.
Annex B: the examples and the use cases
Annex B is a PDF, in French and in English, with a folder of example files: invoices (flow 2) in UBL, CII and Factur-X, whose XML carries a comment on each line with the BT number of the value, and CDAR life cycle messages. Version 1.4 has ten invoices and credit notes, in 12 UBL files, 18 CII files and 12 Factur-X PDFs, and 11 CDAR messages:
| Example | What it shows | Profiles |
|---|
F202500001_INV_20250201 | An invoice with as many fields as possible, to show where each one goes | EN16931, EXTENDED-CTC-FR |
UC1_F202500003 | A simple service invoice (billing framework S1), the starting point of the life cycle examples | EN16931, EXTENDED-CTC-FR |
UC4_F202500006 and UC4b_F202500010 | An invoice, and the corrected invoice that cancels and replaces it | EN16931 |
UC5_F202500007 and UC5b_F202500011 | An invoice, and the credit note that cancels it because of a wrong VAT | EN16931 |
UC10_F202600004 | A multi-seller invoice | EXTENDED-CTC-FR |
UC11_F202600022 | A multi-seller invoice for water supply | EXTENDED-CTC-FR |
UC12_F202600025 | An invoice with a sub-line: the sale of a toy book | EXTENDED-CTC-FR |
UC13_AUTOF202600035 | A two-way self-billed invoice, new in version 1.4 | EXTENDED-CTC-FR |
UC1_F202500003_01 to _07 | The life cycle of UC1 without a problem: submitted (200), received (202), made available (203), taken (204), approved (205), payment sent (211), payment received (212) | Life cycle (CDAR) |
UC4_F202500006_04, UC5_F202500007_04 | The status "in dispute" (207), with its reason (a wrong VAT rate) and the expected action | Life cycle (CDAR) |
The Factur-X versions use the Factur-X profile EN16931 or EXTENDED. The use cases themselves are the subject of another standard, XP Z12-014 (B2B use cases), whose annexes describe 44 use cases, in French and English, according to FNFE-MPE. More sample files to test with are in the guide on XML invoice examples.
Version 1.3 and version 1.4
The version table at the start of the standard lists five versions: 1.0 of 7 May 2025, 1.1 of 31 July 2025, 1.2 of 31 October 2025, 1.3 of 26 February 2026 and 1.4 of 30 June 2026. Each one updates the text and both annexes, whose file names carry the version, such as XP_Z12-012_Annexe_A_2026_V1.3.xlsx and XP_Z12-012_Annexe_A_2026_V1.4_VF.xlsx. "XP Z12-012 2026" is therefore version 1.3 or 1.4: AFNOR lists the February 2026 edition as cancelled and the June 2026 edition as in force.
Version 1.3 added to Annex B the UBL examples in the extended profile, the invoices with sub-lines and the multi-seller invoices, and to Annex A the sheet of the directory data (flow 11). In the text, it ruled out negative credit notes and, in EXTENDED-CTC-FR, added VAT exemption reasons to document-level allowances and charges, with the VAT breakdown checks adapted to them.
Version 1.4 brings into EXTENDED-CTC-FR data from the revision of EN 16931: the exchange rate of the VAT accounting currency (BT-167) and taxes other than VAT on charges (BT-177, BT-193). It adds delivery terms on the line (EXT-FR-FE-BG-15), the dates of the order, the contract and the despatch advice (EXT-FR-FE-197 to EXT-FR-FE-201), and two-way self-billing: a self-billed invoice that also carries, as negative lines, a sale from the buyer to the seller. BR-FR-08 makes the billing framework (BT-23) mandatory and adds the values B9, S9 and M9, BR-FR-32 checks that a SIREN has nine digits, and BR-FR-CPRO-45 to BR-FR-CPRO-50 are added for public buyers. In Annex A, the field sheet grows from 453 to 477 lines (from 189 to 199 EXT-FR-FE-… fields) and the sheet of French rules from 96 to 104 rules; Annex B adds UC13 and an EXTENDED-CTC-FR version of UC1.
FNFE-MPE numbers its validation files after the version of the standard: in 1.4.0.04, the first two digits are the version of XP Z12-012 (1.4), the third a minor version and the fourth a fix. The current release, 1.4.0.04 of 4 September 2026, applies version 1.4. If you still work from the V1.3 files, the current ones are the V1.4 annexes and these rules.
The XSD and the schematrons
XP Z12-012 publishes no XSD of its own. It relies on the published schema of each syntax and restricts each profile with schematron rules rather than with a schema of its own:
- UBL: the UBL 2.1 schema of OASIS.
- CII: the UN/CEFACT CII D22B schema, in its "uncoupled" version, which is not tied to the UNECE code lists: the code lists are checked by the schematron rules, as version 1.4 makes explicit.
- Factur-X: a schema per Factur-X profile, which restricts CII D22B to the fields of that profile.
- Life cycle: the UN/CEFACT CDAR D22B schema.
FNFE-MPE publishes the files that apply the standard: on GitHub in fnfempe/France_RFE, under the Apache 2.0 licence, and as a zip on its site. Release 1.4.0.04 holds:
| Folder | What it holds |
|---|
UBL/1xsd_UBL2.1 | The UBL 2.1 schemas |
CII/1xsd-CII_D22B_uncoupled | The CII D22B schema, uncoupled |
Factur-X/BASICWL, EN16931, EXTENDED | The schema and the rules of each Factur-X profile (1.09.2), with the BR-FR rules |
UBL/EN16931, CII/EN16931 | The EN 16931 rules and the BR-FR rules (BR-FR-Flux2-Schematron-UBL.sch, BR-FR-Flux2-Schematron-CII.sch) |
UBL/EXTENDED-CTC-FR, CII/EXTENDED-CTC-FR | The rules of EXTENDED-CTC-FR (EXTENDED-CTC-FR-UBL.sch, EXTENDED-CTC-FR-CII.sch) and the BR-FR rules |
CDAR | The CDAR D22B schema and the life cycle rules (BR-FR-CDV-Schematron-CDAR.sch) |
Each schematron (.sch) comes with its compiled XSLT, ready to run, and the repository also holds the annexes A and B of version 1.4. The guide on schematron explains how these rules are run on an invoice.
XP Z12-012 in English
There is an English version. The text of version 1.4, of 30 June 2026, is titled "Formats and profiles for invoice messages and life cycle statuses, constituting the minimum requirements applicable to the Electronic Invoice Reform in France". It is the file ENG_XP Z12-012_FORMATS_AND_PROFILES_FOR_INVOICE_MESSAGES_V1.4.pdf in FNFE-MPE's zip of the annexes, next to Annex B in English (XP_Z12-012_Annexe_B_EXEMPLES_V1.4_EN.pdf). Annex A is a single workbook, in French with English columns.
AFNOR's English store page names the standard "Invoice Message Formats, Profiles and Lifecycle Statuses, forming the minimum foundation applicable to Electronic Invoice Reform in France", and FNFE-MPE says the free version on AFNOR's site exists in French and in English. XP Z12-014, the standard of the use cases, is published in both languages too.
Where to download XP Z12-012 (PDF and Excel)
All of it is free. These are the official places:
The text is a PDF (99 pages for the June 2026 edition, according to AFNOR). Annex A is an Excel file (.xlsx), and Annex B a PDF with a folder of XML and PDF files. The version 1.3 annexes are still on fnfe-mpe.org, but they are not the current ones.
Checked on 4 November 2026 on boutique.afnor.org, norminfo.afnor.org, impots.gouv.fr, fnfe-mpe.org and github.com/fnfempe.
Where this site fits
Section 4.7 of the standard deals with conversion between its formats: from UBL to CII with the same profile, each field has its place in the other syntax. The tools of this site work on those files:
- Convert. The converter turns a CII D22B invoice into UBL 2.1, and UBL into CII, for the profiles EN16931, EXTENDED and EXTENDED-CTC-FR. From a Factur-X EXTENDED invoice, it writes a UBL invoice whose BT-24 is the identifier of EXTENDED-CTC-FR, as Annex A asks for UBL, and keeps only the fields that EXTENDED-CTC-FR has. It writes XML, not a Factur-X PDF.
- Check. The validator checks the schema (UBL 2.1, CII D22B or the schema of the Factur-X profile), then the rules of the profile the invoice declares, the EXTENDED-CTC-FR rules of FNFE-MPE 1.4.0.04 included. With the rules of France, it adds the BR-FR rules of FNFE-MPE 1.4.0.04, which apply version 1.4 of XP Z12-012, in their blocking form. Each finding shows the rule's code, its message as FNFE-MPE wrote it, and where it is in the invoice. It checks the file, not the PPF directory.
- Read. The viewer turns a CII or UBL invoice into a PDF in English, French or German, with the fields of EN 16931. Showing the EXTENDED-CTC-FR fields is a premium feature, coming soon. The PDF is a reading copy; the XML stays the invoice.
The pieces of the standard have their own guides: the BR-FR rules, the EXTENDED-CTC-FR profile, schematron, and the French reform and its dates.
Sources
- XP Z12-012, Formats et Profils des messages Factures et Statuts de cycle de vie (AFNOR Editions; in French): the edition, the pages, the free consultation, the cancelled February 2026 edition
- XP Z12-012, Invoice Message Formats, Profiles and Lifecycle Statuses (AFNOR Editions): the English title
- Norme XP Z12-012 (AFNOR Norm'Info; in French): the type, the commission, the publication date
- Spécifications externes et normes pour la facturation électronique (impots.gouv.fr; in French): the applicable versions, the free download
- Ressources (FNFE-MPE; in French): version 1.4.0 of 30 June 2026, the annexes, XP Z12-014 and its 44 use cases, the schematrons
- XP Z12-012, annexes A and B, version 1.4 (FNFE-MPE): the English text, Annex A and Annex B, read for this guide
- XP Z12-012, annexes A and B, version 1.3 (FNFE-MPE): the previous version, compared here
- France_RFE (FNFE-MPE, GitHub): the XSD, the schematrons and the numbering of the versions
- France_RFE releases (FNFE-MPE, GitHub): release 1.4.0.04 of 4 September 2026
- XP Z12-014, Cas d’usage B2B (AFNOR Editions; in French): the standard of the use cases
- XP Z12-013, API pour interfacer les systèmes d’informations des entreprises avec les plateformes agréées (AFNOR Editions; in French): the standard of the API