Guides·Getting a NIF8 min readUpdated 17 November 2026

NIF for Freelancers in Portugal: From NIF to Your First Invoice (2026)

Freelancing in Portugal starts with a NIF, then opening activity at Finanças, recibos verdes, social security and VAT. The steps in order, with sources.

Short answer

To work as a freelancer (trabalhador independente) in Portugal you first need a NIF, the Portuguese tax number. With it you open your activity (início de atividade) at Finanças before your first job, then you invoice through the Portal das Finanças with recibos verdes, file quarterly declarations with Segurança Social and, once your turnover passes the small-business limit, charge VAT. You can get the NIF online before you arrive. With Coepi it costs €39.99 including VAT, once, filed by a Portuguese lawyer.

TL;DR: To work as a freelancer (trabalhador independente) in Portugal you first need a NIF, the Portuguese tax number. With it you open your activity (início de atividade) at Finanças before your first job, then you invoice through the Portal das Finanças with recibos verdes, file quarterly declarations with Segurança Social and, once your turnover passes the small-business limit, charge VAT. You can get the NIF online before you arrive. With Coepi it costs €39.99 including VAT, once, filed by a Portuguese lawyer.

This guide shows the order of the steps and where each rule comes from. It is general information, not tax advice. Your situation decides which regime fits, so confirm the current rules with a Portuguese certified accountant (contabilista certificado) before you start.

Step 1: Why does everything start with the NIF?

Every other step asks for it. You cannot open an activity at Finanças, issue an invoice, register with Segurança Social or open the business bank account without a NIF. The gov.pt guide for self-employed people says it directly: foreigners first need to get a NIF.

You can get it in two ways:

  • In person, at a Finanças office or Loja do Cidadão in Portugal, with an appointment. It is free: "O pedido do NIF é gratuito", says the gov.pt guide for foreign citizens.
  • Remotely, through a representative who files for you with a power of attorney. With Coepi you upload your passport or EU ID card and a proof of address, sign on screen, and a Portuguese lawyer files the same day your documents are complete. See how to get a NIF online.

Step 2: Get access to the Portal das Finanças

Opening your activity and issuing invoices both happen in the Portal das Finanças, so you need a login. Without a Portuguese Cartão de Cidadão or Chave Móvel Digital, that is the Portal das Finanças password, which Finanças sends by post to the address on your NIF. Our guide on getting your Portal das Finanças password covers the steps.

Step 3: Open your activity (início de atividade)

Before you work as a freelancer, you file a declaration of start of activity (declaração de início de atividade). According to the tax authority, it is due before the activity starts, and gov.pt adds: at the latest on the day you give as your start date.

You can file it online in the Portal das Finanças or in person at a Finanças office or a Loja do Cidadão. The tax authority asks for:

  • Your activity code, from the list in article 151 of the IRS code or the CAE classification.
  • Your estimated turnover until the end of the year.
  • The IBAN and BIC/SWIFT of a bank account in your name.

If you must keep organised accounting, or choose to, a certified accountant has to file the declaration for you. Most freelancers start in the simplified regime. When you open your activity at Finanças, Segurança Social is notified automatically, says the gov.pt guide for self-employed people.

Step 4: Invoice with recibos verdes

"Recibos verdes" (green receipts) is the everyday name for the invoices freelancers issue in the Portal das Finanças. The gov.pt guide describes three documents:

  • Fatura-recibo (invoice-receipt), when you are paid at the moment you issue it.
  • Fatura (invoice), when you are not paid yet.
  • Recibo (receipt), issued once that invoice is paid.

On the receipt you also state the IRS withholding that applies, because withholding is considered at the moment of payment. Whether your client must withhold depends on who the client is and on your situation, which is a good first question for your accountant.

Step 5: Social security and your NISS

You need a NISS, your social security number. EU citizens register with Segurança Social to get one; non-EU citizens do the same once they hold the necessary authorisation. See NISS and Número de Utente for foreigners.

Then, according to gov.pt:

  • You file a quarterly declaration in Segurança Social Direta, by the last day of January, April, July and October.
  • Contributions are calculated on 70% of your average quarterly income from your services. Check the current rate on gov.pt or with Segurança Social.
  • In your first 12 months of activity, contributions are not mandatory. You can choose to pay from the start; if you do not, those 12 months do not count towards your pension.

What about VAT (IVA)?

Small freelancers often start exempt. Under article 53 of the VAT code, you are exempt if you have your domicile in Portugal, do not export, and your turnover in Portugal in the previous calendar year was not above €15,000. gov.pt gives the same €15,000 as the limit for 2026, and lists further conditions, such as no imports and no excluded activities.

Above that, you charge VAT and file periodic VAT returns, monthly or quarterly depending on your turnover. If you serve businesses in other EU countries, gov.pt adds a recapitulative statement (modelo 8) listing those clients' VAT numbers.

Does IFICI change anything for freelancers?

Possibly, but for few people. IFICI, the regime that replaced the NHR for new residents, offers a 20% flat IRS rate on qualifying income, including self-employment, for highly qualified professionals in specific roles. Most freelancers do not qualify. Read NHR is closed: what IFICI means and ask an accountant before you count on it.

You live abroad and have Portuguese clients: what do you need?

This is where it depends most on your situation, so take these as the questions to ask, not the answers.

  • Your clients will often ask for your NIF. A Portuguese NIF lets them record you correctly in their books and tax returns, which is why many freelancers abroad get one even before they decide anything else.
  • Withholding tax and double tax treaties. A Portuguese client may have to withhold Portuguese tax on what it pays you. If your country has a double tax treaty with Portugal, you can ask for a full or partial exemption with form Modelo 21-RFI, which is only valid together with a tax residence certificate from your home tax authority. The client keeps it.
  • Working for yourself in Portugal while living outside the EU. The tax authority's leaflet for non-residents says that if you live outside the EU, Norway, Iceland and Liechtenstein and carry out a self-employed activity in Portuguese territory, you must appoint a VAT fiscal representative resident in Portugal before you start. Electronic notifications do not replace it. For residents of the EU, Norway, Iceland and Liechtenstein the representative is optional.
  • The NIF alone creates no such duty. Getting the number needs no fiscal representative, wherever you live. See you do not need a fiscal representative to get a NIF.

Whether you need to open an activity in Portugal at all, or invoice from your home country, depends on where you live and work and on the treaty. A certified accountant in Portugal, and your adviser at home, should answer that together.

What Coepi does, and what it does not

Coepi files your NIF application through a Portuguese lawyer, under a power of attorney you sign on screen, for €39.99 including VAT, once, with nothing to renew. We do not open your activity, keep your books, file your VAT or act as your fiscal representative. For those, you need a certified accountant.

Frequently asked questions

Can I open my activity before I have a NIF? No. The declaration of start of activity is filed under your NIF.

Do I need to live in Portugal to get the NIF? No. You can get it as a non-resident and update your address when you move.

Is the NIF the same number I use as a freelancer? Yes. There is no separate business number for a trabalhador independente. Your NIF is also your VAT number in Portugal.

I am on a D8 digital nomad visa. Does this apply to me? It depends on whether you work for clients in Portugal or abroad. Start with the NIF for the digital nomad visa, then ask an accountant.

Sources

Rules, thresholds and rates change. Confirm the current ones with the official pages below and a certified accountant before you start.

Planning to freelance in Portugal? Get your NIF online first, filed by a Portuguese lawyer for €39.99, once.

Stephan, Co-Founder & CPO
StephanCo-Founder & CPO, Coepi

Six minutes. Then it is our job.

Get your NIF