E-invoicing API

All tools on this portal are also available as a REST API – for ERP, accounting and workflow integrations: validate, convert, create, extract and combine e-invoices across 9 formats. Validation covers all 287 EN 16931 rules and is proven against the official CEN, KoSIT and Peppol test corpora.

The API requires an API key (HTTP header X-Api-Key). The web tools on this site remain free to use without a key.

Get an API key

You create API keys yourself in your free account: sign up with your e-mail address and create the key under “My area → API keys”. The free plan includes a daily request quota; higher limits on request.

Sign up free & create a key

Each key has a daily quota; requests beyond it receive HTTP 429.

Endpoints

Endpoints
EndpointDescription
POST /api/validateValidate (EN 16931)
POST /api/convert?target=…Convert
POST /api/createCreate (JSON → XML)
POST /api/extractExtract XML (ZUGFeRD/Factur-X-PDF)
POST /api/combineCombine (PDF + XML → Hybrid-PDF)
POST /api/validate-vatCheck VAT ID (VIES)

Example

curl -X POST "https://invoice.docuflair.com/api/validate" \
  -H "X-Api-Key: dfk_..." \
  -H "Content-Type: application/xml" \
  --data-binary @rechnung.xml

Interactive API documentation

Try every endpoint right in the browser – set your key via "Authorize".

Open API docs