How to Convert a PDF Invoice to Factur-X XML

Why Convert PDF Invoices to Factur-X?

If your business operates in France, you are likely already aware of the upcoming B2B e-invoicing mandate set to begin its phased rollout in September 2026. Under this mandate, all businesses issuing invoices in France will need to produce structured electronic invoices — and Factur-X is one of the accepted formats.

Factur-X is a hybrid format: it combines a human-readable PDF with machine-readable CII XML embedded inside a PDF/A-3 container. This makes it particularly practical for businesses transitioning from paper or plain PDF invoicing, because the output still looks and behaves like a normal PDF — but it also contains the structured data that accounting software and government platforms (like Chorus Pro or certified PDPs) need to process the invoice automatically.

InvoicePeppol lets you take an existing PDF invoice and convert it to a fully compliant Factur-X file in minutes. Our AI reads your PDF, extracts all the invoice data, and generates a valid CII XML at the EN 16931 profile level. Here is exactly how the process works.

Step-by-Step: Convert a PDF Invoice to Factur-X

  1. Sign up or log in.

    Go to InvoicePeppol and create a free account. If you already have one, log in. You get a number of free conversions each month to test the process before committing to a paid plan.

  2. Upload your PDF invoice.

    Navigate to the Convert PDF page and upload your invoice file. The PDF can be in any layout — our AI handles invoices from different accounting systems, ERP exports, and manual templates. There is no need to pre-format the document.

  3. AI extracts the invoice data.

    Once the upload completes, our AI reads the entire PDF and extracts all relevant fields: invoice number, issue date, due date, seller and buyer details, line items with quantities and prices, VAT rates, payment information, and totals. This typically takes a few seconds.

  4. Review the extracted fields.

    You will see a summary of everything the AI extracted. Check that the seller name, buyer name, VAT numbers, line items, and totals are correct. You can edit any field manually if the AI misread something — this is your chance to catch errors before generating the XML.

  5. Select Factur-X as the output format.

    Choose "Factur-X" from the format dropdown. The conversion will generate CII XML at the EN 16931 profile, which is the minimum level required for French regulatory compliance and the level at which Factur-X is identical to ZUGFeRD.

  6. Download your Factur-X XML.

    Click the download button to get your compliant CII XML file. You can then submit this file to Chorus Pro (for B2G invoices), upload it to your certified PDP (for B2B invoices under the mandate), or send it directly to your trading partner.

Tips for French Factur-X Compliance

  • Include SIRET/SIREN numbers: French tax authorities expect the seller's SIRET (14 digits) or SIREN (9 digits) number in the invoice data. Make sure this is present on your PDF or add it during the review step. Without it, your invoice may be rejected by Chorus Pro or a PDP.
  • Chorus Pro compatibility: For B2G invoices, ensure that the buyer's service code (code service) and engagement number are included if required by the public entity. These fields are often specified in the purchase order.
  • Use the EN 16931 profile: While Factur-X offers profiles from Minimum to Extended, the EN 16931 profile is the baseline for regulatory compliance. Lower profiles (Minimum, Basic WL) may not contain enough data to satisfy the mandate. InvoicePeppol generates at the EN 16931 level by default.
  • VAT number format: French VAT numbers follow the format FR + 2 check digits + 9-digit SIREN (e.g., FR12345678901). Double-check this during review — an incorrectly formatted VAT number is one of the most common validation errors.
  • Currency: Most French invoices use EUR, but if you invoice in a different currency, make sure the exchange rate and tax amounts in EUR are correctly reflected.

What Is in the Output XML?

The Factur-X XML file you download is a CII (Cross Industry Invoice) XML document following the UN/CEFACT CrossIndustryInvoice schema. At the EN 16931 profile, it contains all the fields required by the European e-invoicing standard:

  • Exchange context: Document type, profile indicator, and business process identifier.
  • Seller and buyer parties: Names, addresses, VAT numbers, SIRET/SIREN, and contact information.
  • Invoice header: Invoice number, issue date, due date, currency code, and payment terms.
  • Tax breakdown: VAT amounts grouped by rate, with taxable base and tax amount for each category.
  • Line items: Each product or service with description, quantity, unit price, line total, and applicable VAT rate.
  • Payment instructions: IBAN, BIC, and payment means code.
  • Monetary totals: Net amount, total VAT, and gross payable amount.

In a full Factur-X hybrid file, this XML would be embedded inside a PDF/A-3 container. The XML file InvoicePeppol generates can be used directly for submission to PDPs and Chorus Pro, or embedded into a PDF/A-3 by your document management system.

Frequently Asked Questions

Can I convert any PDF invoice to Factur-X, or does it need a specific layout?

Any PDF invoice can be converted. Our AI is trained to handle invoices from a wide range of accounting software and manual formats. There is no required layout or template — the AI identifies invoice fields based on context and content, not position on the page.

Is the output the same as ZUGFeRD?

Yes. At the EN 16931 profile level, Factur-X and ZUGFeRD are technically identical. The XML structure, fields, and validation rules are the same. If you need to send invoices to both French and German trading partners, the same file works for both.

Will this work for the September 2026 French mandate?

Yes. The CII XML generated by InvoicePeppol at the EN 16931 profile is one of the formats accepted under the French B2B e-invoicing mandate. You will still need to submit the invoice through a certified PDP or Chorus Pro — InvoicePeppol generates the compliant file, and your PDP handles the transmission. See our France e-invoicing guide for the full mandate timeline.

Next Steps

Ready to convert your invoices?

InvoicePeppol converts your PDF invoices to compliant e-invoicing XML in seconds. AI-powered extraction, manual review, and instant download.