Stay for the purpose of vocational training
After entering the country, you apply for a residence permit at the local immigration authority in Germany, even if you were able to enter the country without a visa according to the regulations of your country of origin.
In the case of school-based vocational training, you will receive a residence permit in accordance with Section 16 (5) of the Residence Act. If you are starting company-based training, you must apply for a residence permit in accordance with § 17 of the Residence Act.
You may only start your company-based training if your residence permit expressly allows you to take up employment. To do this, the Federal Employment Agency must approve your training, unless you are a graduate of a German school abroad or the training you have chosen does not require approval.
You can find out whether the training or further training you are planning requires or does not require approval from the immigration authority responsible for your future place of residence.
If you have entered Germany with a visa for the purpose of seeking training, your stay is permitted for 6 months and you apply for a corresponding residence permit at the foreigners authority.