Deleting a payment from an invoice

I marked a sub-contractors invoice as paid incorrectly. How do I change this?

Just go to preview the invoice, click the link to the payment and delete the payment from there.