To credit an invoice select the Credit Invoice button at the top of the window.
The following window will then appear on window.
Select the Credit button to credit the invoice.