If a customer prepays and there are future invoices, apply the payment to future invoices.
Created by Rich Hogan