in many cases you do as part of the customer details (esp Ryanair), but its usually just to save time when you are doing online check-in. But for validity to travel its the passport you have with you at the boarding gate that mattersYou dont give your passport details at time of booking, only at check-in.