According to the UN Convention on the Rights of the Child, children are only allowed to work when compulsory education is finished.
In Germany, child labor is governed by the Youth Employment Protection Act (Jugendarbeitsschutzgesetz) and the Child Labor Protection Order (Kinderarbeitsschutzverordnung). According to this, children under the age of 13 are not allowed to work in Germany.