check_claim
Run deterministic policy rules on an expense claim and get gap codes for missing evidence, cap breaches, and duplicates. Use it for every money figure before approving or rejecting items.
Instructions
Run the deterministic policy rules on a claim. ALWAYS use this for any money figure.
evidence_ids: IDs you found (inbox MSG-..., calendar EVT-..., memo MEMO-...).
human_decisions: {item_id: approve_full | approve_capped | reject}; works for any item category.
Items with status needs_evidence list gap codes (e.g. boarding_pass_missing, hotel_over_cap,
late_checkout_unjustified, duplicate_suspected). ignored_evidence explains IDs that did not count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claim_id | Yes | ||
| evidence_ids | No | ||
| human_decisions | No |