There is no deadline, but at least 2 hours before, outside of peak seasons, holidays, weekends. (Applies only to ordinary taxi trips). Day trips, sightseeing, business, VIP, Minibus, tour bus, in sufficient time. As these are often booked months and weeks in advance.