PDF to UBL Converter API
UBL 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
Review every result before you use it. AI can make mistakes. Before you send the invoice or submit it to an authority, check every value in the XML against your PDF.
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 is the XML backbone of the Peppol network, the global infrastructure connecting millions of businesses and government entities. Peppol BIS Billing mandates UBL 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.
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$ 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.
AI output requires human review of the structured data before use
With UBL, the XML is the invoice. It is what the recipient's software and the tax authority process, so every value in it must be checked before you send it.
Check the values inside the XML
The XML is what the AI produced from your PDF. Compare these values in it 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
- Upload it to our online UBL preview.
- Or use our API: render it as a PDF with POST /v1/render/xml/to/pdf.
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.
Frequently Asked Questions
What is UBL?
UBL (Universal Business Language) is an OASIS XML standard for electronic business documents. UBL 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 is used by Peppol BIS Billing 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 checked against Peppol BIS Billing?
Yes. Every UBL invoice is validated against EN 16931 and the Peppol BIS Billing business rules before it is returned. As with all AI output, review the values before you send it.
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.