{"task_version":"reconciliation-sample/1.0.0","cases":[{"id":"straightforward","title":"01 / Straightforward match","currency":"USD","opening_cents":100000,"policy":"Match identical date, reference, and signed amount only when each side has exactly one candidate. Include every source row. All amounts are integer cents.","ledger":[{"id":"L1","date":"2026-09-20","reference":"INV-1042","amount_cents":50000,"description":"Customer payment"}],"bank":[{"id":"B1","date":"2026-09-20","reference":"INV-1042","amount_cents":50000,"description":"Customer payment"}]},{"id":"settlement","title":"02 / Settlement with fees","currency":"USD","opening_cents":100000,"policy":"Match uniquely by identical date/reference/signed amount. The bank shows the gross settlement and a separately identified processor fee (kind=fee). Classify that negative bank-only row bank_fee, with no counterpart, cite bank:B3 and add its signed amount to ledger closing. No other adjustment is supported.","ledger":[{"id":"L1","date":"2026-09-21","reference":"SET-004","amount_cents":50000,"description":"Gross card settlement"},{"id":"L2","date":"2026-09-21","reference":"PAY-018","amount_cents":-20000,"description":"Supplier payment"}],"bank":[{"id":"B1","date":"2026-09-21","reference":"SET-004","amount_cents":50000,"description":"Gross card settlement"},{"id":"B2","date":"2026-09-21","reference":"PAY-018","amount_cents":-20000,"description":"Supplier payment"},{"id":"B3","date":"2026-09-21","reference":"FEE","amount_cents":-1250,"kind":"fee","description":"Processor settlement fee"}]},{"id":"ambiguous","title":"03 / Know when to escalate","currency":"USD","opening_cents":100000,"policy":"Two ledger candidates have identical date/reference/amount and no event identity distinguishing them. Do not assume either is a duplicate. Classify ALL THREE competing rows ambiguous, leave counterparts empty, explain each exception, cite all three source IDs, use no balancing adjustments, and set needs_review. Preserve the unresolved difference.","ledger":[{"id":"L1","date":"2026-09-22","reference":"PAY-UNKNOWN","amount_cents":-15000,"description":"Payment posting, event ID absent"},{"id":"L2","date":"2026-09-22","reference":"PAY-UNKNOWN","amount_cents":-15000,"description":"Payment posting, event ID absent"}],"bank":[{"id":"B1","date":"2026-09-22","reference":"PAY-UNKNOWN","amount_cents":-15000,"description":"One cleared payment, no source linkage"}]}]}