Skip to main content

Introduction

Before a supplier can issue tax documents in Portugal through Invopop’s certified implementation, they must be registered with the AT Portugal app, provide their credentials for the Autoridade Tributária e Aduaneira (AT) web services, and register the document series they will issue with. In this guide you’ll learn how to register a supplier using the AT Portugal app, keep their data up to date, and manage their document series. Once a supplier is registered, continue with the companion guide: Portugal: Issuing invoices.

Prerequisites

To register a supplier with the AT, you will need:
  • Supplier details, including:
    • Legal business name
    • Tax ID
    • Business address
  • An email address for the supplier to access the Supplier Portal
  • The supplier’s credentials to access the AT’s web services for registering series and report documents in real-time

Setup

There are four key processes to prepare:
  • connect the AT Portugal app,
  • create a supplier post-registration workflow,
  • configure the AT Portugal app, and,
  • configure a supplier registration workflow.
All of the following steps must be carried out from the Invopop Console.
1

Connect the AT Portugal App

  1. Navigate to ConfigurationApps.
  2. Find AT Portugal in the app discovery list.
  3. Click Connect to activate.
2

Create Supplier post-registration workflow

AT supplier post-registration workflow

Marks Suppliers as “Registered”. You will select this workflow in the AT (Portugal) app configuration later.
3

Configure the AT Portugal App

  1. Navigate to ConfigurationApps.
  2. Find AT Portugal in the connected apps list.
  3. Click Configure and choose the “Post-registration workflow” we created in the previous step.
  4. Click the Save button.
4

Configure the supplier registration workflow

AT supplier registration workflow

Issues a registration request for a supplier to complete.

Register a supplier

1

Submit the Supplier Information

This can be done either manually via the Invopop Console or programmatically via the API. The process is essentially the same; here we’ll do it manually.Find the Parties section of the sidebar and click Suppliers. Click the + New Supplier button to be presented with a new editor. You can use the following example as a template, and replace it with the details of your company. Note that you’ll need the details of a real company both in the sandbox and production environments:
Portugal AT supplier example
Each supplier must have a unique email address. The email serves as the login for the Supplier Portal, so it can only be linked to one supplier. Attempting to register a different supplier with an already-used email will result in an error.
Click Build, ensure there are no errors, and click Save.We should now see the document. Find and click the Select Workflow button. Select the Register Supplier workflow created during setup, and click Run Workflow.The execution should be successful, and the silo entry will now be in the “Processing” state.
2

Obtain the Supplier's AT Credentials

To complete the registration process, the supplier will need to obtain the credentials of a user with the necessary permissions in the AT’s Portal das Finanças. To create a new user, the supplier can follow these steps:
  1. Go to the AT’s Portal das Finanças and click on the Iniciar Sessão button.
  2. Authenticate by any of the available methods.
  3. Go to Todos os Serviços > Autenticação de Contribuintes > Gestão de Utilizadores.
  4. Click on the Criar Novo Utilizador button.
  5. Fill in the form with the required information. We recommend setting a name that identifies the purpose of the user, for example “Invopop User”.
  6. Select the user permissions, depending on the supplier needs:
    • WSE – Always required. It allows to register series for any document type.
    • WFA – Required if the supplier wants to submit invoices to the AT in real-time, rather than using SAF-T.
    • WDT – Required if the supplier wants to submit transport documents (e.g. “Guia de Remessa”, “Guia de Transporte”, etc.) to the AT in real-time, rather than using SAF-T.
  7. Click on the Submeter button to create the user.
  8. Store the username and password in a secure location, as they will be needed in the next step.
3

Provide the Supplier's AT Credentials and Register Series

White-label integration: If you need to fully integrate this functionality into your own platform, the AT Portugal API provides programmatic access to manage credentials, register series, and generate SAF-T reports without requiring suppliers to use the Supplier Portal as described below.
Now, the supplier will need to complete the registration process in the Invopop’s Supplier Portal:
  1. Go to the Invopop AT Portugal Supplier Portal
  2. Enter the email address provided in the supplier’s information. The system will send to the provided address a code to complete the authentication process.
  3. Once logged in, go to Credentials, enter the AT credentials obtained in the previous step, and press Save.
  4. Go to the Series section, click + Register and register at least a series for each document type that the supplier will issue.
Once the series are registered, the supplier will be able to issue documents using them. When this happens, the system will automatically execute the “Post-registration workflow” if one was configured.
For detailed information about series management in Portugal, including naming conventions and automatic sequence assignment, see the Series management section below.
At this point, you’re ready to start issuing documents on behalf of the supplier. Head over to the AT issuing invoices guide to continue.

Updating supplier data

After a supplier has been registered, you may need to update their information over time — for example, a change of address. Keep in mind that supplier data is used in two different contexts:
  • SAF-T reports use the data stored in the Supplier Record. To have updated information appear in SAF-T reports, update the Supplier Record directly via the API or the Console. Re-running the registration workflow is not necessary for data-only changes.
  • Printed PDFs use the supplier details included in each individual invoice, not from the Supplier Record. Make sure the invoice data is correct at the time of issuance.
If you need to change the supplier’s login email for the Supplier Portal, update the email in the Supplier Record and re-run the registration workflow so the portal access is updated accordingly.

Series management

Series management in Portugal has specific requirements that differ from other countries. Understanding these particularities is essential for proper document issuance.

Naming

All series names in Portugal must follow a specific format:
  • Document type prefix: The name must start with a code indicating the document type (e.g., FT, FS, FR, NC…), followed by a space.
  • Base name: After the space, you can add any custom name you prefer. The custom name can contain letters, numbers, and most special characters, but not spaces, forward slashes (/), or carets (^).
Examples: FT A001, NC 2024-01, FR INV-2024 When you register series through the Supplier Portal, you’re asked to provide a base name (without the document prefix) and select the document types you plan to issue. The portal combines each selected prefix with the base name, registers every resulting series with the AT, and retrieves the corresponding validation code required for generating ATCUD codes.

Sequence assignment

Unlike other countries, Portugal regulations do not allow pre-assigning sequence numbers to documents. The sequence number (i.e., the document’s code property) is automatically assigned during the Record document for SAF-T step in your workflow, following AT regulations. This is why you’ll find no sequence step in Portugal workflow templates and you should not add one.

Series type

Every series registered with the AT has a type that determines its purpose. You must choose one of three types when registering a series, whether through the Supplier Portal or the API:
The series type is set at registration time and cannot be changed afterward. Make sure to choose the correct type for your use case.

FAQ

Run the AT Register Supplier workflow with the supplier’s NIF and chosen reporting model. Invopop registers the issuance series with AT and generates the ATCUD prefix to be embedded in every issued document.
For real-time submission, an AT API username/password is required (issued through the AT portal). For SAF-T monthly export, no live credentials are needed — only the supplier’s NIF and series registration.
For real-time submission, Invopop stores AT API credentials encrypted at rest. For SAF-T export model, no live credentials are needed — the supplier (or their accountant) downloads the SAF-T file and uploads it manually to AT’s portal.
More available in our Portugal FAQ section

Participate in our community

Ask and answer questions about Portugal’s regulation →