How to manually add a credit to a customer's account.
You can use the ledger to apply credits to customers. If a customer's balance is $0 before you enter a payment on their account, then the amount paid will be applied to their next invoice. For example, if their balance is zero and you apply a payment of $100, then $100 will be credited against their next invoice.