You'll need to associate the sales receipt to the correct bank account and match them. Let me help you with this.
Associating your sales receipt to a bank account allows you to match it with the transactions in your bank statement. Also, this refrains you from having duplicate transactions in QuickBooks.
To assign your sales receipt to the correct bank account, please follow the steps below:
Then, you can now match your sales receipt with the downloaded deposit. Here's how:
For further guidance, you can read this article: Add and Match Downloaded Bank Transactions.
You can always let me know if you have any other questions. I'll be around to help.