The A/R Aging Summary (Reports) lists what each customer owes, split by how late it is: Current (not yet due), 1 - 30, 31 - 60, 61 - 90 and 91 and over days past due. Its total equals A/R on the Balance Sheet. Run it as of a date to see what the picture was, or will be, on that day.
A customer with a credit (from a credit memo) and an open invoice should have the two matched. Apply the credit to the invoice, then receive the payment for what is left. Otherwise the customer's balance is right but the invoice still looks unpaid.
Late invoices need a follow-up, not a fix in the books. A reminder with a copy of the invoice comes first; a write-off is a decision for much later, made with the owner.