One idea I have had is to have a way of automatically detecting transposed digits in bank statement reference numbers, or numbers wrongly entered by those with poor eyesight.
Most errors where statement reference numbers do not match with account numbers are likely to be caused by two numbers...