Automation MCP Server Blog Pricing Contact

PDF to CII Converter API

UN/CEFACT Cross-Industry Invoice XML, the international standard powering ZUGFeRD, Factur-X, and global e-invoicing 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/cii · 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 Convert to CII Format?

UN/CEFACT CII is the XML backbone of Europe's most widely adopted e-invoicing standards. By converting your PDF invoices to CII, you unlock seamless integration with ERP systems, accounting platforms, and e-invoicing networks. CII's rich data model supports complex scenarios, multi-currency transactions, detailed tax breakdowns, and international trade, making it the ideal format for businesses operating across borders.

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/cii \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: multipart/form-data" \
  -F "[email protected]"

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

AI output requires human review of the structured data before use

With CII, 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

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 UN/CEFACT CII?

CII (Cross-Industry Invoice) is a UN/CEFACT XML standard for electronic invoicing. It provides a rich, internationally recognized data format used as the XML syntax for ZUGFeRD, Factur-X, and many national e-invoicing implementations.

How does CII differ from UBL?

Both CII and UBL are accepted syntaxes under the European Norm EN 16931. CII is the syntax used by ZUGFeRD/Factur-X, while UBL is common in Peppol. Our converter produces standalone CII XML.

Can I use CII XML without a PDF wrapper?

Yes. This converter returns a standalone CII XML file for direct integration with ERP systems or e-invoicing networks. For CII XML embedded in a PDF/A-3, use the PDF to Factur-X or PDF to ZUGFeRD converter.

Is CII suitable for international invoicing?

Absolutely. As a UN standard, CII is designed for cross-border trade. It supports multi-currency, international tax schemes, and is recognized by customs and trade authorities worldwide.

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