QuickBooks applies the payment to the invoice and marks it paid.