run_three_way_match
Compare purchase order lines against goods receipt and AP invoice to flag quantity or price mismatches beyond tolerances, including missing documents, under/over receipts, and over-invoicing.
Instructions
Run a three-way match for a Purchase Order — compares PO lines (committed quantity and price) against the Goods Receipt PO (received) and AP Invoice (invoiced). Flags: NO_GRPO, NO_AP_INVOICE, UNDER/OVER_RECEIVED, OVER_INVOICED, PRICE_VAR_PO_GRPO, PRICE_VAR_GRPO_INV beyond configurable tolerances.
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": {
"poDocEntry": "<poDocEntry>"
},
"name": "run_three_way_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poDocEntry | Yes | DocEntry of the Purchase Order to verify | |
| qtyTolerancePct | No | Acceptable quantity variance % before flagging (default 0 = exact match) | |
| priceTolerancePct | No | Acceptable price variance % before flagging (default 2) |