After your building passes its final inspection, your local building-inspection department will issue you a certificate of occupancy. Also, it is an official declaration that your building is fit for human habitation. If you cannot obtain a certificate, it is illegal to sell the building in many jurisdictions.