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.

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

API keys are a paid product. Drop us a short note about your use case and we will send you pricing and your personal key.

Request API 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