Skip to main content
Glama
einvoice-api MCP

einvoice-api MCP

Official
by einvoiceapi

EU E-Invoice API: examples and MCP server

Client code for the EU E-Invoice API, a REST API that validates, parses and generates EU e-invoices: XRechnung, ZUGFeRD / Factur-X, Peppol BIS Billing 3.0, the French rules BR-FR, CIUS-RO, HR-CIUS, FatturaPA, KSeF FA(3) and plain EN 16931.

Folder

What it is

examples/

Copy-paste examples in curl, Python, TypeScript, Java and C#

mcp-server/

MCP server for AI assistants and agents, on npm as @einvoiceapi/mcp

gemini-extension.json, GEMINI.md

Gemini CLI extension: gemini extensions install https://github.com/einvoiceapi/einvoice-api

context7.json

Rules for coding agents (Context7)

Get an API key in the developer portal (Free plan: 100 documents a month, no payment details) and set it as EINVOICE_API_KEY. Never commit it: keep it in the environment or a local .env file (ignored here).

npx -y @einvoiceapi/mcp

Documentation for developers and coding agents: https://einvoice-api.eu/llms.txt, OpenAPI: https://einvoice-api.eu/openapi.json, every validation rule: https://einvoice-api.eu/rules/

This repository is published from the API's own repository; changes made here are overwritten. The API is self-service and comes without personal support, so issues are switched off. The code is MIT-licensed (LICENSE); using the API is subject to its terms (https://einvoice-api.eu/agb.html).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for German e-invoice compliance (XRechnung 3.0 & ZUGFeRD 2.x) enabling AI agents to validate, generate, parse, and check compliance of electronic invoices per EN 16931.
      6
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      InvoiceXML brings e-invoice compliance to your AI agent. Create, validate, convert, render, and extract structured invoices across UBL (Peppol BIS Billing 3.0, used worldwide), CII, Factur-X, ZUGFeRD, and XRechnung, all checked against the EN 16931 standard and official Schematron rules. Ask your assistant to generate a compliant invoice, validate one for errors, or convert between formats, with n
      5
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Validates EU electronic invoices (Peppol, XRechnung, FatturaPA, etc.) and explains validation error codes, enabling AI coding agents to check invoice validity and get fixes before rejection.
      3
      46 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to locally parse, validate, audit, explain, generate, and convert XRechnung and ZUGFeRD/Factur-X e-invoices using official rule sets, fully offline with no API keys required.
      Apache 2.0