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 keyEach key has a daily quota; requests beyond it receive HTTP 429.
Endpoints
| Endpoint | Description |
|---|---|
POST /api/validate | Validate (EN 16931) |
POST /api/convert?target=… | Convert |
POST /api/create | Create (JSON → XML) |
POST /api/extract | Extract XML (ZUGFeRD/Factur-X-PDF) |
POST /api/combine | Combine (PDF + XML → Hybrid-PDF) |
POST /api/validate-vat | Check 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