Payments should be collected from unpaid invoices. To do that follow the below process
Business Portal > Sales > Sales Order New > Invoice Selection > Collect Payment
Go to the invoice whose details are to be changed
Open the details of invoice and click on “Collect Payment” button
Enter the amount and mode of payment and click on “Save” button