curatedapi

Factur-X and ZUGFeRD validator API

An API that checks a Factur-X or ZUGFeRD 2 invoice, sent as a PDF or as its CII XML, against the rules for the profile the document names.

Free plan: 1,000 calls a month, no card needed. Paid plans start at $9 or €9. Test keys are never billed.

POST /v1/validate/einvoice/factur-xRequest
jq -Rs '{xml: .}' ferd-en16931-einfach.xml |
  curl https://api.curatedapi.com/v1/validate/einvoice/factur-x \
    -H "Authorization: Bearer YOUR_CURATEDAPI_KEY" \
    -H "Content-Type: application/json" \
    --data-binary @-
200 OKResponse, shortened
{
  "validator": "einvoice/factur-x@1",
  "result": {
    "valid": true,
    "scenario": "Factur-X EN 16931",
    "document_type": "UN/CEFACT CII",
    "specification_id": "urn:cen.eu:en16931:2017",
    "errors": 0,
    "warnings": 0,
    "notices": 0,
    "error_rules": [],
    "checks": [
      {
        "check": "XML syntax",
        "passed": true
      },
      {
        "check": "Factur-X 1.09.2 EN 16931 schema",
        "passed": true
      },
      "… 1 more"
    ],
    "messages": [],
    "messages_truncated": false,
    "profile": "EN 16931",
    "pdf": null
  }
}
An official sample (ferd-en16931-einfach.xml)

In France, every business has had to accept e-invoices since September 2026, and large and mid-sized companies must also send them; smaller ones start sending in September 2027. This API checks Factur-X and ZUGFeRD 2 documents. It does not choose which format a buyer requires.

The profile comes from the guideline ID (BT-24). MINIMUM, BASIC WL, BASIC, EN 16931 and EXTENDED use the Factur-X 1.09.2 / ZUGFeRD 2.5 schema and Schematron for that profile. XRECHNUNG uses KoSIT's rules.

From a PDF the endpoint reads the embedded factur-x.xml, zugferd-invoice.xml or xrechnung.xml, and the profile named in the PDF's XMP metadata. Send the PDF as base64 (at most 6 MiB) or the CII XML as text (at most 4 MiB). PDF/A-3 conformance of the PDF itself is not checked.

ZUGFeRD 1.0 is not supported. ZUGFeRD 2.0 guideline IDs are checked against the current rules for the same profile, and the answer includes a warning.

What you get

  • PDF or CII XML, with the profile taken from the document
  • MINIMUM, BASIC WL, BASIC, EN 16931, EXTENDED and XRECHNUNG
  • Every finding with the rule ID, its level and the rule owner's message
  • The same key works for the REST API and the MCP server
  • The invoice is not stored or logged

A check shows whether the invoice passes the official rule sets listed, at the versions listed. It is not legal or tax advice, and passing does not promise that a tax authority or buyer will accept the invoice. See the terms.

Endpoints

Each one is a POST and an MCP tool. Its page shows the inputs, an example and the sources it is checked against.

On this site

FAQ

Common questions

Can I send a PDF?

Yes. Send the Factur-X or ZUGFeRD PDF as base64 in pdf, at most 6 MiB, or the CII XML as text in xml, at most 4 MiB. Send one of the two, not both. From a PDF the check reads the embedded factur-x.xml, zugferd-invoice.xml or xrechnung.xml.

Which profiles are checked?

MINIMUM, BASIC WL, BASIC, EN 16931, EXTENDED and XRECHNUNG. The profile comes from the guideline ID (BT-24). MINIMUM through EXTENDED use the Factur-X 1.09.2 / ZUGFeRD 2.5 rules for that profile. XRECHNUNG uses KoSIT's rules.

Is the PDF checked for PDF/A-3?

No. PDF/A-3 conformance of the PDF itself is not checked. The endpoint reads the embedded invoice and the Factur-X XMP metadata.

Is ZUGFeRD 1.0 supported?

No. ZUGFeRD 1.0 is not supported. ZUGFeRD 2.0 guideline IDs are checked against the current rules for the same profile, with a warning.

When do French businesses have to use e-invoices?

In France, every business has had to accept e-invoices since September 2026, and large and mid-sized companies must also send them; smaller ones start sending in September 2027.

How many calls does one invoice check use?

One check counts as 5 calls, on the REST API and on the MCP server. The free plan includes 1,000 calls a month, which covers 200 checks. A live key is billed when the check runs, including when the invoice is not valid.

What does the free plan include?

The free plan includes 1,000 calls a month and needs no card. Paid plans start at $9 a month or €9 a month. Failed calls, test keys and a retry that sends the same idempotency key are not billed.

Start on the free plan

1,000 calls a month, no card needed. Paid plans start at $9 or €9. Same key for the REST API and the MCP server.