If a patient has a credit balance, a value will be displayed under the Available Credit header in the Payment section when creating an invoice.
To apply the credit, enter the amount you wish to apply to the invoice into the Credit field and click Add Credit Payment.