E-Invoicing API
Generate, validate, convert and render 11 EU and national e-invoice formats — UBL, CII, Peppol, XRechnung, FatturaPA, Facturae, KSeF and more — behind one API key.
Generate in your browser — no code →
Capabilities
- Generate compliant XML (UBL/CII) or PDF (Factur-X) invoices from structured JSON.
- Validate against the official rule sets — every finding with its rule ID.
- Convert losslessly between UBL and CII, or embed/extract Factur-X.
- Render a clean HTML/PDF view of any invoice, including the official KoSIT layout.
Where it fits
- SaaS platforms bolting on e-invoicing without hiring a compliance team.
- Accounting teams pre-flighting invoices before a Plateforme Agréée or Access Point.
- Developers building a custom ERP or billing system on one format-agnostic engine.
What comes out

Try it live
Live call to the real validator · max 200 KB (XML) / 10 MB (PDF) · nothing is stored
Same engine as the full validator page — more profiles, plus a downloadable PDF report.
Call it from your code
curl -X POST "https://api.crateapi.com/v1/generate/ubl?profile=peppol" \ -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \ -d @invoice.json -o invoice.xml
Trust & data handling
Pricing
FAQ
Do you transmit invoices to Peppol, SDI, KSeF or FACe?
No — CrateAPI makes the document valid. Getting it onto the network stays with your existing Access Point or platform (yours, or a provider's).
Which formats are covered?
UBL 2.1/Peppol BIS 3.0, XRechnung, CII, RO_CIUS, Factur-X, FatturaPA, Facturae, KSeF, plus the EHF/NLCIUS/PINT profiles — see the full format list.
Is validation really free?
Yes, unmetered, no API key required — try it now. Generation, conversion and rendering need a free or paid key.