Número de Identificação Fiscal

Portugal VAT number format

Portugal VAT numbers (NIF) are written as PT + 9 digits, for example PT501964843.

Country code
PT
Format
PT + 9 digits
Example
PT501964843
Local name
Número de Identificação Fiscal
Register
VIES (EU)
Standard VAT rate
23%

Regular expression

^PT\d{9}$

Checks the format only. Most countries also use a check digit; the validator checks both.

Check a Portugal VAT number

Include the country prefix. Checked against VIES (EU) and HMRC (UK) in real time.

How to validate a Portugal VAT number

  1. Format: remove spaces, dots and dashes and compare with ^PT\d{9}$.
  2. Check digit: Portugal numbers contain a checksum that catches typos. The validator above checks it.
  3. Registration: only the EU's VIES system can confirm that the number is currently registered for VAT. VIES forwards the question to the Portugal tax authority.

Check Portugal VAT numbers by API

curl "https://api.vatcheckapi.com/v2/check?vat_number=PT501964843" -H "apikey: YOUR-API-KEY"

The response says whether the format and checksum are valid and whether the number is registered, with name and address where Portugal provides them.

Frequently asked questions

What does a Portugal VAT number look like?

PT + 9 digits, for example PT501964843. The local name is Número de Identificação Fiscal (NIF).

How do I check a Portugal VAT number?

Enter it in the validator on this page. It checks the format and checksum and asks the EU's VIES system whether the number is registered, with company name and address where available. The vatcheckapi API does the same from your code.

Is the Portugal VAT number the same as the tax number?

Not always. In many countries the VAT number is the company's tax or registration number with the country prefix, in others it is a separate number. Only VAT-registered businesses have one, and only those numbers can be validated in VIES.

What is the VAT rate in Portugal?

The standard rate is 23%. See VAT rates in Portugal for reduced rates and a calculator.

Other countries

VAT validation API

Validate VAT numbers in your app

vatcheckapi checks the format and checksum of EU and UK VAT numbers and confirms the registration with VIES and HMRC, with company name and address where the country provides them.

/v2/check documentation VAT number API All documentation

150 free validations every month. No credit card required.

GET https://api.vatcheckapi.com/v2/check?vat_number=PT501964843

{
  "country_code": "LU",
  "vat_number": "26375245",
  "format_valid": true,
  "checksum_valid": true,
  "registration_info": {
    "is_registered": true,
    "name": "AMAZON EUROPE CORE S.A R.L.",
    "address": "38, AVENUE JOHN F. KENNEDY\nL-1855  LUXEMBOURG",
    "checked_at": "2023-01-11T12:30:28.000000Z"
  }
}

Free VAT tools

Start using our VAT Validation API for free today!

Get 150 validations / month for free