How do I record cash payments from a customer?

How do I record cash payments from a customer?

My customer overpays all the time so there is always a big cash balance, credit balance due to the customer.  
How do I record these payments? Right now I am using "credit notes" but the credit notes were recorded as "sales" , which is not correct.