Skip to content
PreviewFix
Omnibus & VIES VATPT · Portugal

Portugal (PT) VIES VAT syntax, check digits & Art. 138 rules.

Since the EU VAT 'Quick Fixes' took effect on 1 January 2020, holding and verifying a customer's active VIES VAT identification number — prefixed 'PT' for Portugal — is a substantive legal condition (not merely a formality) for zero-rating intra-Community B2B supplies of goods under Article 138(1)(b) of Council Directive 2006/112/EC.

General regulatory information, not legal or tax advice. Statutory penalties and exemptions depend on the facts of each case and current national texts.

PT · STATUTORY CARDPortugal — VIES VAT Validation (PT)
8 cited facts
ParameterRequirement / ScopeStatutory or Technical Citation
Primary EU VAT & VIES legislationCouncil Directive 2006/112/EC (EU VAT Directive), Art. 138(1)(b), Art. 214 & Art. 215; Council Regulation (EU) No 904/2010, Art. 17 & Art. 31Council Directive 2006/112/EC (as amended by Directive (EU) 2018/1910 'Quick Fixes'); Council Regulation (EU) No 904/2010
National register & EU gatewayNational VAT administration of Portugal interconnected through the European Commission VIES (VAT Information Exchange System)Council Regulation (EU) No 904/2010, Art. 17(1)(a) & Art. 31
Substantive condition effective dateValid VIES VAT ID + EC Sales List filing became a substantive condition for 0% intra-Community supply exemption on 1 January 2020Council Directive (EU) 2018/1910, Art. 1(1) & Art. 2 (amending Directive 2006/112/EC Art. 138(1)–(1a))
Covered B2B transactionsIntra-Community B2B supplies of goods (Art. 138) and reverse-charge B2B services (Art. 44 & Art. 196) involving VAT-identified counterparties in PortugalCouncil Directive 2006/112/EC, Art. 44, Art. 138(1)(b) & Art. 196
Portugal VAT prefix & body syntaxPrefix PT followed by 9 numeric digits matching the Portuguese NIF (Número de Identificação Fiscal) (regex: ^\d{9}$)Council Directive 2006/112/EC, Art. 215; European Commission VIES technical specification
Pre-HTTP check-digit / syntax gateModulo-11 check digit ([9, 8, 7, 6, 5, 4, 3, 2] weights) verified deterministically before VIES lookup@repo/engine-eu-compliance-suite validateVatId specification
Audit trail consultation identifierVIES REST API (GET /ms/{cc}/vat/{number}) returns requestIdentifier when the requester supplies its own VAT ID, providing timestamped audit proof under Art. 31 Reg. 904/2010Council Regulation (EU) No 904/2010, Art. 31(2); European Commission VIES REST API OAS3
Tax assessment & administrative penaltiesSet by national lawCouncil Directive 2006/112/EC, Art. 138(1a) & Art. 273 (denial of intra-Community VAT exemption plus national tax surcharges/interest)
General regulatory information, not legal or tax advice.100% source-attributed rows

Portugal (PT) operational context

Jurisdiction parameters & identifiers.

Exact language, tax-identifier, routing and calendar values used when checking VIES VAT Validation (PT) records for Portugal.

Country parameterValue in PortugalAuthority / Specification Source
EU VAT prefix vs ISO 3166-1 codePrefix PT (matches ISO 3166-1 code PT)Council Directive 2006/112/EC, Art. 215
Regular expression (post-prefix)^\d{9}$European Commission VIES VAT number format specification
Peppol tax-scheme mapping9946 (PT VAT number (9-digit NIF with MOD 11 check)); 0088 (GS1 Global Location Number (GLN))OpenPeppol EAS Code List v9.x

Honest verification boundary

Automated check vs manual review.

Software checks catch deterministic syntax, schema, DNS and DOM defects rapidly, while legal interpretation and physical or human-factors testing stay outside automation. Both sides are stated plainly below.

Deterministic & browser pipeline

Automated check

What PreviewFix checks or generates

  • Strips whitespace, dots and hyphens, normalises PT prefixes, and validates ^\d{9}$ before any network call.
  • Modulo-11 check digit ([9, 8, 7, 6, 5, 4, 3, 2] weights) verified deterministically before VIES lookup.
  • Queries the official European Commission VIES REST endpoint (ec.europa.eu/taxation_customs/vies/rest-api), dropping '---' withheld-string placeholders and returning requestDate and requestIdentifier.

Out of scope for automation

Requires human / legal review

