When you are running statements for customers there should be a running cumulative balance on the statement which adds the individual invoices to the running balance and deducts off the payments as they come in on date order.
You won't be notified about changes to this idea.