All countries

E-Invoicing in Portugal

B2G MandatoryPeppol

Portugal combines mandatory B2G e-invoicing with extensive reporting requirements for all taxpayers. B2B e-invoicing is voluntary, but the country requires AT-certified invoicing software, ATCUD unique document codes, QR codes on all invoices, and monthly SAF-T submissions. QES (Qualified Electronic Signature) becomes mandatory for PDF invoices from January 2027.

Mandate Status

PhaseStatusScope
SAF-T reportingLive (Jan 2013)All taxpayers (monthly)
B2GLive (Jan 2025)All suppliers to public entities
ATCUD + QR codesLive (Jan 2023)All invoices
QES for PDFsJan 2027All PDF invoices

Technical Specifications

Required CIUSCIUS-PT (UBL 2.1 or CEFACT CII)
Routing identifierNIF (tax identification number)
PeppolYes — Peppol accepted for B2G delivery
Accepted formatsCIUS-PT (UBL 2.1), CIUS-PT (CEFACT CII), Peppol BIS 3.0

Implementation Notes

SAF-T and ATCUD. Portugal's primary compliance mechanism is the monthly SAF-T billing submission (due by the 5th of the following month) plus the ATCUD unique document code on every invoice. Your ERP integration must generate ATCUD codes from AT-certified software and include QR codes on paper/PDF output. This applies regardless of whether the invoice is electronic or paper.

B2G via FE-AP. B2G invoices use the CIUS-PT format and are submitted through FE-AP or alternative approved channels (WebServices, AS2, Microportal for low-volume suppliers). Invoices must be archived for 10 years.

Common Rejection Patterns

#CodeDescription
1PT-R-003SAF-T compliance recommendedFix guide
2PT-R-001Portuguese NIF requiredFix guide
3PT-R-002AT document codes requiredFix guide
4PT-R-004ATCUD validation code requiredFix guide
5BR-PT-01Portuguese NIF requiredFix guide

Invoice Navigator auto-remediates these at pipeline speed. See how →

View all Portugal error codes

Ship compliant Portugal invoices

Validate, fix, and route Portugal e-invoices through a single API. No XML editing required.

Get API Access