Invoice & Payment ID Validator

dev.workers.mohamed-bahaa53000.invoice-validator由 invoice-validator.mohamed-bahaa53000.workers.dev 发布官方发布者v1.2.1更新于 Oct 26, 2026

Pay/review/hold verdict for invoice payees: cross-checks IBAN, BIC, VAT, EIN. Paid: RapidAPI

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

概览

AI 生成的概览

远程 MCP 服务器,用于校验发票收款方的银行与税号信息,并在付款前给出 pay、review 或 hold 结论。

可以做什么
  • 对发票收款方给出 pay/review/hold 结论、风险评分和原因,并交叉核对 IBAN、BIC、VAT 与 EIN 及供应商所在国家
  • 校验 IBAN(mod-97 校验位、各国长度、SEPA 成员)与 BIC/SWIFT 代码,并可检查 BIC 与 IBAN 的国家是否一致
  • 离线校验欧盟 VAT 号,可选查询欧盟 VIES 注册库获取注册状态、公司名称和地址
  • 校验英国 VAT 号与美国 EIN 的格式、校验位或前缀
  • 仅在付费端点支持一次批量校验多个标识符
适用场景
适用于应付账款与财务流程:在付款批次前让助手核对供应商银行与税号、识别“变更银行账户”类欺诈模式,或在供应商入驻时确认 VAT 注册状态。
运行要求
需要一个远程 Streamable HTTP 端点,无需本地安装。免费演示端点无需密钥,但每个 IP 每 UTC 日限 10 次工具调用。付费 RapidAPI 端点需要 X-RapidAPI-Key 与 X-RapidAPI-Host 请求头,提供免费 Basic 套餐与付费 Pro 套餐。仅支持 stdio 的客户端可通过 npx mcp-remote 桥接。
安装前请注意
RapidAPI 端点需要 X-RapidAPI-Key 密钥请求头,超出免费套餐后按请求计费;另有 x402 方式从 USDC 钱包按次付费。校验只检查格式与校验位,不能证明账户属于某家公司。live=true 时 VAT 号会发送至欧盟 VIES 注册库。输入内容可能出现在常规请求日志中。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "invoice-payment-id-validator": {
      "type": "http",
      "url": "https://invoice-validator.mohamed-bahaa53000.workers.dev/demo/mcp"
    }
  }
}

README

Invoice & Payment ID Validator — remote MCP server

For accounts-payable and finance teams: before you pay an invoice, get a pay, review or hold verdict on the supplier's bank and tax details.

1. Connect (free, no key; works in Claude Desktop, Cursor, Cline, VS Code and any client that supports remote Streamable HTTP):

json
{  "mcpServers": {    "invoice-validator": {      "url": "https://invoice-validator.mohamed-bahaa53000.workers.dev/demo/mcp"    }  }}

2. Ask: "Should I pay this Irish supplier's invoice? VAT IE6388047V, IBAN DE89370400440532013000, EUR." Your agent calls:

json
{"name":"check_invoice_payee","arguments":{"vat":"IE6388047V","iban":"DE89370400440532013000","supplier_country":"IE","currency":"EUR"}}

3. Get (real output from the free demo endpoint, trimmed):

json
{"verdict":"hold","risk_score":45, "summary":"Hold payment: Supplier is in IE but wants payment to a DE bank account: the classic changed-bank-details fraud pattern. Confirm by phone using a known number.", "reasons":[{"code":"iban_country_differs_from_supplier","severity":"high"}], "checks":{"iban":{"valid":true,"country":"DE","sepa":true},"vat":{"valid":true,"country":"IE"}}}

Both IDs are valid on their own. The mismatch between them is what triggers the hold.

What makes it different

Most IBAN/VAT APIs check each number on its own: "this IBAN is well-formed". That misses the real invoice-fraud signal, which is a mismatch between numbers that are each valid:

  • Changed bank details: your German supplier's invoice asks for payment to a Dutch or Lithuanian account. Every ID is valid; the verdict is hold.
  • BIC from a different country than the IBAN: the two don't belong to the same account.
  • VAT registered to someone else: with live=true, the VIES-registered company name is compared with the supplier name.
  • Unregistered VAT, test BICs, EUR invoices paid to non-SEPA accounts.

It is also MCP-native with a free, keyless demo endpoint, so an agent can try it in one config line. Single-ID validators are included too.

No-code version

Not building an agent? The same checks come in ready-made tools:

Try it free

  • No key, right now: point any MCP client at https://invoice-validator.mohamed-bahaa53000.workers.dev/demo/mcp (10 tool calls per IP per day).
  • Free RapidAPI plan: 100 requests/month on the Basic plan, no card needed. Pro is $10 for 10,000.
  • Pay per call, no account (x402): agents with a USDC wallet on Base can pay $0.01 per call at https://invoice-validator.mohamed-bahaa53000.workers.dev/x402/v1/payee-check (also /x402/v1/iban, /bic, /vat/eu, /vat/gb, /ein). GET /x402 shows the terms; an unpaid call returns HTTP 402 with the payment requirements.

This is a hosted (remote) MCP server using Streamable HTTP. There is nothing to install or run locally, and this repository holds documentation and the MCP Registry manifest only. The server code is not open source.

