Non-Eu citizens need to obtain a temporary work permit in Latvia. It helps you to work for around 20 hours per week.