English English

MENU

E-Invoicing in Portugal

Country Situation

General Description

In Portugal, e-invoicing rules differ between the public and private sectors.

For B2G, electronic invoicing is mandatory under decree-Law 111-B/2017, which brought the EU directive on public procurement into national law. Large companies are required to issue structured e-invoices since 2021, while small and medium-sized suppliers, as well as micro-enterprises, must comply from 1 January 2026. Public administrations have been obliged to receive and process e-invoices since 18 April 2019, using the national CIUS-PT (a local implementation of EN 16931). Exchange takes place either via the centralised eSPap platform or through service providers designated by each public entity.

For B2B, there is no general mandate yet, but general invoicing rules already apply. All invoices must be created using AT-certified software, reported to the tax authority via the SAF-T billing file, and include a QR code, ATCUD, and hash for authenticity. From 2027, PDF invoices will also need a qualified electronic signature (QES) to be considered as a valid e-invoice.

Portugal is also preparing to extend SAF-T reporting: from 2028, companies will need to submit the full accounting SAF-T file for the 2027 financial year.

FAQs

Is e-invoicing mandatory in Portugal?
Yes, but only for B2G transactions. Suppliers to public entities must issue invoices in the national CIUS-PT format. Large companies already comply, while small and medium-sized enterprises and micro-enterprises must comply from 1 January 2026.
Is e-invoicing mandatory for B2B or B2C?
No. There is no general mandate for B2B or B2C e-invoices. However, all invoices must be created using AT-certified software, reported to the tax authority via the SAF-T billing process, and include the ATCUD, hash, and QR code.
How are e-invoices exchanged with public administrations?
Invoices in CIUS-PT compliant format are sent either through the centralised eSPap (FE-AP) platform or via service providers selected by each public entity.
What is eSPap?
eSPap, also called *Entidade de Serviços Partilhados da Administração Pública* is in charge of the implementation of the electronic invoice in the public administration. The decree 123/2018, dated December 20, grants eSPAP all the power to regulate the technical and functional requirements for the implementation of electronic invoicing with public administrations in Portugal.
Which public entities are connected to eSPap?
Government bodies and public institutes are required to use the eSPap platform to receive their invoices. Other local public entities, such as municipalities, schools, and hospitals, may choose to connect via the eSPap platform or use their own designated service provider.
What is SAF-T?
The standard audit file for tax (SAF-T) is a structured reporting file. In Portugal, “Billing SAF-T” must be submitted monthly or in real time, and “Accounting SAF-T” must be available upon request by the Tax Authority.
What about foreign companies invoicing Portuguese public entities?
They must issue e-invoices in CIUS-PT format and comply with SAF-T reporting obligations, even if non-resident.
When will qualified electronic signatures be mandatory in Portugal?
From 1 January 2027, PDFs used as e-invoices must be signed with a QES.

Country Specs

Mandate StatusMandatory
Model TypeClearance
Government EntityAutoridade Tributaria y Aduaneira (AT)
FormatsUBL 2.1, CII (Cross Industry Invoice)
Infrastructure / PlatformFE-AP (eSPap) central platform and e-invoicing/EDI service provider.
E-signature RequiredQualified electronic signature (QES) will become mandatory on PDF e-invoices from 2027.
Key Deadlines18 April 2019: Public administrations and institutions were required to adapt their systems to be able to receive and process electronic invoices.

1 January 2021: The mandate for issuing e-invoices to public entities became effective for large companies.

1 January 2023: Mandatory use of the unique document code (ATCUD) and QR code on all invoices.

1 January 2026: SMEs, micro-enterprises and public entities as co-contractors must comply with the B2G e-invoicing mandate

1 January 2027: Qualified electronic signature (QES) on PDF e-invoices becomes mandatory.
AR MandatoryYes. Mandatory for suppliers to the public administration (B2G).
AP MandatoryYes. All Portuguese public entities must be able to receive e-invoices.
Peppol AvailableNo
Domestic TransactionsB2G e-invoicing is mandatory for all suppliers of public entities.

B2B/B2C e-invoicing is not yet, but all invoices must be reported through the SAF-T billing process and include ATCUD, hash, and QR code.
Cross-border TransactionsNo. The e-invoicing mandate doesn’t apply to cross-border transactions, except for suppliers to public administrations. That being said, all issued invoices must still be reported through the SAF-T billing process.
Archiving Period10 years
Archiving AbroadArchiving within EU is allowed if integrity, readability, and accessibility for the Portuguese Tax Authority are ensured.

Country Situation

General Description

Portugal stands at the forefront of digital tax innovation with its comprehensive SAF-T (Standard Audit File for Tax) framework. Developed by the Portuguese Tax and Customs Authority (Autoridade Tributária e Aduaneira), the system is designed to ensure total fiscal transparency.

Centred on the technical standards of Decreto-Lei n.º 28/2019 and Portaria n.º 302/2016, the SAF-T Billing mandate requires all VAT-registered businesses to issue invoices via certified billing software, regardless of how they are exchanged. This approach guarantees the integrity of every transaction through RSA cryptographic hashing, ensuring every document is unique and traceable to a specific series and taxpayer via an ATCUD number and a QR code.

To remain compliant, businesses must register their document series with the Tax Authority to obtain validation codes before issuance. Certified software then generates sequential numbers, applies a digital signature to create an immutable chain of authenticity, and produces compliant PDFs and QR codes. Businesses are legally obligated to report this billing data by submitting a monthly SAF-T (PT) file in XML format by the 5th day of the following month. These technical measures create a verifiable link between taxpayers and the state, with all electronic records subject to a mandatory ten-year retention period.

