I'm here to help you remove the bank transactions in your account. If you're referring to the passbook, you need to contact your bank. However, if you are referring to the Banking page in QuickBooks Online, I can show you the way how to delete the transaction from there.
Go to the Banking menu and click on the Bank account.
Select the For review tab then, locate the transaction you want to delete.
Put a checkmark beside the transaction and click the Exclude button.
Navigate to the Excluded tab and check the transaction.
Select the Delete button.
I've also included some screenshots for your additional reference:
I've added this article for your future task in case you want to assess your business financials: Reconcile an account in QuickBooks Online. This contains how you will handle any bank errors in the future.
You are always welcome to let me know in the comment section if you need further assistance or questions. I'd be happy to lend a helping hand. Take care.