Skip to main content

Start here

This guide contains public integration notes for Portugal. Use it for identifier formats, search behavior, and country-specific caveats. The live source of truth for coverage, pricing, data sources, documents, legal forms, roles, and status values is the pricing page.

Portugal coverage, pricing, and sources

Open the current catalog for supported datapoints, documents, sources, identifiers, and availability.
Country details below are preserved as integration notes. If a table or example conflicts with the live pricing page, use the pricing page as the source of truth and contact support.

Table of Contents

Data Sources

Portugal uses a combination of a private business intelligence platform and the official registration authority. For a given entity, data comes from a single primary source (all-or-nothing model). There are two distinct data pathways: one for structured company profile data and one for official document retrieval.

Company Profile Data

  • Aggregated commercial register source — A Portuguese business information platform that consolidates company data from official registries. Used as the primary source for all structured company data. A company report is retrieved from the source, from which all structured attributes are extracted via AI parsing: company name, legal form, status, registration date, registered address, share capital, activity codes (CAE), legal representatives, and shareholders.

Official Documents

  • Instituto dos Registos e do Notariado (IRN) — The Portuguese registration and notary authority, operating under the Ministry of Justice since 2007. Used exclusively for official document retrieval. Two document types are available: the Certidao de Registo Comercial (permanent commercial register certificate) and the Certidao do Ultimo Pacto Social/Estatutos Atualizados (latest articles of association). Both are delivered via an email-based retrieval flow through the IRN portal.

Publications (all company data)

  • Publicacoes do Registo Comercial — Official commercial register publications, and the source of all Portuguese company data. Publications include legal announcements, corporate acts, and other mandatory filings. In verification mode, the most recent publications are read chronologically and the company profile, legal representatives and shareholders are extracted by AI from them; the most recent publication determines the current company status. In onboarding mode, base company fields (legal name, NIPC, legal form, status, share capital) are reconstructed from the same publications ahead of time and refreshed daily, so they are returned instantly; officers and shareholders are not included. Neither mode performs a live query against the register, so both carry a cached_from_registry data source on publicacoes_mj.
AI-parsed data: Portugal’s company profile data is entirely AI-parsed from HTML reports. There is no structured company API available. All attributes (including legal form, status, legal representatives, and shareholders) are extracted by AI from HTML content.

Company Identifiers

Query Identifiers

NIPC Format: The Portuguese NIPC (Numero de Identificacao de Pessoa Coletiva) is a 9-digit tax identification number for companies. For commercial companies, the first digit is typically 5. The 9th digit is a check digit calculated using a modulo 11 algorithm with weights [9, 8, 7, 6, 5, 4, 3, 2].

Identifiers in API Response

Once you retrieve company data, the identifiers object contains all available identifiers for that entity:

Search Capabilities

Search implementation: Portugal search is performed via the aggregated commercial register source. Both NIF-based and name-based searches are routed through the same search workflow. Results include company name, NIF, and address (city/region). Brand results are automatically filtered out.

Quirks & Gotchas

Mappings

Company Status

Company status is extracted from HTML reports via AI parsing. There is no deterministic status mapping — the AI infers the status from the document content and standardizes it.
AI-inferred status: Since all company data is AI-parsed from HTML reports, status values may vary in their exact local names depending on how the source presents the information. The AI standardizes these to the Topograph status enum. For the onboarding profile (publication-based source), dissolution is detected from the announcement type field of the most recent publication.
Portuguese legal forms are extracted from HTML reports via AI parsing. The AI identifies the legal form from the company report and provides both the local Portuguese name and standardized classification. ISO 20275 (ELF) codes are assigned via AI enrichment.

Key Business Forms

Sole Entrepreneurs

Cooperatives

Non-Profits

Public & Government Entities

European & International Forms

Legal form extraction and standardization are entirely AI-inferred from the source report content. ISO 20275 (ELF) codes are added via AI enrichment. The local Portuguese legal form name from the source document is always preserved verbatim. The tables above list the most common forms; the AI can recognize additional forms not listed here.
Legal representatives are extracted from HTML reports via AI parsing. The AI is specifically instructed to exclude board members, administrators, and auditors — only active legal representatives with executive authority are returned.
AI-inferred role classification: Since all role data is AI-parsed from HTML content, the exact role names may vary depending on how the source presents them. The AI translates Portuguese role names to English and classifies them as legal representatives or other key persons based on context. Both individual and corporate representatives are supported.

Other Key Persons

Other key persons (supervisory roles, auditors, etc.) are excluded from the Portugal response. The AI parser is instructed to return only active legal representatives with executive authority.

Shareholders

Shareholders are extracted from HTML reports via AI parsing. Both individual and corporate shareholders are supported.

Extraction Logic

Self-reference exclusion: The AI parser is specifically instructed not to include the queried company itself as a shareholder. Entries listed as “Outros” (Others) without specific details are also excluded.

Activity Code Mapping

Portugal uses the CAE (Classificacao Portuguesa de Actividades Economicas), currently in Revision 3, maintained by INE (Instituto Nacional de Estatistica / Statistics Portugal). CAE extends the European NACE Rev. 2 standard. The system maps activity codes across three levels:
CAE codes are extracted from the source report by AI parsing. The AI is specifically instructed to recognize the CAE classification format. NACE and ISIC derivations use formal mapping tables when possible, with AI fallback. The isAIInferred flag distinguishes official vs. AI-derived codes.

Data Availability

Data Availability Matrix

Legend: ✅ Available | ❌ Not Available | Async = Asynchronous processing

Documents by Company Type

All Companies (NIPC)

Document Delivery Time: Portuguese certificates (Certidao) are obtained through an email-based retrieval flow via the IRN portal. The process involves: (1) submitting a document request via the IRN portal, (2) receiving an access code by email (up to 5 minutes), (3) waiting for document availability (usually 1-2 hours, up to 24 hours).

Document Delivery Flow

Access code reuse: Access codes are valid for 1 year. Subsequent requests for the same company and document type reuse the existing code, reducing delivery time significantly. The code allows retrieval of the most up-to-date version of the document each time it is used.

Example API Responses

All examples use placeholder data. Query: POST /v2/company with { "id": "<id>", "countryCode": "PT", "dataPoints": ["company", "legalRepresentatives"] }
Note: Closed companies have active: false. Data availability (legal representatives, shareholders) may be limited compared to active companies.
Note: Sociedade Unipessoal por Quotas has a single shareholder (100% ownership) and typically a single manager (Gerente).
Documents are returned when "dataPoints": ["availableDocuments"] is requested.

Data Source Priority & Routing

For a given entity, data comes from a single primary source — the system does not merge attributes across data sources (all-or-nothing model).
Source Priority for Company Profile:
  1. Commercial register source — A company report is retrieved from the aggregated commercial register source. If the company is found, all structured attributes are extracted via AI parsing from the report. This is the only source for the company profile datapoint.
  2. If the company is not found in the source, a SourceError.notFound is returned.
Source Priority for Onboarding Profile (alternative datapoint):
  1. Publications — The system queries for official commercial register publications. Up to 10 most recent publications are downloaded (HTML preferred, PDF fallback), combined chronologically, and parsed via AI.
  2. If no publications exist for the company, a SourceError.notFound is returned.
Document Retrieval:Documents are retrieved directly from the IRN (Instituto dos Registos e do Notariado) portal. This is independent of the company profile data source.

Attribute-Level Source Mapping

All company profile attributes come from a single AI parsing of the source HTML report: