Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.invopop.com/llms.txt

Use this file to discover all available pages before exploring further.

https://assets.invopop.com/apps/at-pt/icon.svg

AT Portugal Guide

View implementation guide ›
DeveloperInvopop
CategoryGovernment
ScopeB2B, B2C
CountryPortugal
Invopop is an officially certified invoice provider in Portugal. Our AT Portugal app supports invoice, receipt and delivery note compliance with Portugal’s AT e-invoicing regulation. Automate supplier onboarding, SAF-T report generation, invoice generation with ATCUD, and more. This app enables businesses (and their suppliers) to issue invoices and other document types in accordance with Portuguese law.Key Features
  • Workflow automation: This app provides automated workflows for issuing invoices, onboarding suppliers, and managing fiscal submissions to the Autoridade Tributária e Aduaneira (AT).
  • Legally compliant PDF documents: Invoices, payments and delivery notes are generated with a certified ATCUD and QR codes, as required by the Portuguese tax legislation.
  • SAF-T (PT): The app makes workflow steps available to manage SAF-T (PT) entries for each supplier.
  • Realtime and manual reporting options: Report in real-time via webservice or generate a file to upload through the AT’s portal.
  • Supplier portal: Suppliers can generate SAF-T PT reports and create authorized series via the Supplier Portal.
  • Supplier registration: Automatic registration (no onboarding process) with a single workflow step.
  • White-label support: Invoicing can be performed either under a client’s brand (white-label) or directly by the issuing organization, according to operational needs.

Supported Document Types

The current integration supports the following document types for reporting to the AT:
CategoryCodePortuguese NameEnglish Translation
InvoicesFTFaturaStandard Invoice
FSFatura SimplificadaSimplified Invoice
FRFatura-ReciboInvoice-Receipt
NDNota de DébitoDebit Note
NCNota de CréditoCredit Note
Payment receiptsRGOutro ReciboOther Receipt
Transport documentsGTGuia de transporteWaybill
GRGuia de remessaDelivery Note
Other SAF-T document types beyond those listed above are not currently supported. If you require support for additional document types, please contact us so we can analyze and consider prioritizing their development.Make sure to check out our AT Portugal Guide for instructions on how to issue invoices and onboard suppliers.

FAQ

Invoicing questions
In Portugal, fiscally relevant documents issued through invoicing software must be reported to the Tax Authority (AT). There are two possible reporting models:
  1. SAF-T monthly export – a single XML file including all documents for the month. This file is generated by the invoicing software and then uploaded manually to the AT portal, as there is no API available for submitting it automatically.
  2. Real-time transmission – instead of a monthly file, each invoice is sent individually to the AT at the time of issuance, using the authority’s API.
Whether one model or the other is used usually depends on the issuer’s accountant’s preference (who typically uploads the SAF-T monthly report should they choose that model). Invopop’s AT Portugal app supports both reporting methods, so each supplier can pick the one that best fits their needs.
Install the AT Portugal app, register the supplier with their NIF, and pick a reporting model (monthly SAF-T or real-time submission). Run invoices through the AT Issue Invoice workflow — Invopop generates the ATCUD, QR, and signature automatically.
When issuing in Portugal you may see an error similar to:
recording envelope: totals: (payable: too high according to Artigo 40.º do CIVA.)
What it means: Article 40 of the Portuguese VAT Code (Código do IVA) sets limits and rules for simplified invoices (faturas simplificadas). If the payable amount exceeds what is allowed for a simplified invoice in your situation, the rules effectively require a full invoice (fatura completa) with proper buyer identification—not an anonymous or minimal customer.What to do:
  • Treat the document as a full invoice and supply real customer tax data when you have it.
  • If you do not have the buyer’s tax information, Portuguese practice allows the generic retail customer: set the customer name to Consumidor final and the tax ID to 999999990.
  • For transactions above €1,000, the law also expects name and address on the document. The AT may not always reject submissions that omit some of that detail, but you should follow the rule for full compliance.
Adjust your GOBL customer block (or equivalent) accordingly and re-run the workflow.
See the Portugal tax regime in GOBL for tax categories, NIF rules, and AT-specific extensions. The pt-saft-v1 addon documents fields required by the SAF-T schema.
Registering supplier questions
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.
Reporting questions
Real-time model: per invoice. SAF-T model: once per month, by the 5th of the following month. The choice is set at supplier registration and can be changed by re-registering.
For invoice-level reporting, choose the model at supplier registration: real-time (Invopop submits per invoice) or monthly SAF-T (Invopop generates the file by the 5th of the following month, accountant uploads). Periodic VAT and IES are filed separately by the accountant.
Monthly SAF-T-PT XML uploaded to AT’s portal (no API for this), or real-time WebService XML calls per invoice. Both follow the same SAF-T schema; real-time submits one document at a time, SAF-T submits an aggregated file covering the month.
More answers in our Portugal FAQ section

Participate in our community

Ask and answer questions about AT Portugal App →