When a student makes a partial payment, allow him to designate what invoice the payment is being applied to.
Additionally, allow staff to reassign payment to any of the unpaid invoices after the fact.
This is helpful when different invoices have different due dates.