To settle purchase invoice with opening balance, please follow the steps mentioned below.
Step - 1 : Go to Bills, select Purchases click on 3 dots.
Step - 2 : Click on Record Payment
Step - 3 : Click on Use Advance payments to settle then click on Record.