reconcile_ledger
Matches invoices to payments and lists exceptions—underpaid, overpaid, duplicate, currency mismatch, overdue unpaid, unmatched, ambiguous—for ledger reconciliation.
Instructions
Match invoices to payments and list every exception.
Exception kinds: underpaid, overpaid, duplicate_payment, currency_mismatch, overdue_unpaid, unmatched_payment, ambiguous_payment.
Args: as_of: ISO date used to decide which unpaid invoices are overdue. amount_tolerance: max difference (same currency) still treated as equal. date_window_days: how far after issue date a reference-less payment can land. include_matches: also return every matched invoice (large output).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | 2026-10-01 | |
| include_matches | No | ||
| amount_tolerance | No | ||
| date_window_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||