Cannot Match a Transaction Manually

Cannot Match a Transaction Manually

Trying to match a bank payment with two invoices and facing the error. Kindly check the screenshot.