A residence permit is a document that allows a foreigner to stay in the country for a long time (more than 6 months). It can be a long-term visa, an official authorisation from the authorities or a residence card.
A residence permit can be with or without the right to work. According to the period of validity, there is a distinction between temporary and permanent residence permit (PML). A permanent residence permit almost equates an immigrant with other citizens of the state in terms of the sum of rights and obligations.