Navigate to Accounting / Receivables
Change the date range to cover the time period to show the older payment.
Open the payment with a balance on it as shown below.
Select the "Open Balance Invoices" tab.
1. Change the Applied on date on the invoice you want to pay.
2. Enter in the payment amount.
3. Click the Enter key to post your payment.