If you plan to work for yourself in Portugal — as a freelancer, independent professional or sole trader — the NIF (número de identificação fiscal) is the very first step. It is the nine-digit tax identification number issued by the Portuguese Tax and Customs Authority (Autoridade Tributária e Aduaneira), and without it you cannot register a professional activity, issue a legal invoice, or open the bank account your clients pay into. Everything in the self-employed setup hangs off the NIF, so getting it early keeps the rest of the process moving.
The usual sequence: NIF, then activity, then social security
Setting up as self-employed in Portugal follows a clear order. First you obtain your NIF. Then you open your activity (abrir atividade) with the Tax Authority — the formal registration of your professional or business activity, which is what lets you invoice clients legally. Finally you register with social security (NISS). The NIF underpins all three: you cannot open an activity or register for social security without it, and it is the number that appears on every invoice (recibo verde) you issue.
Why you cannot invoice without a NIF
In Portugal an invoice is a fiscal document tied to your NIF, filed electronically with the Tax Authority. That is why a NIF is not optional for anyone earning self-employed income here: it is the identifier the whole invoicing and tax system is built around. The same applies to opening a Portuguese bank account for your business income — the bank requires your NIF first.
Freelancers moving from abroad
If you are relocating to freelance in Portugal — for example on a self-employment or digital-nomad route — you will generally need your NIF at the visa-file stage, well before you arrive. Third-country nationals need the appropriate residence route to work self-employed in Portugal, but the administrative steps that follow are the same for everyone: NIF, then open activity, then social security. Because the NIF can be obtained entirely remotely, you can have it in hand before you land and register your activity as soon as you are set up.
Non-residents and fiscal representation
While you are still resident outside the EU or EEA — which includes the moment you apply from abroad — Portuguese law requires you to appoint a fiscal representative in Portugal to hold your NIF. With NIF Express the price of €49.99 already includes your first mandatory year of fiscal representation. Once you become resident and register a Portuguese address, that requirement falls away, but the number stays with you.
Get your NIF first
Because the NIF is the prerequisite for every other step, it is the smartest thing to secure first — before you line up clients or sign an office lease. With NIF Express your number is typically ready in 3–7 working days, handled entirely online, with the power of attorney signed by a lawyer registered with the Portuguese Bar Association. Start your application today, or read more about the service.