Four sales forms, four situations:
- Invoice: the customer will pay later.
- Sales receipt: the customer paid at the time of the sale. No A/R, no payment to record later.
- Receive payment: money arrives for an invoice already sent.
- Credit memo: the customer is owed something back after a correct sale, such as a return. It lowers what they owe; apply it to an open invoice so the invoice shows the real balance.
Money received on a sales receipt or payment usually goes to Payments to deposit, so the cash and checks you take to the bank together show as one deposit, like the bank statement. Deposit straight to Checking only when the money went straight there.
Editing an old invoice to show a return rewrites the month it was dated in. A return happens on the day it happens: record it with a credit memo dated that day.