In addition to this approach, payments can also be remove in Client->Payments tab.
Right-click on the document you want to remove payments from to reveal the context menu.
The gear button will appear when you move the mouse over the payment.
Click elsewhere to close the window. This window will appear after you remove the last payment in order to add another payment.