XSD+SCH AFNOR and FNFE-MPE · Factur-X 1.09, French rules 1.4.0.04

France Factur-X BASIC WL

French Factur-X invoice, BASIC WL profile (XP Z12-012)

The XML of a Factur-X BASIC WL invoice for the French e-invoicing reform, checked against the Factur-X BASIC WL schema and rules and the French rules (BR-FR-*) published by FNFE-MPE.

About

France's e-invoicing reform makes electronic invoices compulsory between French businesses: every company has had to be able to receive them since 1 September 2026, and large and mid-sized companies issue them from that date, through an approved platform (plateforme agréée). The formats are UBL, CII and Factur-X, under the AFNOR standard XP Z12-012.

BASIC WL (without lines) carries the invoice header and totals but no invoice lines, which are in the PDF only. It is one of the three Factur-X profiles the reform accepts. On top of the Factur-X rules, the French rules (BR-FR-*) check what the reform needs: SIREN and SIRET identifiers, the business process (BT-23, such as S1 or B1), invoice numbers and dates in the expected format, the electronic addresses of both parties, and VAT details. FNFE-MPE publishes them as Schematron; this profile runs them in their "fatal" form, which applies from 1 October 2026.

E-invoicing in France: the rules in short and how to check an invoice →

Good to know

  • In the validator you can drop the Factur-X PDF itself: the XML attached to it is taken out in your browser and checked here. An invoice that states a French billing mode (BT-23, such as S1 or B1) gets this profile on its own, in the validator and the API.
  • Rules run only when the document matches the schema. Documents over 50 MB are checked against the schema only.
  • The example is the XML of a BASIC WL invoice from the FNFE-MPE examples for XP Z12-012 (Apache License 2.0).

Files

4 files · 16.9 KB
  • basicwl/Factur-X_BASICWL.xsd main
    1.6 KB View Download
  • basicwl/Factur-X_1.09_BASICWL_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd
    3 KB View Download
  • basicwl/Factur-X_1.09_BASICWL_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd
    10.6 KB View Download
  • basicwl/Factur-X_1.09_BASICWL_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd
    1.7 KB View Download

The validator loads all of these with their folder structure, so includes and imports resolve as published.

Business rules

Schematron · run in this order

The rules run after the schema check, only when the document matches the schema, and in your browser like the schema check (with SaxonJS by Saxonica). Each finding names its rule, such as BR-CO-15, and the line it points at; each rule has a page with what it checks.

Example document

fr-invoice-factur-x-basic-wl.xml · 32.1 KB · passes the schema and the rules

In CI and from code

The same schema by its name, france-factur-x-basic-wl, through the API.

npx @xmlvalid/cli validate "**/*.xml" --schema france-factur-x-basic-wl
- uses: xmlvalid/validate-action@v1
  with:
    files: "**/*.xml"
    schema: france-factur-x-basic-wl
    api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
  -H "Authorization: Bearer $XMLVALID_API_KEY" \
  -F document={{ $schema->example ?? 'document.xml' }} -F schema=france-factur-x-basic-wl

Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups