Receipt Variances
get_receipt_variancesTenant-wide work queue of unresolved delivery-receipt variances — DR lines where the supplier-delivered cost and/or quantity differs from the sourced purchase order's line snapshot and no resolution decision (approve/reject/edit) has been recorded yet. Within-tolerance deltas are auto-approved at write time and never appear here. Each row carries varianceKinds (cost and/or quantity) plus the raw source/delivered values and deltas (delivered minus source). Ordered oldest-first (createdAt ascending) — it's a work queue. Paged: returns Total (pre-paging) plus the page; default 100, max 500. A client-pinned token sees only its own client's delivery receipts; an operator token sees the whole tenant's.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_receipt_variances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size (default 100, max 500). | |
| offset | No | Zero-based offset for paging (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| limit | No | ||
| total | No | ||
| offset | No | ||
| variances | No |