Invoice Duplicate Recovery
Computes exact overpayments across caller-supplied approved invoices, payments, and recorded cred...
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"invoice-duplicate-recovery": {
"url": "https://mcp-factory.bowling-anthony.workers.dev/invoice-duplicate-recovery/mcp"
}
}
}Remote endpoints
https://mcp-factory.bowling-anthony.workers.dev/invoice-duplicate-recovery/mcpstreamable-httpWhat it can do
Tool inventory
Tools (1)
🟢invoice_duplicate_recovery(invoices, payments, credits)
Computes exact overpayments across caller-supplied approved invoices, payments, and recorded credits, and produces an evidence bundle for requesting vendor credit review. Never sends requests, never asserts legal refund entitlement, and never takes automatic financial action. Price: 0.05 USDC per completed bounded job on Base.
Input Schema
{
"type": "object",
"properties": {
"invoices": {
"type": "array",
"maxItems": 500,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"vendor_id",
"invoice_id",
"currency",
"minor_unit_digits",
"amount"
],
"properties": {
"vendor_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"invoice_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"minor_unit_digits": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9]\\d{0,14})(\\.\\d{1,6})?$",
"description": "Canonical non-negative decimal string, exact, no rounding."
}
}
}
},
"payments": {
"type": "array",
"maxItems": 1000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"payment_id",
"vendor_id",
"invoice_id",
"currency",
"amount"
],
"properties": {
"payment_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"vendor_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"invoice_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9]\\d{0,14})(\\.\\d{1,6})?$"
}
}
}
},
"credits": {
"type": "array",
"maxItems": 1000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"credit_id",
"payment_id",
"amount"
],
"properties": {
"credit_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"payment_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9]\\d{0,14})(\\.\\d{1,6})?$"
}
}
}
}
},
"required": [
"invoices",
"payments"
],
"additionalProperties": false,
"anyOf": [
{
"required": [
"invoices"
],
"properties": {
"invoices": {
"minItems": 1
}
}
},
{
"required": [
"payments"
],
"properties": {
"payments": {
"minItems": 1
}
}
},
{
"required": [
"credits"
],
"properties": {
"credits": {
"minItems": 1
}
}
}
]
}Community
Evidence