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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。