Sales by Customer Summary totals sales (before tax) for each customer in a period: invoices and sales receipts, less credit memos. Walk-in sales with no customer show as Not specified.
The aging summaries run as of any date. Run A/R aging as of the end of the month to see which invoices will be over 30 days late if nobody pays; run A/P aging the same way to plan payments.
Sales and receivables answer different questions: a customer can be the best customer of the month and owe nothing, or owe a lot from an old sale.