match_receipts_to_bank_csv
Match receipt PDFs to bank statement CSV rows using exact amount and date tolerance. Extracts text from PDFs, flags unmatched receipts and extraction issues for review.
Instructions
Matches receipt PDFs against a bank statement CSV (date + EUR amount) by extracting amount/date from each PDF's text and comparing with exact-amount + date-tolerance matching. Extraction is a best-effort regex heuristic — always review the 'unmatched' and 'extractionIssues' lists, don't assume completeness (no OCR: receipts that are pure scanned images without a text layer will not extract).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipts | Yes | ||
| csvContent | Yes | Raw bank statement CSV content | |
| dateToleranceDays | No |