Match a camt.053 statement against a counterpart expectation set
recon_matchParses a camt.053.001 statement (same schema-subset checks as camt053_parse) and a counterpart expectation set (CSV, header EndToEndId,Amount,Currency,Date -- same strict RFC 4180 parser as the WORKBOOK-1 CSV tools), then runs the SAME deterministic match engine as the tools/565 browser workbench: EndToEndId exact match first (statement order), then amount+date tolerance + currency match (first unmatched expectation in CSV order). Returns matches, exceptions (unmatched entries/expectations), and a reconciliation receipt (statement digest, expectation-set digest, match-rule declaration, counts, exception digests, execution_hash) -- byte-identical to the browser tool for the same inputs. Prepare/hash/receipt only; per-exception disposition receipts are the browser workbench's interactive follow-on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| statement_xml | Yes | camt.053.001 XML statement document text. | |
| amount_tolerance | No | Absolute amount-match tolerance (default 0.01). | |
| expectations_csv | Yes | Counterpart expectations, CSV with header EndToEndId,Amount,Currency,Date. | |
| date_tolerance_days | No | Date-match tolerance in days (default 0). |