The easiest way to keep the credit for overpayment on a client account is to enter in the payment as follows.
Example: The invoice total is $15.00. The client wants to pay $20.00 and leave the $5.00 as a credit on the account.
On the checkout screen you would enter in the payment amount as 20.00, and enter the cash received as 20.00 and process the payment.
The system will apply the $15.00 to the invoice and the remainder of $5.00 will appear as a credit on the client account.
You will see the following message when you process the payment.