The purpose of obtaining the permit is to confirm that the house or building is in a suitable living condition based on its compliance with the provisions of the code as well as the submitted plans and specifications.