If you've given the customer a credit, in this window, you can apply any amount from it to the invoice.