Kate:
That validation process is designed to prevent the accidental processing of the same transaction twice.
If you feel that the second entry is correct (i.e. is not a duplicate), edit that batch and change the Bank Reference number by adding a letter to the end (i.e. change 1234567 to 1234567B).
The validation process can be turned off in the Company Profile.