Koskamo

Agent use case: Reconcile purchase documents for discrepancies

Document v1 · published by Koskamo · updated 2026-10-18

Original source

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

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: 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.

Source and provenance

Original source
agents.getardaro.com
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1