Electronic Invoicing

Portugal: Electronic Invoice with the Public Administration

B2G Electronic Invoice Portugal

Electronic invoicing in Portugal is mandatory in transactions between suppliers and public administrations. The eSPap, Shared Services Entity of the Public Administration, plays the role of coordinating entity in the implementation of the electronic invoicing system in Portugal.

Legal framework for B2G electronic invoicing in Portugal

Electronic invoicing in Portugal is regulated by Decree Law 111-B/2017, which details Directive 2014/55/EU on the use of electronic invoicing in public procurement, mandatory for all member states. This Decree Law was later amended by Decree 123/2018 to define new features of the model and different implementation phases.

Electronic invoicing system in Portugal

The electronic invoicing system in the public administration of Portugal is based on a decentralized model, allowing public bodies to use the invoice reception platform provided by eSPAP or develop their own platforms for receiving, validating, and processing invoices. Connection can be made through the AS2 protocol or via Web Services.

Public Entities obliged to use the eSPap platform

  • Direct Government Administrations
  • Public Institutes

Public Entities voluntarily using the eSPap platform

  • Presidency of the Republic
  • Assembly of the Republic
  • Attorney General's Office
  • Courts
  • Independent administrative entities
  • Public Sector Business Entities (Hospitals)
  • Universities

Characteristics of electronic invoicing in Portugal

The mandatory documents for issuance in transactions with public administrations are the invoice, credit note, and debit note.

Invoice format: The two formats approved by the public administration can be used: UBL 2.1 "CIUS-PT" and CEFACT "CIUS-PT".

Elements that the structured file must contain:

  • Process and invoice identifiers
  • Billing period
  • Information about the co-contractor
  • Information about the public contractor
  • Information about the beneficiary entity if different from the above
  • Information about the co-contractor's tax representative
  • Contract reference
  • Delivery conditions
  • Payment instructions
  • Information about adjustments and charges
  • Information about invoice items
  • Total invoice amount

Electronic signature and storage: Electronic signature is mandatory, and the archiving of invoices for 10 years is required for both the issuer and the recipient.

Unique Document Code (ATCUD) and Two-Dimensional QR Code

The Portuguese tax authority (Autoridade Tributaria e Adueneira - AT) announces a new requirement to include a unique document code ATCUD (Sequential Number Validation Code) and a two-dimensional bar code (QR code) in invoices and relevant tax documents. This measure aims to simplify the communication of invoices and better monitor taxpayer transactions, thus combatting the informal economy, fraud, and tax evasion.

ATCUD Codes included on invoices must be legible regardless of the medium in which it is presented to the customer, including invoices in both electronic and printed format. The representation of the QR code will only affect invoices that are presented in paper or signed PDF. In documents with multiple pages, the ATCUD code must appear on each. The QR code can be placed either on the first or last page.

Requirements for Including ATCUD and QR Codes on Invoices:

  • Have a software solution certified by the AT.
  • Have the serial validation code assigned by the AT.

EDICOM Global Electronic Invoicing Platform

If your company has an electronic invoicing project in Portugal or any other country worldwide, EDICOM can help you with your tax obligations. Our platform allows integrated management of electronic invoicing with Portuguese public administrations, as well as other tax-related telematic procedures such as the SAF-T accounting file declaration.

EDICOM offers its clients a global solution that complies with all technical requirements established in the Portuguese B2G electronic invoicing system or any other country in the world.

Need more information about electronic invoicing in Portugal?

Contact one of our specialists and clarify all your doubts about our data integration solutions.

Contact now

Upcoming Deadlines in Portugal

Stay ahead of the key dates on entry into force of tax and e-invoicing obligations around the world.

EDICOM News Global | Find out more about Electronic Invoicing

B2B e-Invoicing in the United Arab Emirates (UAE): Peppol DCTCE scheduled for 2026

The government of the United Arab Emirates is preparing for the widespread introduction of B2B e-invoicing by 2026

How the Online Electronic Invoice System works - FEL de Guatemala

We explain all the details about the new electronic invoicing system, FEL

Poland: Mandatory B2B Electronic Invoicing as of February 2026

The Polish government has confirmed the timeline for KSeF e-Invoicing as of Februrary 2026 for large taxpayers