Follow the instruction for how to delete a deposit in quickbooks
Go to the QuickBooks homepage and click on the record icon to open the "make deposit" screen.
If the payment to deposit screen appears instead, click on cancel to close it and proceed.
Select the "previous" icon to take you to the intended screen and scroll to look for the deposit you want to remove the payment from.
Choose the payment you want to remove and click on "edit" from the options.
Then click on "delete line" under the edit menu to delete a payment in Quickbooks.
Then select ok to confirm the removal of the payment.
Click on save and then close.