Invoice Table
Review invoice records, flag duplicates, validate totals, and prepare spreadsheet-safe CSV.
我该使用它吗
质量与安全性
A
基于对工具定义和协议合规性的自动分析。
上下文开销
~1,500token 数(工具定义)
~5.6 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.17%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"invoice-table": {
"url": "https://invoicetable.app/api/mcp"
}
}
}远程端点
https://invoicetable.app/api/mcpstreamable-http它能做什么
工具清单
工具(3)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢analyze_invoice_text(documents)
Extract common invoice fields from user-supplied text, check dates and subtotal-plus-tax arithmetic, flag likely duplicates, and return a review queue. Human source review is required.
输入模式
{
"type": "object",
"properties": {
"documents": {
"type": "array",
"minItems": 1,
"maxItems": 25,
"items": {
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"filename",
"text"
],
"additionalProperties": false
}
}
},
"required": [
"documents"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"vendor": {
"type": [
"string",
"null"
]
},
"invoiceNumber": {
"type": [
"string",
"null"
]
},
"invoiceDate": {
"type": [
"string",
"null"
]
},
"dueDate": {
"type": [
"string",
"null"
]
},
"poNumber": {
"type": [
"string",
"null"
]
},
"currency": {
"type": [
"string",
"null"
]
},
"subtotal": {
"type": [
"number",
"null"
]
},
"tax": {
"type": [
"number",
"null"
]
},
"total": {
"type": [
"number",
"null"
]
},
"category": {
"type": "string"
},
"duplicate": {
"type": "boolean"
},
"duplicateOf": {
"type": [
"string",
"null"
]
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"confidence": {
"type": "number"
},
"valid": {
"type": "boolean"
},
"reviewStatus": {
"type": "string",
"enum": [
"ready",
"review",
"blocked",
"duplicate"
]
},
"reviewReasons": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"filename",
"category",
"duplicate",
"issues",
"warnings",
"confidence",
"valid",
"reviewStatus",
"reviewReasons"
],
"additionalProperties": true
}
},
"summary": {
"type": "object",
"properties": {
"invoiceCount": {
"type": "integer"
},
"readyCount": {
"type": "integer"
},
"reviewCount": {
"type": "integer"
},
"blockedCount": {
"type": "integer"
},
"duplicateCount": {
"type": "integer"
},
"arithmeticCheckedCount": {
"type": "integer"
},
"arithmeticMismatchCount": {
"type": "integer"
},
"accountingEligibleCount": {
"type": "integer"
},
"totalsByCurrency": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"invoiceCount",
"readyCount",
"reviewCount",
"blockedCount",
"duplicateCount",
"arithmeticCheckedCount",
"arithmeticMismatchCount",
"accountingEligibleCount",
"totalsByCurrency"
],
"additionalProperties": false
}
},
"required": [
"records",
"summary"
],
"additionalProperties": false
}🟢validate_invoice_records(records)
Recheck structured invoice records for missing fields, invalid dates, arithmetic mismatches, and likely duplicates without reading files.
输入模式
{
"type": "object",
"properties": {
"records": {
"type": "array",
"minItems": 1,
"maxItems": 1000,
"items": {
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"vendor": {
"type": [
"string",
"null"
]
},
"invoiceNumber": {
"type": [
"string",
"null"
]
},
"invoiceDate": {
"type": [
"string",
"null"
]
},
"dueDate": {
"type": [
"string",
"null"
]
},
"currency": {
"type": [
"string",
"null"
]
},
"subtotal": {
"type": [
"number",
"null"
]
},
"tax": {
"type": [
"number",
"null"
]
},
"total": {
"type": [
"number",
"null"
]
},
"category": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"required": [
"records"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"vendor": {
"type": [
"string",
"null"
]
},
"invoiceNumber": {
"type": [
"string",
"null"
]
},
"invoiceDate": {
"type": [
"string",
"null"
]
},
"dueDate": {
"type": [
"string",
"null"
]
},
"poNumber": {
"type": [
"string",
"null"
]
},
"currency": {
"type": [
"string",
"null"
]
},
"subtotal": {
"type": [
"number",
"null"
]
},
"tax": {
"type": [
"number",
"null"
]
},
"total": {
"type": [
"number",
"null"
]
},
"category": {
"type": "string"
},
"duplicate": {
"type": "boolean"
},
"duplicateOf": {
"type": [
"string",
"null"
]
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"confidence": {
"type": "number"
},
"valid": {
"type": "boolean"
},
"reviewStatus": {
"type": "string",
"enum": [
"ready",
"review",
"blocked",
"duplicate"
]
},
"reviewReasons": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"filename",
"category",
"duplicate",
"issues",
"warnings",
"confidence",
"valid",
"reviewStatus",
"reviewReasons"
],
"additionalProperties": true
}
},
"summary": {
"type": "object",
"properties": {
"invoiceCount": {
"type": "integer"
},
"readyCount": {
"type": "integer"
},
"reviewCount": {
"type": "integer"
},
"blockedCount": {
"type": "integer"
},
"duplicateCount": {
"type": "integer"
},
"arithmeticCheckedCount": {
"type": "integer"
},
"arithmeticMismatchCount": {
"type": "integer"
},
"accountingEligibleCount": {
"type": "integer"
},
"totalsByCurrency": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"invoiceCount",
"readyCount",
"reviewCount",
"blockedCount",
"duplicateCount",
"arithmeticCheckedCount",
"arithmeticMismatchCount",
"accountingEligibleCount",
"totalsByCurrency"
],
"additionalProperties": false
}
},
"required": [
"records",
"summary"
],
"additionalProperties": false
}🟢export_invoice_records(records)
Prepare reviewed invoice records as spreadsheet-safe CSV text. Invalid and duplicate rows remain visible in the review export.
输入模式
{
"type": "object",
"properties": {
"records": {
"type": "array",
"minItems": 1,
"maxItems": 1000,
"items": {
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"vendor": {
"type": [
"string",
"null"
]
},
"invoiceNumber": {
"type": [
"string",
"null"
]
},
"invoiceDate": {
"type": [
"string",
"null"
]
},
"dueDate": {
"type": [
"string",
"null"
]
},
"currency": {
"type": [
"string",
"null"
]
},
"subtotal": {
"type": [
"number",
"null"
]
},
"tax": {
"type": [
"number",
"null"
]
},
"total": {
"type": [
"number",
"null"
]
},
"category": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"required": [
"records"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"mediaType": {
"type": "string",
"const": "text/csv"
},
"csv": {
"type": "string"
},
"summary": {
"type": "object",
"properties": {
"invoiceCount": {
"type": "integer"
},
"readyCount": {
"type": "integer"
},
"reviewCount": {
"type": "integer"
},
"blockedCount": {
"type": "integer"
},
"duplicateCount": {
"type": "integer"
},
"arithmeticCheckedCount": {
"type": "integer"
},
"arithmeticMismatchCount": {
"type": "integer"
},
"accountingEligibleCount": {
"type": "integer"
},
"totalsByCurrency": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"invoiceCount",
"readyCount",
"reviewCount",
"blockedCount",
"duplicateCount",
"arithmeticCheckedCount",
"arithmeticMismatchCount",
"accountingEligibleCount",
"totalsByCurrency"
],
"additionalProperties": false
}
},
"required": [
"filename",
"mediaType",
"csv",
"summary"
],
"additionalProperties": false
}社区
证据
最近观测
已验证未记录版本3 个工具