Both residents of EU countries and anyone can get a NIF. First of all, you will need a representative fiscal representative who must be a Portuguese citizen or resident. This can be done independently to look for good, reliable acquaintances who will be your guarantor and be present in person, or you can use the services of professionals and do everything online, saving your time. Both services are paid, as the Portuguese value their precious time very much. By terms of time, when contacting professionals, the service will take from 2 to 10 working days - online, and independently... as your representative wishes, given the nature and "readiness for work" of the southerners, the terms can be any))