
Eleata e-Invoice Validator
io.github.hernaninverso由 GitHub 账号 hernaninverso 发布v0.1.1更新于 Oct 24, 2026
Validate EU e-invoices (Peppol, XRechnung, Factur-X, UBL, CII) and explain error codes.
概览
让 AI 助手校验欧盟电子发票(Peppol、XRechnung、Factur-X、UBL、CII)并解释校验错误码。
- 可以做什么
- 该服务器提供三个工具。validate_einvoice 依据官方 Schematron 规则校验单张发票,覆盖 Peppol BIS 3.0、EN 16931 UBL/CII、XRechnung 3.0.x、Factur-X/ZUGFeRD、UBL 和 CII,返回有效或无效,并给出每条规则编号、说明和修复建议。list_formats 列出当前支持及规划中的格式。explain_error_code 用通俗语言解释单个错误码(如 00400、BR-DE-21)并给出修复方法,使用内置的离线参考。
- 适用场景
- 适合在提交前确认发票文件是否有效,或需要理解并修正 SdI、Chorus Pro、KSeF 等平台的拒收原因时使用。面向处理欧盟发票格式的开发人员以及财务或电子发票相关人员。
- 运行要求
- 以 stdio 方式在本地运行,通常通过 npx 启动,因此需要 Node.js。validate_einvoice 需要在环境变量 EINVOICE_API_KEY 中提供免费 API 密钥;另外两个工具无需密钥。校验会调用 eleata 托管 API,因此需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Eleata e-Invoice Validator,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
eleata e-invoice MCP server
Validate EU electronic invoices and explain validation error codes directly from your AI coding agent (Claude, Cursor, Copilot, …). It wraps the hosted eleata validation API plus a bundled offline error-code reference.
Never ship a broken invoice. When you ask your agent "is this FatturaPA / XRechnung / Peppol file valid?", it runs the official Schematron rules and gets back the rule id and the fix — before a rejection (an SdI scarto, a Chorus Pro refusal, a KSeF error) ever happens.
Tools
Setup
- Get a free API key (200 validations/month, no card) at https://eleata.io/signup/.
- Add the server to your agent's MCP config.
Claude Desktop / Claude Code (claude_desktop_config.json or .mcp.json)
Cursor (~/.cursor/mcp.json)
Same block as above.
Example prompts
- "Validate this XRechnung file and tell me what to fix" (paste the XML)
- "What does FatturaPA error 00400 mean and how do I fix it?"
- "Which e-invoice formats can you validate today?"
Privacy
validate_einvoice sends the invoice you pass to the hosted eleata API for validation. list_formats
and explain_error_code are local/offline (the error-code reference is bundled). See
https://eleata.io/privacy/.
Links
- Web validator, CLI and GitHub Action: https://eleata.io
- Error-code reference: https://eleata.io/error/
- CLI (
npx @eleata/validate-einvoice): same API, for CI/CD
MIT licensed. Schematron engines: Mustang / phive. Schematron rules from CEN, OpenPeppol, KoSIT.
来源:README.md,提交 58e280b
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。