The cab serial number is located at the top of the door frame by the windshield wiper motor.
See this cab kit installed on a John Deere 4640 on our blog!