Automation MCP Server Blog Pricing Contact

PDF to Factur-X Converter API

The Franco-German standard for hybrid electronic invoicing across Europe. Try the REST API demo, no code required. Drop a PDF to see exactly what InvoiceXML returns.

Drop a PDF to test the API

or browse files to upload

REST API demo · POST /transform/to/facturx · PDF · Max 20 MB

Review every result before you use it. AI can make mistakes. Before you send the invoice or submit it to an authority, check the values in the embedded XML against your PDF, not only the visual layer.

From Messy Scanned PDF to Compliant XML

See exactly how your invoices are transformed automatically.

PDF Invoice

Unstructured

Legacy / scanned PDF with no embedded data

AI Extraction

Processing

OCR & AI extraction with confidence scores

Data Mapping

Structuring

Data mapped to selected compliance schema

Compliant Output

Validated ✓

All validation checks passed (XSD + Schematron)

Why Factur-X Is the Future of Invoicing

As France and Germany drive the adoption of structured electronic invoicing, Factur-X offers the perfect hybrid: a human-readable PDF that also carries machine-processable data. This dual nature eliminates manual data entry for your clients, accelerates payment processing, and prepares you for upcoming EU mandates, while your invoices stay readable for people.

Developer API

Built for Developers

A single REST endpoint. Send a PDF, receive structured XML. Built for ultra-high concurrency and sub-second processing.

  • Native, scanned and photographed PDF invoices, no preprocessing needed
  • Every response validated against official Schematron rules

Supports ZUGFeRD · Factur-X · XRechnung · UBL · CII · EN 16931

API Documentation
Terminal
$ curl -X POST https://api.invoicexml.com/v1/transform/to/facturx \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: multipart/form-data" \
  -F "[email protected]"

// => 200 OK
// => { "id": "inv_8f3k...", "status": "completed" }

How PDF to Factur-X Conversion Works

Upload Your Invoice

Drop any standard PDF invoice. Our engine intelligently extracts financial data fields from the document.

Generate Factur-X XML

Invoice data is mapped to the Factur-X XML schema and validated against European Norm EN 16931 business rules.

Get Your PDF

Download a PDF/A-3 document with the Factur-X XML embedded, validated before it is returned. Review the XML values before you send it.

Human review

AI output requires human review of the structured data before use

With Factur-X, one file holds two things: the PDF you see and the XML inside it. The XML is what the recipient's software and the tax authority process, so that is what you must check.

Check the values inside the XML

By default the visual layer is drawn from the same AI data as the XML. If you keep your original PDF (preserveOriginalPdf), it always looks right, even when the XML is not. Either way, compare these values in the XML against your source PDF:

  • Seller and buyer names, addresses and tax identifiers
  • Invoice number, issue date, due date and payment terms
  • Line items, quantities, unit prices and line totals
  • Tax rates, tax amounts and invoice totals
  • Payment details, such as the IBAN

See the XML in a readable form

The rendered PDF is built only from the XML values, so what you read there is exactly what the recipient's system receives. Only send, book or submit the invoice once every value matches. Our Terms of Service require this review for all AI output.

FAQ

Frequently Asked Questions

What is Factur-X?

Factur-X is the Franco-German e-invoicing standard (identical to ZUGFeRD on a technical level). It embeds a structured XML file inside a PDF/A-3 document, enabling both human reading and automated processing.

Is Factur-X mandatory in France?

France is phasing in mandatory e-invoicing for B2B transactions starting in 2026. Factur-X is one of the accepted formats, making early adoption a strategic advantage.

What Factur-X profiles do you support?

The converter produces the EN 16931 (Comfort) profile, the full European core invoice. To build other profiles from structured data, use the Create Factur-X API.

Will my PDF layout change?

By default, yes: the API renders a clean new PDF from the extracted data, in the language of the invoice, or in English, German or French when you set the language field. Send preserveOriginalPdf=true to keep your PDF exactly as it is; the XML is then embedded into it.

Start free today

Ready to automate your invoices?

Validate, convert and embed compliant e-invoices through one API. Start your 30-day free trial. No credit card required.

GDPR Compliant No credit card required Setup in minutes
Peppol UBL
Factur-X
EN 16931
142 / 142 passed
Compliant
PDF/A-3 embedded