Valifakt API reference (OpenAPI 3.1)
Convert invoices to XRechnung, ZUGFeRD, KSeF, Peppol BIS 3.0 and PINT AE; validate e-invoice XML with the official rules. Base URL https://valifakt.com/api/v1.
Download openapi.json Postman collection Get an API key
Convert PDF, Excel (XLSX/XLSM) and Word (DOCX) invoices into structured e-invoices – XRechnung (UBL or CII) and ZUGFeRD / Factur-X for Germany, KSeF FA(3) for Poland, Peppol BIS Billing 3.0 for Belgium and PINT AE for the UAE – and validate existing e-invoice XML with the official rule sets (KoSIT XRechnung, EN 16931 / Peppol schematrons, KSeF FA(3) XSD, PINT AE, ZATCA SDK rules for Saudi Arabia, FNFE-MPE XP Z12-012 BR-FR rules for France).
Authentication: Authorization: Bearer vf_… – the key comes by e-mail with a Pro, Office or api plan.
Plans and limits (one quota shared with the website; only conversions that end status: valid count; /validate never counts):
Every response from /convert and /validate carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; HTTP 429 adds Retry-After.
Errors use one JSON shape: {"error": {"code": "…", "message": "…"}}. Converted files expire after 60 minutes.
Valifakt checks and converts files; it does not transmit invoices to any network, platform or tax authority.
Plans
| Plan | Price | Conversions / month | Requests / minute |
|---|---|---|---|
| Pro | €12 / month (€120 / year) | 100 | 10 |
| Office | €49 / month (€490 / year) | 1,000 | 30 |
| api | on request (hello@valifakt.com) | 100,000 | 60 |
Endpoints
POST /convert– Convert an invoiceGET /jobs/{job}/{kind}– Download a converted filePOST /validate– Validate an e-invoice XMLGET /quota– Current month's usage
POST /convert – Convert an invoice
Upload one invoice (PDF, XLSX, XLSM or DOCX). The response always contains the pre-check; when status is valid it also has the official validator result and download URLs in files. If status is needs_input, send the missing values as a JSON object in patch and call again.
Request body multipart/form-data:
| Field | Type | Description |
|---|---|---|
file * | file | PDF, XLSX, XLSM or DOCX invoice, max 10 MB |
country * | string | de | pl | be | ae Values: de, pl, be, ae |
format | string | Output format for the country; empty = country default (de: xrechnung-ubl, xrechnung-cii, zugferd; pl: ksef-fa3; be: peppol-bis3; ae: pint-ae) Values: (empty), xrechnung-ubl, xrechnung-cii, zugferd, ksef-fa3, peppol-bis3, pint-ae |
patch | string | Optional JSON object with values for fields listed in missing |
| Status | Meaning |
|---|---|
200 | Conversion ran. Check status: only valid counts against the quota. |
400 | Bad request: invalid_request, invalid_country, invalid_format, unsupported_file_type, unsafe_file, invalid_patch |
401 | missing_api_key or invalid_api_key |
402 | quota_exceeded |
403 | plan_not_allowed: the key's plan has no API access |
413 | file_too_large |
422 | conversion_failed: the file could not be read or converted |
429 | rate_limited; see the Retry-After header |
curl -sS -X POST https://valifakt.com/api/v1/convert \
-H "Authorization: Bearer $VALIFAKT_API_KEY" \
-F country=de -F format=xrechnung-ubl \
-F "file=@invoice.pdf;type=application/pdf"GET /jobs/{job}/{kind} – Download a converted file
| Parameter | Type | Description |
|---|---|---|
job (path) | string | Job id from /convert (expires after 60 minutes) |
kind (path) | string | xml, or pdf for ZUGFeRD Values: xml, pdf |
| Status | Meaning |
|---|---|
200 | The e-invoice file |
401 | missing_api_key or invalid_api_key |
403 | plan_not_allowed: the key's plan has no API access |
404 | not_found: unknown, expired or someone else's job |
curl -sS -OJ https://valifakt.com/api/v1/jobs/$JOB/xml \
-H "Authorization: Bearer $VALIFAKT_API_KEY"POST /validate – Validate an e-invoice XML
Validate an existing XML e-invoice. The rule set is chosen from the document: XRechnung/EN 16931 (KoSIT), Peppol BIS 3.0, KSeF FA(3), PINT AE, ZATCA (KSA) and French XP Z12-012 / BR-FR. Does not use the conversion quota.
Request body multipart/form-data:
| Field | Type | Description |
|---|---|---|
file * | file | XRechnung (UBL/CII), ZUGFeRD XML, Peppol BIS 3.0, KSeF FA(3) or PINT-AE XML, max 10 MB |
| Status | Meaning |
|---|---|
200 | Validator result. Does not use conversion quota. |
400 | Bad request: invalid_request, invalid_country, invalid_format, unsupported_file_type, unsafe_file, invalid_patch |
401 | missing_api_key or invalid_api_key |
403 | plan_not_allowed: the key's plan has no API access |
413 | file_too_large |
429 | rate_limited; see the Retry-After header |
curl -sS -X POST https://valifakt.com/api/v1/validate \
-H "Authorization: Bearer $VALIFAKT_API_KEY" \
-F "file=@invoice.xml;type=application/xml"GET /quota – Current month's usage
| Status | Meaning |
|---|---|
200 | Successful Response |
401 | missing_api_key or invalid_api_key |
403 | plan_not_allowed: the key's plan has no API access |
curl -sS https://valifakt.com/api/v1/quota -H "Authorization: Bearer $VALIFAKT_API_KEY"Errors
All errors: {"error": {"code": "…", "message": "…"}}. Codes: missing_api_key, invalid_api_key, plan_not_allowed, invalid_request, invalid_country, invalid_format, unsupported_file_type, unsafe_file, file_too_large, quota_exceeded, rate_limited, conversion_failed, not_found.
FAQ
Where is the OpenAPI file?
https://valifakt.com/openapi.json (OpenAPI 3.1, cleaned and documented). The auto-generated schema of the running service is at https://valifakt.com/api/v1/openapi.json.
Is there a Postman collection?
Yes: https://valifakt.com/assets/valifakt.postman_collection.json (Collection v2.1). Set the apiKey variable to your vf_ key.
Does validation count against my quota?
No. Only conversions that end with status valid count; /validate never does.
Do you send invoices to a network or tax authority?
No. Valifakt checks and converts files; it does not transmit invoices to Peppol, KSeF, the French platforms or any authority.
More: API overview and client libraries · REST API v1 guide · Pricing