Match PO, goods receipts and supplier invoice
three_way_matchCompare supplier invoices with purchase orders and accepted receipts by SKU, price, and prior billed quantity to find mismatches and offsetting errors with source evidence.
Instructions
Compare up to 500 PO/invoice lines by exact SKU, accepted receipts and prior billed quantities. Returns source evidence and exceptions, including offsetting errors. All diagnosis is free; save optionally.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"po": "<po>",
"receipts": "<receipts>",
"invoice": "<invoice>",
"prior_invoiced": "<prior_invoiced>"
},
"name": "three_way_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| po | Yes | ||
| save | No | ||
| invoice | Yes | ||
| receipts | Yes | ||
| prior_invoiced | Yes | Cumulative previously invoiced whole units, excluding this invoice; [] explicitly asserts none. Caller must supply complete history. |