I can guide you on how to correct transactions in QuickBooks Online.
Just making sure, are these imported transactions in your banking feed? If so, you can record it as a transfer from one account to another. I'll show you how.
Go to the Banking or Transactions menu.
Select the bank account that the transaction is coming from.
Click the transaction to open it, select the Record as transfer tab.
Hit the Record as transfer.
Go to the bank account to which you transferred the transaction.
Click the For Review tab, then choose the Recognized filter from the dropdown.
Locate the transaction, From the Action column, choose Match so the transaction is matched in both accounts.