EU E-Invoice API
Validate, parse and generate European e-invoices: XRechnung, ZUGFeRD, Peppol, KSeF
- Pricing
- Freemium
- Platforms
- API, CLI
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 2 days ago
About EU E-Invoice API
EU E-Invoice API is a freemium MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
Behind the server is a REST API for e-invoices with four jobs: validate, parse to normalised EN 16931 JSON, generate from that JSON, and preview against the next published ruleset. It reports each finding with a rule ID, severity, message and XPath, and generated invoices are validated before they are returned.
Formats include XRechnung (UBL and CII), ZUGFeRD and Factur-X, Peppol BIS Billing 3.0, FatturaPA, CIUS-RO, HR-CIUS and Poland's KSeF FA(3). Rules come from the official publishers such as KoSIT, CEN, FeRD, FNFE-MPE and OpenPeppol, with PDF/A-3 checked by veraPDF. The site says processing happens in memory on servers in Germany and nothing is stored. It validates only; sending through Peppol, SDI or KSeF is left to your provider. The MCP package runs locally over stdio and needs an API key.
Install
Run in a terminal
claude mcp add mcp --env EINVOICE_API_BASE_URL='<EINVOICE_API_BASE_URL>' --env EINVOICE_API_KEY='<EINVOICE_API_KEY>' -- npx -y @einvoiceapi/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@einvoiceapi/mcp"
],
"env": {
"EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
"EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@einvoiceapi/mcp"
],
"env": {
"EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
"EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@einvoiceapi/mcp"
],
"env": {
"EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
"EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@einvoiceapi/mcp"
],
"env": {
"EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
"EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@einvoiceapi/mcp"
],
"env": {
"EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
"EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
}
}
}
}Configuration
EINVOICE_API_BASE_URLAPI base URL (the gateway shown in the developer portal)RequiredEINVOICE_API_KEYYour API key from the developer portal (free plan available)Required
What it does
- Rule-level validation
- Each finding carries a rule ID, severity, message and XPath.
- Parse to JSON
- Returns invoices as normalised EN 16931 JSON with recalculated totals.
- Generate from JSON
- Produces XRechnung, ZUGFeRD, Peppol BIS, FatturaPA or KSeF output that is validated first.
- Ruleset preview
- Checks invoices against an upcoming ruleset before it becomes binding.
- No storage
- Invoices are processed in memory and not written to disk or logged.
Good for
- Check a received XRechnung before booking it
- Convert incoming invoices from several countries to one JSON model
- Generate a ZUGFeRD PDF from billing data
- Test invoices against next year's rules
Pricing
Freemium
Free plan of 100 documents per month; paid plans available, prices not published
Prices change. Check einvoice-api.eu before you buy.
EU E-Invoice API FAQ
Is there a free plan?
Yes, 100 documents a month, and the site also offers a free browser check of 5 files per day.
Does it send invoices?
No. It validates, reads and generates only; delivery via Peppol, SDI, KSeF or a French platform is up to your provider.
What do I need to run the MCP server?
An API key from the developer portal and the API base URL, run as an npm package over stdio.
Where is data processed?
On servers in Germany, in memory only, according to the site.
Is EU E-Invoice API free?
EU E-Invoice API has a free plan, with paid plans for more usage or features.
How do I add EU E-Invoice API to Claude Code?
Run this command in your terminal: claude mcp add mcp --env EINVOICE_API_BASE_URL='<EINVOICE_API_BASE_URL>' --env EINVOICE_API_KEY='<EINVOICE_API_KEY>' -- npx -y @einvoiceapi/mcp
What are the best alternatives to EU E-Invoice API?
The closest alternatives to EU E-Invoice API are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to EU E-Invoice API

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools