INVOX

E-Invoicing API for Europe

Updated:

Validate, generate and convert EN 16931 e-invoices from your own software – one REST API, JSON responses and a plain-language explanation for every message.

Create a free API key · Open the API reference

Why an e-invoicing API?

Across Europe, structured e-invoices based on the standard EN 16931 are replacing PDF invoices – for public procurement today and increasingly for business-to-business invoicing. Software that issues, receives or forwards invoices needs to check and produce these files automatically. The INVOX e-invoicing API covers the three tasks that appear in almost every invoice workflow: validate an invoice, generate an e-invoice from structured data and convert between formats. Every call is a plain HTTPS request with a JSON response – no library to install and no Java runtime to operate.

The API is built for developers of accounting, ERP, document-management and shop software as well as for companies automating their own outgoing invoices. Hosting is in the EU (Frankfurt); invoice contents are processed only for the duration of the request.

Formats

The API validates the XML data of XRechnung (UBL and CII syntax), ZUGFeRD and Factur-X against EN 16931 and, for XRechnung, against the additional German rules using the official KoSIT validator. Which formats and obligations apply in each member state is listed in the EU-27 overview.

Endpoints at a glance

EndpointTaskResult
/v1/validatevalidate one invoiceverdict, messages with rule ID and explanation
/v1/validate/batchvalidate several invoices in one callone result per file
/v1/generategenerate an e-invoice from structured dataXML file in the chosen format
/v1/convertconvert an invoice to another formatconverted file

Every request and response field is documented in the API reference, which is generated from the same interface description the API runs on.

Set-up in four steps

  • Step 1: Create an account via registration. A sandbox key is enough for first tests.
  • Step 2: Store the key in the environment variable INVOX_API_KEY – never in source code or a repository.
  • Step 3: Send a first request to /v1/validate (example below) and inspect the response.
  • Step 4: Place the check where it matters: before sending outgoing invoices, when accepting incoming invoices, or when importing into your archive.

Example: validate an XRechnung

Send the XML file as form field file; the key goes into the X-API-Key header. The parameter profile_hint is optional.

curl -X POST "https://invoxapi.de/v1/validate?profile_hint=xrechnung" \
  -H "X-API-Key: $INVOX_API_KEY" \
  -F "file=@rechnung.xml"

The response contains the overall verdict, the detected format, the validator version used and, for every message, the rule ID (for example BR-DE-15), its location and a plain-language explanation.

AI tools via MCP

Besides the REST API, INVOX runs an MCP server so that AI assistants such as Claude Code, Cursor or VS Code can validate invoices through INVOX. Set-up is described on the MCP server page (German).

Software vendors and white label

Software vendors who want to offer INVOX under their own name will find the terms in the partner program.

What the API does not do

The API checks whether a file complies with the technical rules. It is not tax advice: no validator can know whether a VAT rate is correct for the underlying supply. Missing mandatory values are reported as missing, never invented. Plans and prices are published only on the pricing page (German).

Frequently asked questions

Which formats does the API support?

XRechnung (UBL and CII), plus the XML data of ZUGFeRD and Factur-X, validated against EN 16931 and, for XRechnung, the additional German rules.

Do I need an SDK?

No. Every call is a plain HTTPS request; the curl example on this page is enough to get started.

How do I protect the API key?

Store it in the environment variable INVOX_API_KEY and send it in the X-API-Key header – never in source code.

Are my invoices stored?

No. Invoice contents are processed only for the duration of the request.

Read more

Validate for free →