How to change an invoice back to unpaid status

We made a small mistake and incorrectly marked an invoice as paid. How can I reset it to unpaid?

Just go to bank module and click on the total and find the received money from whichever client and delete that entry. This will mark the invoice as unpaid again!