Change the status of an invoice

Good morning to all,

accidentally, while I was messing with the program, I have changed the status of an invoice to paid by mistake. How can I change this to the previous status?

Thanks

Hi,

If you mark the payment as deleted it will restore the balance to the invoice.