Koskamo

Reconcile purchase documents for discrepancies

A structured list of differences between a receipt, invoice, and purchase order, highlighting mismatches in quantity, price, or reference data to facilitate human review.

How it works

Read-onlyFinance and payments

The agent collects the structured data for a receipt, invoice, and purchase order. It then calls the reconcile_purchase_documents tool on the ardaro-documents-mcp server, passing the three documents as arguments. The agent parses the JSON-RPC response to identify specific discrepancies such as quantity differences or arithmetic errors. It presents these findings to the user, noting that the tool does not infer missing data and that all findings require human review.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Reconcile purchase documents for discrepancies
Please reconcile the following receipt, invoice, and purchase order data to find any discrepancies. 

Receipt: {"reference": "R1", "supplier_id": "S1", "currency": "USD", "line_items": [{"line_id": "R1-1", "product_code": "BOLT", "quantity": "2"}]}

Invoice: {"reference": "I1", "supplier_id": "S1", "currency": "USD", "line_items": [{"line_id": "I1-1", "product_code": "BOLT", "quantity": "3"}]}

Purchase Order: {"reference": "PO1", "supplier_id": "S1", "currency": "USD", "line_items": [{"line_id": "PO1-1", "product_code": "BOLT", "quantity": "5"}]}

Call the reconcile_purchase_documents tool and report the differences.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

reconcile_purchase_documents checks a structured receipt against an invoice and that invoice against a PO, using conservative one-to-one links. It flags reference, item, quantity, price and arithmetic differences.
Receipt, Invoice & Purchase Order Review | Ardaro

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.