Automation MCP Server Features Blog Pricing Contact
REST API · Conversion

E-Invoice Format Conversion API

Move invoices between UBL, CII, XRechnung, ZUGFeRD, and Factur-X with deterministic, Schematron-validated syntax conversion. One endpoint per direction, every EN 16931 Business Term preserved.

16
Conversion pairs
100%
Business Terms mapped
EN 16931
Validated output
30 days
Free trial

Convert

Deterministic syntax conversion between all EN 16931 formats, Schematron-validated on the way out.

Deterministic conversion, not AI extraction

InvoiceXML has two families of format endpoints, and picking the right one matters. The /v1/convert endpoints on this page perform a rule-based syntax mapping between structured EN 16931 documents: the same input always yields the same output, byte for byte, with no model in the loop. The /v1/transform endpoints are the opposite tool: AI reads an ordinary PDF that has no structured data at all and builds an e-invoice from what it sees. If your source is already XML (or a hybrid PDF with XML inside), convert is the correct, auditable choice.

Full semantic mapping

Every EN 16931 Business Term is relocated to its correct position in the target syntax, including the grouping differences between UBL components and the CII trade model that break naive XSLT approaches.

Validated before delivery

Every output passes the applicable Schematron rule set before you receive it. Failures come back as HTTP 400 with rule IDs and field paths, never as a silently broken download.

Hybrid PDFs both ways

Convert XML into complete ZUGFeRD or Factur-X hybrids with a freshly rendered visual layer, or feed a hybrid PDF in and get standalone UBL or CII XML out.

Standards maintained for you

When CEN or KoSIT publishes new artefacts, the mapping and validation rules switch on the official effective date, server-side. Your integration keeps calling the same URLs.

Every conversion direction

All pairs follow the same pattern: POST /v1/convert/{source}/to/{target} with the file as multipart/form-data. XML targets return application/xml, hybrid targets (facturx, zugferd) return the finished PDF/A-3.

Source Target Output Reference
UBL 2.1CII D16BXMLLanding + demo · Docs
CII D16BUBL 2.1XMLLanding + demo · Docs
UBL 2.1XRechnungXMLLanding + demo · Docs
CII D16BXRechnungXMLDocs
XRechnungUBL 2.1XMLDocs
XRechnungCII D16BXMLDocs
XRechnungZUGFeRDPDF/A-3Landing + demo · Docs
XRechnungFactur-XPDF/A-3Docs
UBL 2.1ZUGFeRDPDF/A-3Docs
UBL 2.1Factur-XPDF/A-3Docs
CII D16BZUGFeRDPDF/A-3Docs
CII D16BFactur-XPDF/A-3Docs
Factur-X PDFUBL 2.1XMLDocs
Factur-X PDFCII D16BXMLDocs
ZUGFeRD PDFUBL 2.1XMLDocs
ZUGFeRD PDFCII D16BXMLDocs

Frequently asked questions

What is the difference between the convert and transform endpoints?

The /v1/convert family is a deterministic syntax mapping between structured EN 16931 formats: the same input always produces the same output, and no AI is involved. The /v1/transform family uses AI to extract invoice data from ordinary PDFs that have no structured data at all. If your source is already UBL, CII, XRechnung, ZUGFeRD, or Factur-X, always use convert.

Is invoice data lost when converting between UBL and CII?

No. UBL and CII are two syntax bindings of the same EN 16931 semantic model. The conversion maps every Business Term present in the source document to its location in the target syntax; only the XML shape changes.

Are the converted documents validated?

Yes. Every output is validated against the applicable Schematron rule set (EN 16931, and additionally KoSIT for XRechnung targets) before delivery. Instead of a broken file you receive an HTTP 400 with structured findings: rule ID, human-readable message, and field path.

Can I convert a ZUGFeRD or Factur-X PDF directly?

Yes. The facturx and zugferd source endpoints accept the hybrid PDF directly, extract the embedded CII, and convert it to UBL or standalone CII in one call. In the other direction, the facturx and zugferd target endpoints render a visual layer from your XML and return a complete hybrid PDF/A-3.

Can I use the conversion API for free?

Yes. A free tier is available with no credit card required. It covers a generous number of monthly conversions, suitable for development and low-volume production use.

Start converting in minutes.

Free trial available, no credit card required. Upgrade when you need more volume.