Serveur MCP

Invoice Duplicate Recovery

com.mcpscores/invoice-duplicate-recovery

Ce que fait ce MCP

Identifies invoice overpayments from supplied invoices, payments, and credits and produces evidence for vendor credit review.

invoice_duplicate_recovery
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.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', 'anyOf': [{'required': ['invoices'], 'properties': {'invoices': {'minItems': 1}}}, {'required': ['payments'], 'properties': {'payments': {'minItems': 1}}}, {'required': ['credits'], 'properties': {'credits': {'minItems': 1}}}], 'required': ['invoices', 'payments'], 'properties': {'credits': {'type': 'array', 'items': {'type': 'object', 'required': ['credit_id', 'payment_id', 'amount'], 'properties': {'amount': {'type': 'string', 'pattern': '^(0|[1-9]\\d{0,14})(\\.\\d{1,6})?$'}, 'credit_id': {'type': 'string', 'maxLength': 128, 'minLength': 1}, 'payment_id': {'type': 'string', 'maxLength': 128, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 1000}, 'invoices': {'type': 'array', 'items': {'type': 'object', 'required': ['vendor_id', 'invoice_id', 'currency', 'minor_unit_digits', 'amount'], 'properties': {'amount': {'type': 'string', 'pattern': '^(0|[1-9]\\d{0,14})(\\.\\d{1,6})?$', 'description': 'Canonical non-negative decimal string, exact, no rounding.'}, 'currency': {'type': 'string', 'pattern': '^[A-Z]{3}$'}, 'vendor_id': {'type': 'string', 'maxLength': 128, 'minLength': 1}, 'invoice_id': {'type': 'string', 'maxLength': 128, 'minLength': 1}, 'minor_unit_digits': {'type': 'integer', 'maximum': 6, 'minimum': 0}}, 'additionalProperties': False}, 'maxItems': 500}, 'payments': {'type': 'array', 'items': {'type': 'object', 'required': ['payment_id', 'vendor_id', 'invoice_id', 'currency', 'amount'], 'properties': {'amount': {'type': 'string', 'pattern': '^(0|[1-9]\\d{0,14})(\\.\\d{1,6})?$'}, 'currency': {'type': 'string', 'pattern': '^[A-Z]{3}$'}, 'vendor_id': {'type': 'string', 'maxLength': 128, 'minLength': 1}, 'invoice_id': {'type': 'string', 'maxLength': 128, 'minLength': 1}, 'payment_id': {'type': 'string', 'maxLength': 128, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 1000}}, 'additionalProperties': False}
Ajouté
invoice_duplicate_recovery
17 September 2026 12:36