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 account under “My area → API keys”. The free plan includes a test key with 10 calls per month for integration testing; production API allowances are part of the Business plan (see pricing).

Sign up free & create a key

Each account has a monthly quota, shared by all of the account's keys; requests beyond it receive HTTP 429.

Endpoints

Endpoints
EndpointDescription
POST /api/validateValidate (EN 16931)
POST /api/convert?target=…Convert — ERP formats (SAP IDoc, EDIFACT): Enterprise
POST /api/createCreate (JSON → XML)
POST /api/extractExtract XML (ZUGFeRD/Factur-X-PDF)
POST /api/recognizeInvoice data extraction — Integration into ERP/accounting: Enterprise
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