You can choose automatically apply payments, in case you want QuickBooks to automatically apply a customer's payment to the outstanding invoices. In case the amount received is less than the customer's outstanding balance, then QuickBooks applies the payment to the oldest invoices first.