EndpointAuthLimits
https://invoice-validator.mohamed-bahaa53000.workers.dev/demo/mcpnonefree, 10 tool calls per IP per UTC day, no batch
https://invoice-payment-id-validator.p.rapidapi.com/mcpX-RapidAPI-Key + X-RapidAPI-Host headerspaid per request via RapidAPI (free Basic plan available)

Official MCP Registry name: dev.workers.mohamed-bahaa53000.invoice-validator/invoice-payment-id-validator

Tools

  • check_invoice_payee: pay / review / hold verdict, risk score, reasons, and per-ID results. Inputs (all optional, at least one ID): iban, bic, vat, ein, supplier_country, supplier_name, currency, live.
  • validate_iban: mod-97 checksum, length for its country (100+ countries), SEPA membership; returns normalized/formatted IBAN, country, BBAN, bank/branch/account parts where known, or machine-readable error codes.
  • validate_bic: BIC/SWIFT structure (8 or 11 chars), ISO country, test-BIC flag; pass iban to check the BIC country matches the IBAN country.
  • validate_eu_vat: EU VAT ID (27 member states + XI) format and check digit offline; live=true also queries EU VIES for registration status, name and address (VIES failures return vies.checked=false, never a false "invalid").
  • validate_gb_vat: UK VAT number format, types and HMRC mod-97 / 9755 checksum.
  • validate_ein: US EIN 9-digit format and valid IRS campus prefix (EINs have no check digit, so this catches typos and fake prefixes, not every invalid number).
  • validate_batch: many identifiers in one call (paid endpoint only).

Use cases

  • Accounts-payable agents: run check_invoice_payee on every invoice and only auto-pay pay verdicts.
  • Accounts-payable agents: verify supplier IBAN/BIC and VAT IDs before approving a payment run.
  • Catch IBAN typos and BIC/IBAN country mismatches (a common fraud signal).
  • Vendor onboarding: confirm an EU VAT ID is registered in VIES.

Connect

Claude Desktop / Cursor / Cline / VS Code (any client that supports remote Streamable HTTP servers):

json
{  "mcpServers": {    "invoice-validator": {      "url": "https://invoice-validator.mohamed-bahaa53000.workers.dev/demo/mcp"    }  }}

Paid / production (RapidAPI):

json
{  "mcpServers": {    "invoice-validator": {      "url": "https://invoice-payment-id-validator.p.rapidapi.com/mcp",      "headers": {        "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",        "X-RapidAPI-Host": "invoice-payment-id-validator.p.rapidapi.com"      }    }  }}

For clients that only support stdio: npx -y mcp-remote https://invoice-validator.mohamed-bahaa53000.workers.dev/demo/mcp

Notes

  • Stateless. Inputs aren't stored beyond standard request logs.
  • Validation checks format and checksums (plus VIES when live=true). It doesn't prove an account belongs to a given company.
  • VIES has maintenance windows and per-country outages. When a live lookup fails you get vies.checked=false (and an info-level vies_unavailable flag in check_invoice_payee), never "invalid". Treat that as "not checked yet": keep the invoice on review and retry the lookup later (for example after 15 to 60 minutes) instead of rejecting it.
  • A valid IBAN can still belong to a fraudster. If a known vendor's bank details change, confirm the change by phoning them on a number you already had, not one printed on the new invoice.

来源:README.md,提交 b7eee80

工具

6

check_invoice_payee

Check an invoice payee (pay / review / hold)

One call before paying a supplier: validates the IBAN, BIC, VAT (EU or UK) and EIN on the invoice AND cross-checks them against each other and the supplier's country, then returns verdict pay / review / hold with plain-English reasons. Catches the changed-bank-details fraud pattern (e.g. a German supplier asking to be paid into a foreign account), BIC/IBAN country mismatches, unregistered VAT numbers, and (with live=true) a VIES-registered company name that doesn't match the supplier name. Pass whatever the invoice has; only one field is needed.

输入参数biceinvatibanlivecurrencysupplier_namesupplier_country

validate_iban

Validate IBAN

Validate an International Bank Account Number: mod-97 checksum, length for its country (100+ countries), SEPA membership. Returns the normalized and formatted IBAN, country and BBAN, or machine-readable error codes. Use before paying an invoice or saving supplier bank details.

输入参数value必填

validate_bic

Validate BIC / SWIFT

Validate a BIC/SWIFT code (8 or 11 chars): structure, ISO country, test-BIC flag. Pass the IBAN too and it checks that the BIC country matches the IBAN country (a common fraud/typo signal).

输入参数ibanvalue必填

validate_eu_vat

Validate EU VAT number

Validate an EU VAT ID (27 member states + XI): format and check digit offline. Set live=true to also query the EU VIES registry for registration status, company name and address (slower, may be throttled; failures return vies.checked=false, never a false 'invalid').

输入参数livevalue必填

validate_gb_vat

Validate UK VAT number

Validate a UK (GB) VAT registration number: format, branch/government/health-authority types, and the HMRC mod-97 / 9755 checksum.

输入参数value必填

validate_ein

Validate US EIN

Validate a US Employer Identification Number: 9-digit format and a valid IRS campus prefix. EINs have no check digit, so this catches typos and fake prefixes, not every invalid number.

输入参数value必填

版本历史

3
  1. v1.2.1最新Oct 18, 2026
  2. v1.2.0Oct 18, 2026
  3. v1.1.0Oct 18, 2026

评分

已满足适用检查项的 90%

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

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

    请在仓库或注册中心条目中声明许可证。