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.
1
Connect the AT Portugal App
- Navigate to Configuration → Apps.
- Find AT Portugal in the app discovery list.
- Click Connect to activate.
2
Create Supplier post-registration workflow
- Template
- Code
- Build from scratch
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
- Navigate to Configuration → Apps.
- Find AT Portugal in the connected apps list.
- Click Configure and choose the “Post-registration workflow” we created in the previous step.
- Click the Save button.
4
Configure the supplier registration workflow
- Template
- Code
- Build from scratch
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: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.
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.
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:
- Go to the AT’s Portal das Finanças and click on the Iniciar Sessão button.
- Authenticate by any of the available methods.
- Go to Todos os Serviços > Autenticação de Contribuintes > Gestão de Utilizadores.
- Click on the Criar Novo Utilizador button.
- Fill in the form with the required information. We recommend setting a name that identifies the purpose of the user, for example “Invopop User”.
- 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.
- Click on the Submeter button to create the user.
- 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.
- Go to the Invopop AT Portugal Supplier Portal
- 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.
- Once logged in, go to Credentials, enter the AT credentials obtained in the previous step, and press Save.
- Go to the Series section, click + Register and register at least a series for each document type that the supplier will issue.
For detailed information about series management in Portugal, including naming conventions and automatic sequence assignment, see the Series management section below.
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.
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 (^).
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’scode 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
How do I register a supplier with AT?
How do I register a supplier with AT?
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.
What credentials does AT require to authenticate a supplier?
What credentials does AT require to authenticate a supplier?
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.
How are supplier credentials stored in Invopop for Portugal?
How are supplier credentials stored in Invopop for Portugal?
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.
🇵🇹 Invopop resources for Portugal
🇵🇹 Invopop resources for Portugal
Participate in our community
Ask and answer questions about Portugal’s regulation →