Hi there, Nicky.
A bank transaction showing both a payment and an invoice match occurs when identical invoices have been created in QuickBooks Online (QBO), and a payment was manually applied to one of them.
You'll need to determine whether these invoices are duplicates. If they are, you can delete the invoice that has manually received the payment, including the linked payment. However, if they're not, you can proceed with matching the uploaded bank transaction to the unpaid invoice.
Let me know if you have any additional questions. We're here to assist you promptly.