Customer Deposit to be deleted not refunded
I had received 2 x overpayments to sales invoices:
1 x $713.27
1 x $544.50
Both payments overpaid on separate dates on different sales invoices (Total $1,257.77).
Both of these credits were incorrectly applied to the incorrect sales invoice (Invoice #54431) - unsure on how this occurred.
Somehow the two payments generated a transaction through the 'Customer Deposits' Credit & Debit, which is not reverseable for a total of $1,257.77.
I had removed the two payments from the incorrect invoice #54431, however this does not remove the 'Customer Deposit' transaction and the amounts are still showing as paid on the invoice (image 1).
I have reallocated the two overpayments to the correct sales invoice - this is fine.
I had reversed the Sales Invoice #54431 with the customer deposit. Unfortunately now I have a Credit for the customer that shouldn't exist.
And a Customer Deposit account showing -$1,257.77 which shouldn't have a transaction at all.
How do I remove a customer deposit that shouldn't exist so all the accounts are correct?