The exact model comes first.
Appliance openings are measured against the manufacturer's installation specifications for that model, not against a generic catalog size. Side, top and rear clearances, ventilation paths and the access needed for service all shape the scope. A dishwasher, a range hood and a wine unit each carry their own list of requirements, so cabinet modifications for appliances always start from the model sheet.