# Invoice & Receipt Reconciler AI Agent Connect

> Invoice & Receipt Reconciler MCP automates the tedious three-way matching process between purchase orders, delivery receipts, and invoices. Your AI client uses this tool to spot quantity mismatches, price variances, and duplicate document IDs. It ensures your procurement data stays consistent from the initial order to the final payment.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_qwJVRzzs9XJwjylu04AKS5MOg2a9StsPRXlLVmE3/ai-agent-connect
- **Tags:** reconciliation, invoice, audit, procurement, accounting

## Description

You can stop manually cross-referencing spreadsheets to find billing errors. This MCP acts as an automated auditing engine for your procurement lifecycle. When you feed your purchase orders, delivery receipts, and invoices into your AI client, it performs a three-way match to ensure everything lines up. It looks for quantity discrepancies and price shifts that often slip through the cracks. 

Beyond simple matching, the tool handles the granular details that cause accounting headaches. It checks if units of measure stay consistent across different documents and flags any duplicate IDs that might lead to double payments. It even re-calculates invoice totals to catch math errors in the source documents. Instead of hunting for mistakes, you let your agent run the audit and report back the specific line items that don't match.

## Tools

### calculate_corrected_arithmetic
This tool re-calculates the expected total of an invoice. It verifies that line items, taxes, and discounts result in the correct final amount.

### find_duplicate_documents
This tool scans a set of documents to find matching unique identifiers. It flags any repeated IDs to prevent duplicate processing.

### reconcile_documents
This tool performs a three-way match between a Purchase Order, a Delivery Receipt, and an Invoice. It identifies variances in quantity or price across the three files.

### validate_unit_consistency
This tool checks the units of measure across your procurement documents. It ensures that items ordered in one unit are recorded correctly in others.

## Prompt Examples

**Prompt:** 
```
Reconcile this purchase order, delivery receipt, and invoice.
```

**Response:** 
```
The reconciliation is complete. The items match, but there is a quantity variance of 5 units on line item 2 and a price variance of $10.00 on line item 1.
```

**Prompt:** 
```
Check if these documents have any duplicate IDs.
```

**Response:** 
```
Duplicate IDs detected: Invoice ID 'INV-9901' appears twice in the provided set.
```

**Prompt:** 
```
Verify the arithmetic for this invoice.
```

**Response:** 
```
The expected total is $150.00 based on the line items, discounts, and taxes provided.
```

## Capabilities

### Three-way matching
Your agent compares POs, receipts, and invoices to find discrepancies.

### Duplicate detection
The tool flags identical document IDs to stop double payments.

### Arithmetic verification
Your AI client recalculates invoice totals to catch math errors.

### Unit consistency checks
The tool ensures units of measure remain the same throughout the order lifecycle.

### Variance reporting
Your agent identifies specific price and quantity mismatches in line items.

## Use Cases

### Vendor Invoice Auditing
Run a check on incoming vendor invoices against your original purchase orders to catch overcharges.

### Receiving Verification
Match delivery receipts to purchase orders to confirm you actually received what you paid for.

### Duplicate Payment Prevention
Scan a batch of new documents to ensure no invoice ID has been processed previously.

### Procurement Data Integrity
Verify that units of measure like 'cases' or 'units' don't shift between the order and the invoice.

## Benefits

- Identifies quantity and price variances automatically.
- Prevents double payments by flagging duplicate document IDs.
- Ensures unit of measure consistency across the supply chain.
- Catches mathematical errors in invoice totals.

## How It Works

Connect your AI client to Vinkius and start auditing in seconds.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Upload or provide the text/data from your PO, receipt, and invoice.
3. Ask your AI client to reconcile the documents or check for specific errors.
4. Review the specific variances or duplicate flags reported by your agent.

## Frequently Asked Questions

**What is three-way matching?**
It is a control process that compares a purchase order, a receiving report, and an invoice to ensure they all match before payment is issued.

**How does this MCP prevent duplicate payments?**
The find_duplicate_documents tool scans your files for identical unique identifiers, allowing your agent to flag repeats immediately.

**Can this tool catch math errors on an invoice?**
Yes, the calculate_corrected_arithmetic tool re-calculates totals based on line items to find mistakes.

**Which AI clients can use this MCP?**
You can use this MCP with any compatible client like Claude, Cursor, Windsurf, or VS Code.

**Does this MCP handle unit of measure errors?**
Yes, the validate_unit_consistency tool checks that units remain consistent throughout the procurement lifecycle.

**How does the three-way match work?**
The `reconcile_documents` tool compares the Purchase Order, Delivery Receipt, and Invoice to ensure quantities, prices, and units align across all three documents.

**Can I check for duplicate invoice numbers?**
Yes, you can use the `find_duplicate_documents` tool to identify if any documents in a provided set share the same unique identifier.

**How are unit mismatches identified?**
The `validate_unit_consistency` tool checks if the units of measure (UOM) are identical across the ordering, receiving, and billing lifecycle.
