​1. In Accounts Receivable > Select Records> Invoices.
2. Select the appropriate invoice.
3. Select the Payments/Credits tab.
4. Select Auto Apply.
5. Save and Close.

Note: Auto Apply option will follow what has been set up in Business Rules for applying payments.