Included in the Pro plan
Validation API for e-invoices
Validate invoices directly from your ERP, shop system or accounting software: send a file, receive a structured JSON report.
What you get
- One endpoint for XRechnung, ZUGFeRD, Factur-X and UBL
- JSON report with rule ID, severity, message and location
- Processing on servers in Germany, files are not stored
- API keys managed in your account, quota shared with the web validator
Get an API key
Create a free account, switch to Pro in the dashboard and create a key. Keys can be revoked at any time.
Example
Response shortened. Replace the host with this site's address.
curl -X POST https://fakturfit.com/api/v1/validate \
-H "Authorization: Bearer $API_KEY" \
-F "file=@invoice.xml"{
"valid": false,
"format": "XRechnung 3.0 (UBL)",
"errors": [
{
"severity": "error",
"rule": "BR-DE-15",
"message": "Buyer reference (BT-10) must be provided.",
"location": "/Invoice[1]"
}
],
"warnings": []
}API documentation
Authentication
Create a key in your account (Pro plan) and send it as a bearer token.
Authorization: Bearer ev_…Validate a file
POST /api/v1/validate
Send the invoice as multipart/form-data in the field "file" (XML or PDF, up to 10 MB). The response is the same JSON report as in the browser.
Limits
Each API call counts as one check against your monthly quota. Remaining checks are returned in the X-Quota-Remaining header.
Errors
401- missing or invalid API key
402- plan without API access or monthly quota used up
413 / 415- file too large / not XML or PDF
503- validation engine temporarily unavailable
Frequently asked questions
How do I get access?
Create an account, choose the Pro plan and create a key under API keys in your dashboard.
How many requests are included?
Each request counts as one check against your monthly quota (15,000 in the Pro plan). The remaining quota is returned in the X-Quota-Remaining header.
Which formats does the API support?
The same as the online validator: XRechnung (UBL and CII), ZUGFeRD, Factur-X and UBL 2.1.
Are uploaded files stored?
The file itself is processed in memory and deleted. The JSON report is saved in your history so you can open it later.