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

PlanPriceConversions / monthRequests / minute
Pro€12 / month (€120 / year)10010
Office€49 / month (€490 / year)1,00030
apion request (hello@valifakt.com)100,00060

Endpoints

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:

FieldTypeDescription
file *filePDF, XLSX, XLSM or DOCX invoice, max 10 MB
country *stringde | pl | be | ae
Values: de, pl, be, ae
formatstringOutput 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
patchstringOptional JSON object with values for fields listed in missing
StatusMeaning
200Conversion ran. Check status: only valid counts against the quota.
400Bad request: invalid_request, invalid_country, invalid_format, unsupported_file_type, unsafe_file, invalid_patch
401missing_api_key or invalid_api_key
402quota_exceeded
403plan_not_allowed: the key's plan has no API access
413file_too_large
422conversion_failed: the file could not be read or converted
429rate_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

ParameterTypeDescription
job (path)stringJob id from /convert (expires after 60 minutes)
kind (path)stringxml, or pdf for ZUGFeRD Values: xml, pdf
StatusMeaning
200The e-invoice file
401missing_api_key or invalid_api_key
403plan_not_allowed: the key's plan has no API access
404not_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:

FieldTypeDescription
file *fileXRechnung (UBL/CII), ZUGFeRD XML, Peppol BIS 3.0, KSeF FA(3) or PINT-AE XML, max 10 MB
StatusMeaning
200Validator result. Does not use conversion quota.
400Bad request: invalid_request, invalid_country, invalid_format, unsupported_file_type, unsafe_file, invalid_patch
401missing_api_key or invalid_api_key
403plan_not_allowed: the key's plan has no API access
413file_too_large
429rate_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

StatusMeaning
200Successful Response
401missing_api_key or invalid_api_key
403plan_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