It is possible that you will need a building permit to repair your foundation (especially if structural repairs are required). Discuss the permit process with the contractors you are considering for the project. A seasoned and reputable contractor should be comfortable and willing to help guide you through the process or willing to handle the task as part of their contract.