The SAF-T process is distinct from invoice transmission. While the SAF-T file provides the government with a secure electronic data record, the invoice itself can be delivered in various formats. While structured electronic invoicing is not yet mandatory for all B2B transactions, it is required for B2G (Business-to-Government) entities. Beyond billing, the SAF-T framework also includes specific flows for Working Documents and Stock Movements. A forthcoming mandate for SAF-T Accounting, requiring mandatory reporting for the 2027 fiscal year starting in 2028, will complete Portugal's transition to a fully digitized audit environment.

FAQs

What is the SAF-T (PT) Billing file?
The SAF-T (PT) Billing file is a mandatory XML export produced by certified software. It transmits comprehensive billing data to the Portuguese Tax Authority, ensuring full regulatory transparency and the digital validation of all commercial transactions.
Does SAF-T apply to non-resident companies with a Portuguese VAT number?
Yes. All VAT-registered businesses in Portugal, including non-resident companies with a Portuguese VAT number, are required to submit the file. This applies regardless of the company's size or whether the invoices are issued on paper or electronically.
What is the deadline for monthly SAF-T submissions?
The standard deadline for monthly SAF-T Billing submissions is the 5th day of the following month.
Are PDF invoices considered electronic invoices?
Yes, for now and only for B2B/B2C flows. Under current transitional rules, simple PDF invoices are legally accepted as electronic invoices throughout 2026. However, starting 1 January 2027, all PDF invoices must include a Qualified Electronic Signature (QES) to be considered valid electronic documents. For B2G flows electronic invoices have to be issued.
Does the SAF-T file replace the need for an Electronic Signature?
No. These are two distinct layers of compliance. The SAF-T file is a reporting tool that informs the Tax Authority of your transactions. The Qualified Electronic Signature (QES) is a security measure applied to the invoice itself. While simple PDFs are accepted as electronic invoices throughout 2026, the QES becomes a mandatory requirement for all non-EDI electronic invoices on 1 January 2027 to ensure document integrity.
What are the rules for "Self-Billing" (Autofaturação) in the SAF-T context?
Under a self-billing agreement, the customer issues the invoice on behalf of the supplier. In this scenario, the customer’s software must be certified by the Portuguese Tax Authority and must generate a specific SAF-T file section for self-billing. The supplier remains responsible for ensuring that these documents are correctly integrated into their own records and that the self-billing setup is formally communicated to the Tax Authority.

Country Specs

Mandate StatusMandatory
Model TypeClearance
Government EntityAutoridade Tributária e Aduaneira (AT)
FormatsLocal XML
Infrastructure / PlatformAutoridade Tributária e Aduaneira (AT) web portal
E-signature RequiredHASH generated for each invoice by the certified billing software during the SAF-T Process
Key Deadlines2007 - Introduction of SAF-T (PT) file structure via Portaria nº321-A/2007\
2008 - SAF-T mandatory upon request for resident taxpayers using computerized systems\
2012 - Modernisation of invoicing and linkage to SAF-T via Decreto-Lei nº198/2012\
2016 - Official Billing SAF-T XML schema established via Portaria nº302/2016\
2019 - Certified software, ATCUD framework and QR code basis defined via Decreto-Lei nº28/2019\
1 Jan 2022 - QR code mandatory on invoices\
1 Jan 2023 - ATCUD mandatory; SAF-T Billing mandatory for non-residents\
1 Jan 2024 - Deadline becomes 5th of following month
AR MandatoryN/A
AP MandatoryN/A
Peppol AvailableNo
Domestic TransactionsAll invoices must be issued via a certified billing software, reported through the SAF-T billing process and include ATCUD, hash, and QR code regardless of how they are exchanged.
Cross-border TransactionsAll invoices must be issued via a certified billing software, reported through the SAF-T billing process and include ATCUD, hash, and QR code regardless of how they are exchanged.
Archiving Period10 years
Archiving AbroadArchiving within EU is allowed if integrity, readability, and accessibility for the Portuguese Tax Authority are ensured.

Contact an expert

Feeling lost or need more info about this e-invoicing mandate? ecosio can help!

Our team of e-invoicing experts is ready to guide you through everything needed to stay compliant—not just with this mandate, but with all current and upcoming e-invoicing requirements worldwide.
Send us your questions. We’ll provide clear, actionable answers!

Resources related to e-invoicing

E-invoicing newsletter

Stay ON TOP OF E-INVOICING
Sign up to our e-invoicing newsletter to ensure you don’t miss key e-invoicing updates.

The Benefits of e-invoicing

Find out more about why a growing number of businesses are turning to automation and what the benefits of e-invoicing are

Buy vs Build E-invoicing

Compare in-house vs outsourced e-invoicing. Discover the pros and cons of each approach to ensure you choose the right e-invoicing solution.

Simplifying E-invoicing Compliance Without Slowing Down Your Business

Simplify e-invoicing compliance with scalable strategies that cut risk, reduce manual work, and ensure audit-ready invoicing at scale

E-invoicing in Europe Overview

Discover key insights into Europe’s evolving e-invoicing landscape. Learn about country-specific mandates, timelines, and how to stay compliant across borders

ViDA Webinar

Discover how ViDA’s latest changes will impact you in our expert-led webinar. Gain insights, stay compliant, and prepare your business for success!

Looking for something? 👀

🚨 Vos questions sur la réforme, nos réponses en direct

Participez à une session interactive dédiée à la facturation électronique en France. Nos expertes ecosio répondent à vos questions en temps réel.
Mardi 17 mars 2026 · 11h (CET) · 40 min