Check Vendor Bill
metrx_check_vendor_billReconcile an AI vendor's per-resolution bill against your ledger to identify billed units marked resolved, rejected, reopened, uncovered, or unknown and calculate the disputed amount.
Instructions
Reconcile an AI vendor's per-resolution bill against your own records: which billed units your ledger shows as resolved, rejected, reopened, outside coverage, or unknown, and the disputed amount. A pure function over the lines you pass: reads nothing, stores nothing, needs no key. Paste the bill lines and your ledger events.
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": {
"period": "<period>",
"billed": "<billed>"
},
"name": "metrx_check_vendor_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| billed | Yes | The vendor's bill lines for the period. | |
| ledger | No | Every ledger event you hold for the vendor (reopens after the period still dispute). | |
| period | Yes | The billing period (from < to). | |
| rejected_ids | No | External ids your records show as rejected (a person overturned it). | |
| resolved_ids | No | External ids your records show as resolved by the agent. | |
| covered_spans | No | The spans your records cover; omitted = nothing is covered. | |
| import_rejected_count | No |