google translate:
A foreigner can get a Social Security number if
1
registered in Poland for permanent residence or
2
temporary stay of over three months.
This is the result of art. And paragraph 31. 3 of the population register and ID cards. Thus, to obtain a social security number, you should first make compulsory registration.
Register for permanent residence may foreigner who has
permission to settle,
residence permit for EC long-term resident,
refugee status
tolerated stay.
Such alien shall report the information required to check-in and turns a residence card issued in connection with the above-mentioned circumstances or decisions of turns spent in these matters.
Registrations for temporary residence may make the alien who resides in Poland on the basis of the circumstances listed above, as well as an alien who is in Poland on the basis of a visa or residence permit for a fixed period of time and the person who applies for refugee status. When checking in for temporary stay of over three months, the foreigner shall report the required data to the check-in and submit a visa, and if there was an alien's entry into an agreement providing for the abolition or reduction of the visa - the travel document, the temporary identity certificate of alien residence card or permit for a fixed period, a settlement permit or residence permit for long-term resident of the European Communities or the decision to grant a permit for tolerated stay or refugee status in the Polish Republic.
An alien who is a taxpayer (eg for obtaining revenue) in Poland is also required to obtain a VAT number. Personal identification application shall contain the name, first name, names of parents, date and place of birth, sex, name at birth, citizenship or nationality, place of residence, address of permanent residence or temporary residence, type and number of identity card (eg passport or card stay) and Social Security identification number.