Automation Blog Pricing Contact

Convert PDF to UBL API

UBL 2.1 XML — the Peppol-native format for cross-border e-invoicing across Europe, Australia, Singapore, and global networks. 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/ubl · PDF · Max 20 MB

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 UBL and Peppol Compliance Matter

UBL 2.1 is the XML backbone of the Peppol network — the global infrastructure connecting millions of businesses and government entities. Peppol BIS Billing 3.0 mandates UBL 2.1 as its invoice format and is required for public sector invoicing in Norway, Denmark, Sweden, Singapore, Australia, and New Zealand. With Peppol adoption expanding rapidly across the EU and beyond, converting your PDF invoices to UBL ensures you can reach any buyer on the network — without manual data entry or format conversion at the other end.

Developer API

Built for Developers

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

  • 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
Terminal
$ curl -X POST https://api.invoicexml.com/v1/transform/to/ubl \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: multipart/form-data" \
  -F "[email protected]"
// => 200 OK
// => { "id": "inv_8f3k...", "status": "completed" }

Complete UBL Toolkit

Everything you need to create, convert, validate, and preview UBL invoices — via REST API or online.

Build a validated UBL 2.1 XML from structured data — Peppol BIS Billing 3.0 compliant.

Validate UBL XML against EN 16931 and Peppol BIS Billing 3.0 Schematron rules.

Convert any PDF invoice into a Peppol-compliant UBL 2.1 XML using AI extraction.

Render a UBL XML as a human-readable PDF for review and approval.

Frequently Asked Questions

What is UBL?

UBL (Universal Business Language) is an OASIS XML standard for electronic business documents. UBL 2.1 is one of the two official syntaxes of the European EN 16931 e-invoicing standard and is the native format of the Peppol network.

What is Peppol and why does it matter?

Peppol (Pan-European Public Procurement On-Line) is a global network for exchanging e-invoices. It is mandatory for public sector invoicing in Norway, Denmark, Sweden, Singapore, Australia, and New Zealand, and is increasingly adopted for B2B in the Netherlands, Belgium, Italy, and more.

How does UBL differ from CII?

Both UBL and CII are valid EN 16931 syntaxes. UBL 2.1 is used by Peppol BIS Billing 3.0 and is the dominant format on the Peppol network. CII is used by ZUGFeRD and Factur-X. Use UBL when your recipients or network is Peppol-based.

Is the output Peppol BIS Billing 3.0 compliant?

Yes. Our converter generates UBL 2.1 invoices that conform to the Peppol BIS Billing 3.0 specification, validated against both EN 16931 and Peppol-specific business rules.

Ready to automate your invoices?

Start your 30-day free trial. No credit card required.

Get Started