You must have confirmed employment before you may apply for a residence permit. If you have been offered work by an employer, the employer needs to confirm that you will really be hired. This is usually done in the form of an employment contract.