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 分

    請在儲存庫或註冊中心條目中宣告授權條款。