# Electronic Invoice API [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://electronic-invoice.app/  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/electronic-invoice-api

## Description
Validate, generate, convert and extract EN 16931 e-invoices for businesses.

## Tools
Capabilities this server exposes over MCP:

- **validate_invoice** — Validate an existing e-invoice file without changing it. Accepts UBL Invoice/CreditNote XML, UN/CEFACT CII XML, FatturaPA or KSeF FA(3) XML, or a ZUGFeRD/Factur-X/XRechnung PDF. Returns verdict, findings and rule set versions. Checks: XRechnung 3.0 (UBL, CII), EN 16931 (UBL, CII), Peppol BIS Billing 3.0 (UBL), Netherlands NLCIUS (SI-UBL 2.0, CII), Romania CIUS-RO, French CIUS rules when country is FR, and ZUGFeRD/Factur-X PDF or CII in all profiles (MINIMUM, BASIC WL, BASIC, EN16931, EXTENDED). Other EN 16931 CIUS are checked against the EN 16931 core rules only, and the result notes that national rules were not checked. Italy FatturaPA and Poland KSeF FA(3) are checked against the official schema only. A PDF is also checked as a PDF/A-3 container, but only if the PDF itself is sent. Checks an existing file; it does not create, convert or change invoices. B2B only. Requires the caller's own Electronic Invoice API key, sent either directly as Authorization: Bearer eia_live_... or through an OAuth 2.1 access token issued by this server. A call that reaches the API and returns 200, 400, 422 or 504 counts against the plan quota.
- **generate_invoice** — Create a new e-invoice file from structured JSON. Builds XRechnung UBL/CII or a ZUGFeRD/Factur-X PDF, validates the result with the same rule sets, and returns the file only if it is valid. Creates new files only; it does not read or change existing files. Supports invoice, credit note, corrected, partial and final invoices, prepayments, and an optional EPC payment QR page for PDF output. B2B only. Requires the caller's own Electronic Invoice API key, sent either directly as Authorization: Bearer eia_live_... or through an OAuth 2.1 access token issued by this server. A call that reaches the API and returns 200, 400, 422 or 504 counts against the plan quota.
- **convert_invoice** — Convert an existing e-invoice from UBL to CII, CII to UBL, or XML to a ZUGFeRD/Factur-X PDF. Also accepts a ZUGFeRD/Factur-X PDF and converts its embedded XML. Validates every output and returns it only if valid. Changes format or container only; it does not create invoices from data or extract data. Supported profiles are EN 16931 and XRechnung 3.0; other profiles return 422 unsupported_profile. Other formats are not converted. B2B only. Requires the caller's own Electronic Invoice API key, sent either directly as Authorization: Bearer eia_live_... or through an OAuth 2.1 access token issued by this server. A call that reaches the API and returns 200, 400, 422 or 504 counts against the plan quota.
- **extract_invoice** — Read data from an existing UBL/CII XML or ZUGFeRD/Factur-X PDF. Returns JSON business terms keyed by BT/BG numbers, CSV with one row per line, or a DATEV Buchungsstapel (EXTF). Does not validate the invoice. Suited to accounting import or data analysis. Supports UBL, CII and ZUGFeRD/Factur-X only. DATEV export has hard limits: EUR only, one invoice per file, issue date inside the fiscal year, and no booking of prepayments, rounding or Skonto. DATEV output is written to the documented layout and was not tested against a DATEV installation. B2B only. Requires the caller's own Electronic Invoice API key, sent either directly as Authorization: Bearer eia_live_... or through an OAuth 2.1 access token issued by this server. A call that reaches the API and returns 200, 400, 422 or 504 counts against the plan quota.
- **open_invoice_check** — Open an upload field in the chat where the user chooses an invoice PDF or XML file. The file goes straight from the field to this server's validation without passing through the model, so a PDF is checked as a whole, including its PDF/A-3 container, and the validation runs on the KoSIT validator. For clients that cannot pass a file as a tool argument. Opening the field is free, and a check counts against the user's quota only once they press the button. This tool needs no input and checks nothing by itself. B2B only.
- **get_service_status** — Check whether the Electronic Invoice API is up and which rule set versions it currently runs. Calls GET /v1/health without an API key. Free, not billable, works without an account. B2B only. It reports service health only, not whether a specific API key or quota is valid.
- **get_usage_limits** — Return the technical limits of the Electronic Invoice API: rate limits, concurrency limits, request body size limits, and which HTTP status codes count against the quota. Works without an API key and does not call the API. B2B only. Information about plans is at https://electronic-invoice.app/en/api/.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "electronic-invoice-api": {
    "url": "https://mcp.electronic-invoice.app/mcp"
  }
}
```

## Documentation

## What Electronic Invoice API does

Electronic Invoice API exposes seven MCP tools for B2B electronic invoicing. Four operate on invoice content:

- `validate_invoice` checks an existing XML or PDF invoice and returns the validation verdict, findings, and rule-set versions.
- `generate_invoice` creates a new invoice from structured JSON and returns the generated file only when validation succeeds.
- `convert_invoice` changes an existing invoice between UBL, CII, and ZUGFeRD/Factur-X PDF formats, validating the result before returning it.
- `extract_invoice` reads business terms from an invoice and can return JSON, line-oriented CSV, or a DATEV Buchungsstapel (EXTF).

`open_invoice_check` provides an upload field for clients that cannot pass a local file directly. The selected PDF or XML is sent to validation without being passed through the model. `get_service_status` checks API availability and active rule-set versions without authentication. `get_pricing_and_limits` explains plans, quotas, rate limits, concurrency limits, billable status codes, and body-size limits without making an API call.

## How it works

The processing tools use the caller's own Electronic Invoice API credentials. Authentication can be supplied as an `Authorization: Bearer eia_live_...` key or through an OAuth 2.1 access token issued by Electronic Invoice API. The health and pricing tools do not require an API key.

Validation covers EN 16931 and the XRechnung 3.0 CIUS. When the complete PDF is supplied, PDF/A-3 container checks are included. Generated and converted files are returned only after they pass the applicable validation. Conversion supports UBL-to-CII, CII-to-UBL, and XML-to-ZUGFeRD/Factur-X PDF workflows, including extraction of embedded XML from a ZUGFeRD or Factur-X PDF.

## Setup and configuration

Provide an Electronic Invoice API key for `validate_invoice`, `generate_invoice`, `convert_invoice`, and `extract_invoice`, either directly in the authorization header or through the service's OAuth 2.1 flow. `open_invoice_check` requires no input and opens the upload control; the actual check occurs when the user submits a file.

Calls to the four billable processing tools that reach the API and return status 200, 400, 422, or 504 count against the plan quota. The upload field itself is free until the user starts the check. Use `get_pricing_and_limits` for published plan and quota information.

## Tools and capabilities

- Validate UBL Invoice/CreditNote XML, UN/CEFACT CII XML, and ZUGFeRD/Factur-X/XRechnung PDF files.
- Generate XRechnung UBL or CII and ZUGFeRD/Factur-X PDF invoices from structured JSON.
- Create invoice, credit note, corrected, partial, final, and prepayment documents; PDF generation can include an EPC payment QR page.
- Convert between supported XML syntaxes and create ZUGFeRD/Factur-X PDF containers.
- Extract BT/BG-keyed JSON, CSV lines, or DATEV EXTF output.
- Check service status and retrieve pricing or operational limits without credentials.

## Limitations and notes

The tools are intended for B2B invoices. Conversion supports EN 16931 and XRechnung 3.0 profiles; other profiles produce an `unsupported_profile` response. Validation should be used to inspect an existing file, generation to create a new one, conversion to change format or container, and extraction to read accounting data. Extraction does not validate an invoice.

DATEV output is limited to EUR, one invoice per file, an issue date within the fiscal year, and no bookings for prepayments, rounding, or Skonto. Its layout has not been tested against a DATEV installation. For clients that can pass a file to `validate_invoice`, use that path instead of `open_invoice_check`. Never encode a file as base64 for the upload workflow.

_Full upstream README: https://allmcps.com/mcp/electronic-invoice-api/readme_

