Recording Customer Payments

How to record payments and track outstanding balances.