Certified Invoicing in Portugal: SAF-T, ATCUD, and QR Codes Explained
Management · By Equipa ONEGEST ·
Understand Portugal's mandatory invoicing rules, including SAF-T files, ATCUD codes, and QR codes, to keep your business fully compliant and avoid heavy fines.
Certified invoicing in Portugal requires every business to issue sales documents using tax-software certified by the Portuguese Tax Authority (Autoridade Tributária e Aduaneira - AT). This compliance framework relies on three main technical components: monthly SAF-T file exports, unique document codes called ATCUD, and printable QR codes for instant digital validation. Utilizing certified software ensures total legal compliance, streamlines tax reporting, and protects your company from severe administrative fines.
Who is required to use certified invoicing software in Portugal?
In Portugal, nearly all companies, sole traders, and freelancers who sell goods or provide services must issue commercial documents—including invoices, receipts, and transport documents—through software approved and registered by the Portuguese Tax and Customs Authority. Software certification guarantees that financial records remain tamper-proof, accurate, and fully traceable.
Issuing billing documents using unapproved text editors, spreadsheets, or generic uncertified software constitutes a serious tax infraction. In addition to meeting standard formatting rules—such as displaying the supplier and customer Tax Identification Numbers (NIF), itemized descriptions, applicable VAT rates, and final totals—certified systems utilize cryptographic hashing to prevent historical document alterations or stealthy deletions.
How does the SAF-T file work for monthly tax reporting?
The Standard Audit File for Tax Purposes – Portuguese Version (SAF-T PT) is a standardized XML file that extracts accounting and invoicing data directly from your management software. Businesses operating in Portugal must deal with two distinct variants of this file:
- SAF-T Billing File: Summarizes all invoices, credit notes, receipts, and shipping documents generated during a calendar month. You must submit this file to the national tax portal (e-fatura) by the 8th day of the following month.
- SAF-T Accounting File: Captures detailed general ledger entries for the entire fiscal year. Accountants use this export to prepare the annual Simplified Corporate Information (IES) filing.
Maintaining clean data within your billing system is essential. Incorrect tax codes, missing customer details, or broken product references cause automatic filing rejections on the government portal, which can trigger compliance audits and administrative penalties.
What are ATCUD codes and QR codes on Portuguese invoices?
Portuguese tax legislation mandates two visible elements on all printed and electronic billing documents (including PDFs): the ATCUD code and a standardized QR code. These features enhance document authenticity and streamline consumer tax tracking.
The ATCUD is a unique document validation code formatted as a combination of an AT-issued series validation code and the document's sequential number. Before your business can issue invoices under a new series (e.g., a new year or a new store location), you must register the series with the tax authority to obtain its validation code.
The QR code is a 2D barcode printed on every invoice. It contains a structured summary of the transaction, including both Tax IDs, taxable amounts, VAT calculations, and the corresponding ATCUD. This allows end consumers to quickly register non-itemized invoices directly into their personal e-fatura tax accounts using a mobile camera.
Comparison of Portuguese tax compliance requirements
The following table outlines the operational differences between the core tax reporting requirements in Portugal:
| Requirement | Description | Primary Purpose | Filing / Application Frequency |
|---|---|---|---|
| SAF-T (PT) File | Structured XML data file. | Transmits monthly billing details directly to the tax portal. | Submitted monthly by the 8th day. |
| ATCUD Code | Unique code containing series validation. | Guarantees document authenticity and serial tracking. | Printed on every commercial document. |
| QR Code | Two-dimensional barcode. | Enables quick mobile validation and consumer tax reporting. | Displayed on physical prints, screens, and PDFs. |
What are the risks of using non-compliant invoicing software?
Relying on outdated desktop tools or uncertified billing software exposes small and medium-sized enterprises (SMEs) to significant financial and legal risks:
- Heavy Tax Fines: Missing monthly SAF-T submission deadlines or issuing invoices without a valid ATCUD code leads to immediate financial penalties from tax authorities.
- Rejected Invoices: B2B clients, corporate finance departments, and public entities routinely reject invoices that do not meet strict legal formatting standards.
- System Silos: Uncertified standalone software rarely integrates with modern inventory management, payment processing, or general accounting platforms.
- Data Loss & Security Vulnerabilities: Legacy invoicing software without active maintenance leaves financial data vulnerable to corruption, hardware failures, or cyber threats.
How to choose and implement a compliant ERP system for your business
Adopting a modern cloud-based Business Management & ERP solution eliminates compliance headaches. An integrated cloud ERP automatically registers document series with the tax authority, generates valid ATCUD and QR codes on every document, and prepares error-free SAF-T files ready for automated submission.
When combined with a Sales & CRM system, your entire commercial operation runs smoothly. Approved quotes convert instantly into legal invoices without manual re-entry, updating real-time inventory levels and accounts receivable. Protecting these critical financial records also requires robust Cybersecurity protection and scheduled Backup & Business Continuity routines.
At ONEGEST, we provide end-to-end IT and management software solutions for SMEs under simple, fixed monthly plans or dedicated implementation projects. Our certified ERP setup projects start at €890 for 1–3 users (or €1,890 for 4–10 users), supported by complete data migration, onboarding, and ongoing monthly technical management. Explore our all-inclusive IT managed packs or standalone managed services to keep your infrastructure secure and compliant.
Frequently asked questions
Can I issue invoices using Microsoft Excel or Word in Portugal?
No. Portuguese tax law strictly prohibits generating commercial invoices using spreadsheet applications or word processors. All sales documents must be issued through software certified by the Portuguese Tax Authority that locks and cryptographically signs document entries.
When is the monthly deadline to submit the SAF-T file?
The billing SAF-T file for any given month must be submitted to the e-fatura portal by the 8th day of the following month. Certified cloud ERP systems allow you to review and transmit this file in just a few clicks.
What happens if an invoice is issued without an ATCUD code?
An invoice generated without a valid ATCUD code is considered legally non-compliant. Customers are within their rights to refuse payment until a compliant document is provided, and the issuing business faces administrative tax fines.
Can certified invoicing software integrate with CRM and inventory tools?
Yes. A fully integrated cloud ERP links billing directly to stock management, sales pipelines, treasury control, and accounting, preventing double data entry and ensuring total data consistency.
Streamline your business operations and ensure full tax compliance today. Explore our certified Business Management & ERP services or book a free 20-minute diagnostic consultation with the ONEGEST team.