E-Invoicing in Portugal
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
| Phase | Status | Scope |
|---|---|---|
| SAF-T reporting | Live (Jan 2013) | All taxpayers (monthly) |
| B2G | Live (Jan 2025) | All suppliers to public entities |
| ATCUD + QR codes | Live (Jan 2023) | All invoices |
| QES for PDFs | Jan 2027 | All PDF invoices |
Technical Specifications
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
| # | Code | Description | |
|---|---|---|---|
| 1 | PT-R-003 | SAF-T compliance recommended | Fix guide |
| 2 | PT-R-001 | Portuguese NIF required | Fix guide |
| 3 | PT-R-002 | AT document codes required | Fix guide |
| 4 | PT-R-004 | ATCUD validation code required | Fix guide |
| 5 | BR-PT-01 | Portuguese NIF required | Fix guide |
Invoice Navigator auto-remediates these at pipeline speed. See how →
View all Portugal error codesShip compliant Portugal invoices
Validate, fix, and route Portugal e-invoices through a single API. No XML editing required.
Get API Access