How to change the paid invoice to pending invoice?

To change the paid invoice to pending, you have to delete the amount recorded against the invoice.

To delete a payment, please go to Invoices > > Click on Payment Mode > > Delete Payment.​

If you have recorded payment with multiple mode, delete the payment of one mode and then click on another mode to delete the payment.