Electronic Invoice API

app.electronic-invoice由 electronic-invoice.app 发布官方发布者v0.2.0更新于 Nov 6, 2026

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

已验证Streamable HTTP可网页运行金融商业与电商

概览

AI 生成的概览

面向 B2B 电子发票的远程 MCP 服务器:校验、生成、转换与提取 EN 16931 XML 及 ZUGFeRD/Factur-X PDF 发票。

可以做什么
  • 按 XRechnung、EN 16931、Peppol BIS、NLCIUS、CIUS-RO、FatturaPA、KSeF 及 ZUGFeRD/Factur-X 规则集校验现有电子发票,返回结论与问题清单
  • 根据结构化 JSON 生成 XRechnung UBL/CII 或 ZUGFeRD/Factur-X PDF 发票,并在返回前完成校验
  • 在 UBL、CII 与 ZUGFeRD/Factur-X PDF 容器之间转换发票
  • 从现有 XML 或 PDF 发票中提取业务术语(BT/BG)、CSV 明细行或 DATEV 记账批次
  • 在对话中打开上传框,让文件不经模型直接进入校验
  • 查询服务健康状态、规则集版本以及速率与并发限制
适用场景
适合需要检查供应商发票是否合规、依据结构化数据开具合规电子发票,或为记账导入在 UBL、CII 与 PDF 之间转换格式的场景。面向企业(B2B)用户,不面向个人消费者。
运行要求
远程 streamable HTTP 端点,无需本地安装。发票相关工具需要 API 密钥,可通过 Authorization Bearer 请求头或服务器签发的 OAuth 2.1 令牌提供。健康状态与用量限制工具无需密钥或账号。
安装前请注意
API 密钥属于凭据,不要放入 URL、工具名称或错误报告中。发票内容会发送至服务商的 API,服务器声明不会存储。生成与转换的文件仅在通过校验时返回,结果不构成法律、税务或会计建议。存在速率与配额限制,quota_exceeded 不可重试。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Electronic Invoice API,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/app.electronic-invoice%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "electronic-invoice-api": {
      "type": "http",
      "url": "https://mcp.electronic-invoice.app/mcp"
    }
  }
}

工具

7

validate_invoice

Validate e-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. This is the tool for checking an existing file before sending it or for inspecting one. To create an invoice use generate_invoice, to change the format use convert_invoice, to read accounting data use extract_invoice. 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.

输入参数filecheckscontentcountryfilenamecontentTypecontentBase64

generate_invoice

Generate e-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. Use this when no invoice file exists yet. Do not use it to validate an existing file (use validate_invoice) or to change an existing file's syntax (use convert_invoice). 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.

输入参数qrlangformat必填countryinvoice必填

convert_invoice

Convert e-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. Use this for a format or container change. Do not use it to create an invoice from data (use generate_invoice), to validate only (use validate_invoice), or to extract data (use extract_invoice). Supported profiles are EN 16931 and XRechnung 3.0; other profiles return 422 unsupported_profile. The wider format coverage of validate_invoice does not apply to conversion. 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.

输入参数qrto必填filelangcontentcountryprofilefilenamecontentTypecontentBase64

extract_invoice

Extract e-invoice data

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 (validate_invoice does). Suited to accounting import or data analysis. The wider format coverage of validate_invoice does not apply to extraction. 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.

输入参数fileformatlabelscontentfilenamedelimiterdatevLabelattachmentscontentTypedatevClientdatevDueDatecontentBase64另有 8 个

open_invoice_check

Open invoice file 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 validate_invoice 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 to validate_invoice directly. 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. Clients with a file parameter on validate_invoice can pass the file there. B2B only.

无需输入参数。

get_service_status

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

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/.

无需输入参数。

版本历史

2
  1. v0.2.0最新Nov 6, 2026
  2. v0.1.0Nov 5, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。