If the application for a permit and the accompanying contract documents describing the work do not conform to the requirements of the technical codes, this Code or state law, the building official shall not issue a permit, but shall return the contract documents to the applicant with his refusal to issue such permit. Such refusal shall, when requested, be in writing and shall contain the reason for refusal.