Extract XML from Factur-X API
Upload a Factur-X PDF and extract the embedded XML invoice data instantly — no sign-up required.
Drop your Factur-X PDF here
or browse files to upload
Accepted format: PDF · Max 20 MB
How Factur-X XML Extraction Works
Upload Your Factur-X PDF
Drag and drop a Factur-X or ZUGFeRD PDF. We detect the embedded XML attachment automatically.
Parse & Extract
The embedded CII XML is extracted from the PDF/A-3 container. If no XML is found, our AI generates one from the invoice content.
Download XML
Receive a structured EN 16931 CII XML file — ready to import into your ERP, accounting system, or data pipeline.
Why Extract XML from Factur-X?
Factur-X invoices embed structured XML inside a standard PDF — but many accounting systems can only process the raw XML data. Extracting the XML lets you automate data import, eliminate manual entry, and integrate invoice data directly into your ERP or financial workflows. Whether you're archiving, validating, or feeding data into a pipeline, the extracted XML gives you machine-readable access to every field in the invoice.
Built for Developers
A single REST endpoint. Upload a Factur-X PDF, receive the embedded CII XML — or AI-generated EN 16931 XML if no attachment is found.
- Supports all formats: DOCX, XLSX, PDF, images — no preprocessing needed
- Works on scanned and photographed invoices
- Every response validated against official Schematron rules
Supports ZUGFeRD · Factur-X · XRechnung · UBL · CII · EN 16931
API Documentation$ curl -X POST https://api.invoicexml.com/v1/extract/xml \ -H "Authorization: Bearer sk_live_..." \ -H "Content-Type: multipart/form-data" \ -F "[email protected]" // => 200 OK // => { "id": "inv_8f3k...", "status": "completed" }
Complete Factur-X Toolkit
Everything you need to create, convert, validate, and extract Factur-X invoices — via REST API or online.
Build a Factur-X PDF/A-3 from structured data — no source PDF required.
Validate a Factur-X PDF against EN 16931 XSD schema and Schematron business rules.
Convert any PDF invoice into a Factur-X PDF/A-3 with embedded CII XML using AI extraction.
Extract the embedded CII XML from a Factur-X PDF for ERP import or further processing.
Frequently Asked Questions
What is Factur-X XML extraction?
What if my PDF has no embedded XML?
If the uploaded PDF does not contain an embedded Factur-X XML attachment, our AI engine will read the invoice content, map it to the EN 16931 data model, and generate a compliant CII XML document for you.
What XML format is returned?
The extracted XML follows the UN/CEFACT CII (Cross Industry Invoice) format — the same syntax used inside Factur-X and ZUGFeRD files and one of the two official syntaxes of the EN 16931 European standard.
Is the extracted XML validated?
When XML is generated via AI extraction, it is validated against EN 16931 Schematron business rules before delivery. Embedded XML that already exists in the PDF is returned as-is.