South Star

E Invoice Reader Parse Factur X ZUGFeRD UBL CII API

Free tier included · Business
Parse Factur-X, ZUGFeRD, UBL, CII XML invoices and validate EN 16931 rules.

E-invoice Reader API parses European e-invoices in all major standards: Factur-X and ZUGFeRD (PDF/A-3 with embedded CII XML), UN/CEFACT CII, and OASIS UBL 2.1 (Peppol BIS, XRechnung). It extracts invoice number, dates, seller/buyer details with addresses and VAT IDs, buyer reference (Leitweg-ID), payment terms, IBAN, VAT breakdown, line items, and totals. A dedicated `/validate` endpoint checks documents against open EN 16931, XRechnung, and Peppol BIS rule sets, surfacing violations with rule IDs (e.g., BR-CO-10/13/14/15/16). `/detect` identifies the format and standard from raw XML. `/inspect` returns high-level structure and metadata. `/batch` parses up to 100 XML documents in one call.

Use cases include automated accounts payable ingestion, e-invoicing platform integration, audit and compliance checks, and ERP migration tooling. The API is fully offline and stateless: no external calls, no databases, no request logs. VAT numbers are never looked up.

Limits: PDFs up to 25 MB, XML up to 5 MB (5,242,880 bytes), batches up to 100 documents. Concurrency is capped at 8 simultaneous requests. The `/parse` endpoint accepts a single PDF or XML file per request. `/parse-xml`, `/detect`, `/validate`, and `/inspect` accept XML as a JSON string field. `/batch` accepts an array of XML strings.

Endpoints

MethodPathWhat it does
GET/API metadata: name, version, and paths to the interactive docs and health endpoint.
GET/healthLiveness probe; returns status "ok" while the process is up.
POST/parseParse a Factur-X/ZUGFeRD PDF/A-3 file (with embedded CII XML) or bare XML invoice. Accepts multipart/form-data with a file field. Returns full invoice data including parties, lines, totals, VAT breakdown, and EN 16931 calculation checks.
POST/parse-xmlParse a bare EN 16931 XML invoice (CII or UBL 2.1). Accepts JSON body {"xml": "<xml string>"}. Returns the same structure as /parse.
POST/detectDetect the format and standard of an e-invoice from its XML content. Accepts JSON body {"xml": "<xml string>"}. Returns format (cii/ubl), standard (EN 16931, XRechnung, Peppol BIS), and version if available.
POST/validateValidate an e-invoice XML against open rule sets (EN 16931, XRechnung, Peppol BIS). Accepts JSON body {"xml": "<xml string>"}. Returns validity flag, list of violations with rule IDs and messages, and the ruleset used.
POST/inspectInspect the structure and metadata of an e-invoice. Accepts JSON body {"xml": "<xml string>"}. Returns high-level structure summary and document metadata.
POST/batchParse up to 100 e-invoice XML documents in a single request. Accepts JSON array of {"xml": "<xml string>"} objects. Returns a list of parsed results in the same order as input.

Quick start

curl -X POST "https://einvoice.p.rapidapi.com/parse" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: einvoice.p.rapidapi.com" \
  -F "file=@invoice.pdf"

FAQ

What file formats and standards are supported?

Factur-X and ZUGFeRD PDF/A-3 files (with embedded CII XML), UN/CEFACT CII, and OASIS UBL 2.1 (Peppol BIS, XRechnung). XML is matched by local name, so namespace prefixes don't matter.

What are the size and batch limits?

PDFs up to 25 MB, XML up to 5 MB (5,242,880 bytes). `/batch` accepts up to 100 XML documents per request. Concurrency is capped at 8 simultaneous requests.

Is the API offline and does it log data?

Yes. The API is fully offline and stateless — no external calls, no databases, no request logs. VAT numbers are never looked up or verified against registries.

What does the `/validate` endpoint check?

It validates XML against open schematron-style rule sets: EN 16931, XRechnung, and Peppol BIS. It returns a `valid` flag, a list of violations with rule IDs (e.g., BR-CO-10) and messages, and the ruleset used.

Try E Invoice Reader Parse Factur X ZUGFeRD UBL CII free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs