Tax and invoicingGuideFrance

How to Fix Factur-X PDF and XML Mismatch in France (2026 Guide)

Also in: Français

3D isometric view of two digital layers synchronizing data for Factur-X compliance

Since the French electronic invoicing reform began on 1 September 2026, accounts payable (AP) departments have faced a new technical challenge: the hybrid invoice. When processing Factur-X files, teams often encounter a Factur-X PDF and XML mismatch, where the visual information on the PDF does not align with the structured data in the embedded XML. Because Factur-X is a dual-layer format designed to serve both humans and machines, these discrepancies can stall automated workflows, trigger tax audit risks, or lead to payment errors. This guide explains how to diagnose and resolve these conflicts effectively.

Why do Factur-X PDF and XML mismatches occur?

Factur-X is a hybrid standard created by the FNFE-MPE (France) and FeRD (Germany) to implement the European Norm EN 16931. It combines a human-readable PDF/A-3 document with a machine-readable UN/CEFACT CII XML file. Ideally, both layers contain identical information. However, several technical failures can cause them to diverge.

Modern office desk with a tablet showing abstract data charts for Factur-X analysis
Technical discrepancies often stem from software generation flaws or profile errors.

One primary cause is ERP generation flaws. This occurs when a supplier's software generates the visual PDF and the XML payload through separate processes without performing an automated cross-validation before emission. Another common issue is profile selection errors. A supplier might use a low-level profile, such as MINIMUM or BASIC WL, which contains very little structured data, while the visual PDF displays full line-item details.

Furthermore, rounding variances can create perceived mismatches. While the XML might use strict floating-point calculations, the PDF often displays pre-rounded visual values. Finally, structural misconfigurations—such as attaching a standard XML file to a PDF without the required XMP metadata or using an incorrect filename—can prevent automated systems from recognising the file as a valid Factur-X document.

How to fix Factur-X PDF and XML mismatch during accounts payable

When an AP professional identifies a discrepancy, they must avoid the temptation to blindly choose one layer over the other. Choosing the XML blindly risks injecting unverified data into the ERP, while choosing the PDF eliminates the structured data required for tax reporting. Instead, organisations should implement a five-level discrepancy classification process.

3D conceptual shield protecting a structured sequence of data blocks
Implementing a structured classification process helps resolve data contradictions.
Discrepancy Level Description Recommended Action
1. Identical Values PDF and XML match exactly. Process the invoice normally.
2. Presentation Differences Differences in formatting (e.g., "2 000,00 €" vs "2000.00"). Normalise the strings and process.
3. Explicable Gaps Permitted rounding variances (up to €0.01). Recalculate and log the justification.
4. Material Contradictions Conflicts in totals, VAT, or IBAN/payment details. Block payment and request clarification.
5. Undecidable Contradictions Two plausible values with no technical proof. Hold the invoice and contact the vendor.

For material contradictions, such as a mismatch in the total amount or the supplier's IBAN, the risk of fraud or tax error is too high to automate. In these cases, the recipient must suspend the automated posting and request a corrected invoice from the supplier.

Is electronic invoice mandatory in France?

Yes. As of 1 September 2026, the reception of electronic invoices has become mandatory for all private-sector companies established in France. This reform requires businesses to exchange invoices through Accredited Platforms (Plateformes Agréées or PA).

Factur-X is officially designated as one of the three core formats (socle minimal) allowed under this reform, alongside UBL 2.1 and UN/CEFACT CII. While the mandate for receiving invoices is already in force for all businesses, the requirement for companies to issue electronic invoices is being phased in based on company size.

Not all Factur-X files are compliant with the French B2B reform. The standard includes a hierarchy of five profiles, but only specific ones meet the legal requirements for structured data exchange in France.

To comply with the French mandate, issuers must use either the EN 16931 profile or the EXTENDED profile (such as EXTENDED-CTC-FR). These profiles provide the necessary level of detail for line items and tax breakdowns.

The lower-tier profiles—MINIMUM, BASIC WL, and BASIC—are insufficient for the French B2B reform. They do not contain enough structured data to satisfy the requirements of the Accredited Platforms (PA) or the French tax authorities. If a supplier sends an invoice using a MINIMUM profile, it will likely be rejected by the platform.

Technical requirements for valid Factur-X files

To prevent validation failures and mismatches, IT departments and system integrators must ensure that the e-invoicing software adheres to strict technical specifications. A failure in any of these parameters can result in the automatic rejection of the invoice by platforms like Chorus Pro.

  • Container Standard: The file must follow the ISO 19005-3 (PDF/A-3) standard to allow for embedded attachments.
  • XML Filename: The embedded file must be named exactly factur-x.xml in lowercase.
  • Relationship Attribute: The AFRelationship property within the PDF metadata must be set to Alternative.
  • Metadata Synchronisation: The XMP ConformanceLevel in the PDF must match the ExchangedDocumentContext URN in the XML.
  • Rounding Rules: Calculations must adhere to EN 16931 business rules (such as BR-CO-15 for VAT and BR-CO-16 for totals), where the maximum allowed rounding variance is €0.01.

How software such as Vigilo can help

Managing supplier compliance and regulatory requirements across multiple departments requires robust tracking. Software such as Vigilo helps organisations keep track of compliance, monitor third-party requirements, and ensure documents are valid and up to date.

This article is general information, not legal advice; for your own situation, check with the competent authority or a qualified adviser.

FAQ: Factur-X and E-invoicing

Which data is legally binding in a Factur-X invoice? Neither the PDF nor the XML systematically overrules the other. Factur-X defines both as dual, equivalent representations of a single invoice. A discrepancy is treated as a material defect, and resolution requires a field-by-field diagnostic rather than an arbitrary choice.

How can I validate a Factur-X invoice automatically? Automated validation should check the PDF/A-3 container, verify that the XMP metadata declares the correct ConformanceLevel, and ensure the embedded XML is named factur-x.xml. Finally, the system must run EN 16931 Schematron business rules to check that totals and VAT calculations are mathematically correct.

What are the most common technical errors causing Factur-X failures? The most frequent errors include incorrect XML filenames, mismatches between XMP metadata and the XML URN, VAT rounding errors exceeding €0.01, and grand total mismatches where the sum of line items does not equal the total amount.

Can I use a scanned PDF as a Factur-X invoice? No. Simply attaching an XML file to a scanned image PDF does not constitute a valid Factur-X invoice. The document must be a true PDF/A-3 file that satisfies specific XMP metadata and XSD schema requirements.

Sources