Applying a credit to an open invoice in AP

SOLVED

I have a credit sitting in AP that is greater than the invoice. (Credit amount is $665.90 and invoice -$564.06). I would like to apply the credit to the open invoice and leave the credit balance of 101.84 but I don't know how to proceed. 

Thank you