It’s best to do it early, we found out when filling out ours that they wouldn’t accept it as our passports were due to expire in January even though we are set to return Dec 6. Apparently passports have to be active for 3 months, that was news to me as we were always told it had to be valid for the duration of your trip.