The second step in applying payments to Customer invoices is to use the Apply Payments function. A payment that reduces the amount remaining to be paid on a specific debit item, instead of merely reducing the total amount owed on the account.
Pre-Requisites
...