invoicehub

Validate, generate & convert EU e-invoices (UBL, CII, XRechnung, Factur-X) — EN 16931 pre-validated.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
79%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~888token 数(工具定义)
~767 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.69%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "invoicehub": {
      "url": "https://api.invoicehub.dev/mcp"
    }
  }
}

远程端点

https://api.invoicehub.dev/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢validate_invoice(xml)

Validate an EU e-invoice XML string against the official EN 16931 Schematron. Accepts either syntax — UBL 2.1 (Invoice or CreditNote) or UN/CEFACT CII — and auto-detects which. A document declaring the XRechnung 3.0 CustomizationID is additionally checked against KoSIT's XRechnung delta ruleset. Returns whether it is valid and any failing BR-* / BR-DE-* business rules.

输入模式

{
  "type": "object",
  "properties": {
    "xml": {
      "type": "string",
      "description": "Raw e-invoice XML (UBL 2.1 or UN/CEFACT CII)."
    }
  },
  "required": [
    "xml"
  ]
}
⚪generate_invoice(invoiceNumber, issueDate, dueDate, currency, seller, ...)

Generate an EN 16931-conformant UBL 2.1 invoice from structured fields. The result is self-validated before being returned. Provide seller, buyer, and at least one line; for standard-rated (category "S") lines include a vatRate and the seller vatId.

输入模式

{
  "type": "object",
  "properties": {
    "invoiceNumber": {
      "type": "string"
    },
    "issueDate": {
      "type": "string",
      "description": "ISO date, e.g. 2026-06-19."
    },
    "dueDate": {
      "type": "string"
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217, e.g. EUR."
    },
    "seller": {
      "type": "object"
    },
    "buyer": {
      "type": "object"
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "payment": {
      "type": "object"
    }
  },
  "required": [
    "invoiceNumber",
    "issueDate",
    "currency",
    "seller",
    "buyer",
    "lines"
  ]
}
🟢convert_invoice(from, to, document)

Convert an e-invoice between formats via the shared EN 16931 canonical model: parse the source document, re-serialize as the target, and validate the result before returning it — never a document that has not been checked. Format ids: "UBL_2.1" (OASIS UBL, the universal Peppol/EN16931 baseline), "UN_CEFACT_CII" (UN/CEFACT Cross Industry Invoice, required syntax for Chorus Pro/France and many ERP back-ends), "XRechnung_UBL" / "XRechnung_CII" (Germany's mandatory B2G format, XRechnung 3.0 — required for invoicing German public-sector buyers), "Factur-X" (France/Germany hybrid PDF+XML — a human-readable PDF/A-3 with the structured invoice embedded, common for French B2B). Binary formats (Factur-X) are base64 in both directions. Requires an API key on the Pro plan or above for any target beyond plain UBL_2.1 — call list_supported_formats to see current availability.

输入模式

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "Source format id, e.g. \"UBL_2.1\"."
    },
    "to": {
      "type": "string",
      "description": "Target format id, e.g. \"UN_CEFACT_CII\", \"XRechnung_UBL\", \"XRechnung_CII\", or \"Factur-X\"."
    },
    "document": {
      "type": "string",
      "description": "The source document: raw text for XML formats, base64 for binary formats (Factur-X)."
    }
  },
  "required": [
    "from",
    "to",
    "document"
  ]
}
🟢list_supported_formats

List the e-invoice formats InvoiceHub validates today and what is on the roadmap.

输入模式

{
  "type": "object",
  "properties": {}
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具
已验证未记录版本4 个工具