Find the invoice on the list and click to see the details. On the "Payments" section you will find "edit" button - click to see the list of payments. If you click on the payment you will see the “detach" option.