Party account and ageing
Every customer and supplier has a full account (ledger). It shows bills, returns and payments. The outstanding report shows the balance of all parties.
Ageing means sorting dues by how many days old they are. Old dues are harder to collect. So look at them first.
Money in, money out, cash and bank
A receipt entry records money you get. A payment entry records money you pay. A contra entry records cash put in the bank or taken out.
Returns are settled with credit notes and debit notes. You can adjust the balance or give a refund.