Cash forecasting software categorizes messy bank data with rules and pattern matching on descriptions, counterparties, amounts and references, then matches receipts to open invoices by amount, customer and remittance detail. Most transactions sort automatically once rules are tuned. The remainder, usually partial payments, bundled payments and vague descriptions, goes to a person to review.