What still requires manual or legal sign-off

  • Syntax and check-digit validity never prove active VAT registration on their own — live VIES confirmation is required before applying 0% intra-Community VAT.
  • National VIES member-state databases occasionally return MS_UNAVAILABLE or TIMEOUT during maintenance windows; retry queuing and documentary transport proof (Art. 45a Implementing Regulation 282/2011) are still needed for zero-rating.
  • Some member states withhold trader name/address strings in VIES for data-protection reasons unless matched by the requester.

General regulatory information, not legal or tax advice.

Engineering & data format details

Technical syntax & implementation.

Technical note 01

Validating PT VAT IDs before hitting VIES rate limits

Sending malformed checkout strings directly to VIES wastes rate-limited slots and triggers INVALID_INPUT faults. Running validateVatId locally rejects bad formats and mistyped check digits in microseconds before calling VIES:

GET https://ec.europa.eu/taxation_customs/vies/rest-api/ms/PT/vat/<number>
Accept: application/json
// Local pre-check pattern for Portugal: ^\d{9}$

Matching deliverable

Fixed-price deliverable & live preview.

Digital deliverable · Under 10 minutesSold by MeWeBe Limited

EU Digital Product Passport & Peppol Pack

A scannable product passport and a validated e-invoice, ready for EU buyers.

£35($45 USD)one-off

DPP JSON-LD, GS1 Digital Link QR pack and Peppol BIS 3.0 validation.

VAT included where applicable · Card or PayPal, zero surcharges · 14-day fix-or-refund promise

Portugal Q&A

Frequently asked questions.

Does a valid syntax check on a PT number allow me to zero-rate an EU B2B order?
No. Under Article 138(1)(b) of Directive 2006/112/EC, the customer's PT VAT number must be actively registered in VIES for intra-Community transactions (and in some countries, such as Spain's ROI or Italy's VIES archive, domestic tax numbers are not automatically enabled in VIES until opted in).
What else is required alongside a valid VIES number for 0% intra-Community supply of goods?
Article 138(1) and (1a) require proof of physical transport to another EU member state (Implementing Regulation (EU) No 282/2011, Art. 45a) and accurate reporting of the customer's VAT number on the supplier's EC Sales List / recapitulative statement.

Continue exploring

Related rules & jurisdictions.

Also in PortugalAccessibility

Portugal — European Accessibility Act (EAA)

Directive (EU) 2019/882 (European Accessibility Act) and Decreto-Lei n.º 82/2022, de 6 de dezembro (transposing Directive (EU) 2019/882)

Directive (EU) 2019/882 (European Accessibility Act); Diário da República n.º 234/2022, Série I
Also in PortugalE-invoicing & Peppol

Portugal — Peppol BIS Billing 3.0 & EN 16931

Directive 2014/55/EU on electronic invoicing in public procurement, CEN semantic standard EN 16931-1:2017, and OpenPeppol BIS Billing 3.0

Directive 2014/55/EU, Art. 1 & Art. 7; CEN EN 16931-1:2017
Also in PortugalProduct passports & safety

Portugal — EU Battery Passport (Reg. 2023/1542)

Regulation (EU) 2023/1542 concerning batteries and waste batteries, Art. 77, Art. 78 & Annex XIII

Regulation (EU) 2023/1542 (OJ L 191, 28.7.2023), Art. 77–78 & Annex XIII
Neighbour · ESOmnibus & VIES VAT

Spain — VIES VAT Validation (ES)

Council Directive 2006/112/EC (EU VAT Directive), Art. 138(1)(b), Art. 214 & Art. 215; Council Regulation (EU) No 904/2010, Art. 17 & Art. 31

Council Directive 2006/112/EC (as amended by Directive (EU) 2018/1910 'Quick Fixes'); Council Regulation (EU) No 904/2010
Neighbour · FROmnibus & VIES VAT

France — VIES VAT Validation (FR)

Council Directive 2006/112/EC (EU VAT Directive), Art. 138(1)(b), Art. 214 & Art. 215; Council Regulation (EU) No 904/2010, Art. 17 & Art. 31

Council Directive 2006/112/EC (as amended by Directive (EU) 2018/1910 'Quick Fixes'); Council Regulation (EU) No 904/2010
Neighbour · IEOmnibus & VIES VAT

Ireland — VIES VAT Validation (IE)

Council Directive 2006/112/EC (EU VAT Directive), Art. 138(1)(b), Art. 214 & Art. 215; Council Regulation (EU) No 904/2010, Art. 17 & Art. 31

Council Directive 2006/112/EC (as amended by Directive (EU) 2018/1910 'Quick Fixes'); Council Regulation (EU) No 904/2010