Remove a payment that was recorded wrong
On the invoice, find the payment under Payments and click "Remove payment". Give a reason and enter the delete code. The payment stays in the history marked "removed", the balance goes back up, and the invoice returns to unpaid or part-paid. You can then record the correct payment. Only Owners and Admins can do this.