XRechnung Validator

Validate XRechnung XML and ZUGFeRD / Factur-X PDFs with the free checkxrechnung.com API.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
97%
命名の品質
93%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~871トークン数(ツール定義)
~2.0 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 0.68%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "xrechnung-validator": {
      "command": "npx",
      "args": [
        "xrechnung-validator-mcp"
      ]
    }
  }
}

実行可能なパッケージ

npmxrechnung-validator-mcp0.2.1stdio

リモートエンドポイント

https://checkxrechnung.com/mcpstreamable-http

できること

ツール一覧

ツール(3)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢validate_xrechnung(xml, file_base64, file_name)

Validate one XRechnung XML document (UBL or CII) or ZUGFeRD PDF with the official KoSIT validator. Provide exactly one of xml (the XML text) or file_base64. XML limit 5 MB. Free: 50 per IP per UTC day without a key, or 500 a month with a free API key. Files are not stored. Returns valid plus errors with rule_id and rule_url.

入力スキーマ

{
  "type": "object",
  "properties": {
    "xml": {
      "type": "string",
      "description": "XRechnung XML (UBL or CII) as text."
    },
    "file_base64": {
      "type": "string",
      "description": "An XML file or ZUGFeRD PDF, base64-encoded. Use this or xml."
    },
    "file_name": {
      "type": "string",
      "description": "Optional file name, e.g. invoice.pdf."
    }
  }
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "fileName": {
      "type": "string"
    },
    "syntax": {
      "type": "string"
    },
    "invoiceType": {
      "type": "string"
    },
    "persisted": {
      "type": "boolean"
    },
    "summary": {
      "type": "object",
      "properties": {
        "errors": {
          "type": "number"
        },
        "warnings": {
          "type": "number"
        }
      }
    },
    "versions": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule_id": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "hint": {
            "type": "string"
          },
          "rule_url": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "valid",
    "errors"
  ]
}
🟢validate_zugferd(file_base64, file_name)

Validate one ZUGFeRD or Factur-X PDF: PDF/A-3 basics, the embedded XML, the profile (MINIMUM, BASIC WL, BASIC, EN16931, EXTENDED, XRECHNUNG) and the EN 16931 CII Schematron. Send the PDF as file_base64 (limit 10 MB). Same free limit as validate_xrechnung (shared counter). Returns valid, profile, and errors with rule_id and rule_url.

入力スキーマ

{
  "type": "object",
  "properties": {
    "file_base64": {
      "type": "string",
      "description": "The PDF, base64-encoded."
    },
    "file_name": {
      "type": "string",
      "description": "Optional file name, e.g. invoice.pdf."
    }
  },
  "required": [
    "file_base64"
  ]
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "fileName": {
      "type": "string"
    },
    "profile": {
      "type": "string"
    },
    "embeddedName": {
      "type": "string"
    },
    "pdfa": {
      "type": "object"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule_id": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "hint": {
            "type": "string"
          },
          "rule_url": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "valid",
    "errors"
  ]
}
🟢extract_zugferd(file_base64, file_name)

Extract the embedded invoice XML and a JSON summary from a ZUGFeRD or Factur-X PDF. Send the PDF as file_base64 (limit 10 MB). Same free limit as validate_xrechnung (shared counter). ok means an XML attachment was found. The xml field is the raw document.

入力スキーマ

{
  "type": "object",
  "properties": {
    "file_base64": {
      "type": "string",
      "description": "The PDF, base64-encoded."
    },
    "file_name": {
      "type": "string",
      "description": "Optional file name, e.g. invoice.pdf."
    }
  },
  "required": [
    "file_base64"
  ]
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "fileName": {
      "type": "string"
    },
    "profile": {
      "type": "string"
    },
    "embeddedName": {
      "type": "string"
    },
    "summary": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "xml": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 3 件