I can help you undo a received payment.
To start, we'll have to delete the deposited invoice payment:
- Navigate to the Gear icon, then select Chart of Accounts.
- Locate the Account where you've deposited the payment, then double-click it.
- Click the Payment Transactions, then click Delete.
- Click Yes.
After this, let's Void the Payment associated with the Invoice.
- On the left panel, choose Sales.
- Go to All Sales.
- Find the Payment, then click the arrow dropdown.
- Select Void, then click Void.
You can also Delete the transactions after voiding them to remove them from your books.
Also, you can read this article to learn how to view your top-selling items, available inventory, the cost of goods, and other relevant information: Use reports to see your sales and inventory status in QuickBooks Online.
Let me know if you have further concerns about voiding a payment or need assistance with QuickBooks. Keep safe.