min([pi.due_dt for pi in plan_invoices_due] + [earliest_due])