Odoo Portugal E-Invoicing: ATCUD, SAF-T and AT Rules in Odoo 19/20
What Odoo 19 and 20 cover for Portugal: ATCUD, QR code, SAF-T (PT), AT reporting, CIUS-PT and the B2G timeline, plus add-on routes for AT compliance.
Portuguese invoicing rules are some of the strictest in Europe, and Odoo's standard Portugal package covers only part of them. Our Odoo implementation services start by mapping which rules Odoo covers and which need an add-on.
Related service: Odoo for finance teams — accounting, tax and reporting automation.
This guide is for finance leads, accountants and IT teams running or planning Odoo for a Portuguese company. If you also trade in Spain, read our Odoo VeriFactu guide for Spain, since the two regimes work very differently.
What does Odoo Portugal e-invoicing cover in Odoo 19 and 20?
Odoo Portugal e-invoicing in standard Odoo 19 and 20 covers accounting and Peppol, not AT certification. We checked the public source code on both branches.
The Portugal - Accounting module manifest in the public Odoo 20.0 source code depends on base, account and the UBL/CII e-invoicing module. Its data is the VAT tax report. The Odoo 19.0 version is almost identical.
Inside the module you find:
- The Portuguese chart of accounts template (SNC style codes, such as 2111 for receivables and 2211 for payables).
- A taxonomy code field on each account, used in Portuguese accounting reports.
- Default sales and purchase VAT at the normal rate.
- A rule that rounds Portuguese taxes in "included" mode, to match how Portuguese documents total VAT.
The Odoo 20 fiscal localizations page lists Portugal as supported, but without its own documentation page. That is a sign the localization is basic compared with Spain, Italy or Poland.
Is Odoo certified by the AT for invoicing in Portugal?
No official source we found says Odoo holds an AT invoicing software certificate. Do not assume it does, and ask any supplier for the certificate number in writing.
Portugal requires invoicing software to be certified by the Autoridade Tributária e Aduaneira (AT). The rules come from Portaria 363/2010 and Despacho 8632/2014, both listed on the AT's Portal das Finanças.
The OCA l10n-portugal repository has an Odoo 18.0 module called l10n_pt_certification, authored by Odoo and described as a backport of unmerged work. Its printed text template reads "programa certificado n.º 0000/AT", where 0000 is a placeholder, not a real number.
So the honest position is this. Odoo has built certification features, but in the public 19.0 and 20.0 code they are not merged, and we saw no published certificate. Check the AT's list of certified programs before you rely on any module.
What do ATCUD, the QR code and document signing mean?
ATCUD is a unique code on every invoice, and the QR code carries the invoice data in a scannable form. Both are defined in Portaria 195/2020.
Portaria 195/2020, published by the AT on the Portal das Finanças, sets out how it works:
- You communicate each document series to the AT before using it, with the series ID, document type, first number and planned start date.
- The AT returns a validation code for that series.
- Each document's ATCUD joins the validation code and the sequential number, printed as "ATCUD:Code-Number".
- On multi-page documents, the ATCUD appears on every page, just above the QR code.
- The software producer must generate the QR code to the AT's technical specification.
On top of this, certified software signs each document with a hash chained to the previous one, so key data cannot be changed after issue. This is the part standard Odoo does not provide today.
How does Odoo compare with Portuguese AT requirements?

Standard Odoo meets the accounting basics, while the certification items need an extra layer. The table shows where each requirement lands.
| Requirement | Standard Odoo 19/20 (l10n_pt) | What you add |
|---|---|---|
| Chart of accounts and VAT report | Included | Nothing |
| AT software certification | Not shown in public code | Certified module or service |
| Series communication and ATCUD | Not in public code | Add-on with AT series model |
| Document hash and signing | Not in public code | Add-on or certified service |
| AT QR code on invoices | Not in public code | Add-on or certified service |
| SAF-T (PT) billing file | Not in public code | Add-on or service export |
| Peppol sending | Included, BIS Billing 3.0 | Peppol registration |
Odoo's other invoice QR codes (SEPA, Swiss QR-bill, UPI) are payment codes, not the AT code. Our Odoo invoice QR code guide explains the difference.
How do you send invoice data to the AT (e-Fatura communication)?
Every invoice issued in Portugal must be reported to the AT, by the 5th of the following month. The AT confirms this deadline for documents issued from 1 January 2023.
The AT's e-Fatura FAQ lists three ways to report:
- Real-time webservice transmission.
- Uploading a SAF-T (PT) based file on the Portal das Finanças.
- Typing documents directly into the portal.
The same FAQ says SAF-T (PT) files for invoices issued from 1 July 2017 must follow version 1.04_01 under Portaria 302/2016. Older versions are rejected.
Standard Odoo has no AT webservice and no SAF-T (PT) export. So the add-on or service you choose must handle this, or your accountant must upload a file from another tool every month.
What is the SAF-T (PT) timeline for accounting?
The SAF-T (PT) accounting file applies to 2027 periods and is first filed in 2028. That is set in the 2026 State Budget, Lei 73-A/2025.
There are two different SAF-T (PT) files, and people often mix them up:
- Billing SAF-T: used today to report invoices and for tax audits.
- Accounting SAF-T: the full ledger file under Portaria 31/2019, now due for periods from 2027.
Article 95 of Lei 73-A/2025 confirms the accounting file date. If you run Odoo for the 2027 year, your chart of accounts and taxonomy codes must be clean from 1 January 2027.
The good news is that l10n_pt already stores a taxonomy code on each account. Map them now, before the first 2027 entries are posted.
What is the Portugal e-invoicing timeline for B2G and B2B?
B2G e-invoicing is in force, with an SME transition to 31 December 2026, and B2B rules center on PDF acceptance. All dates below come from Portuguese law, except where marked.
| Rule | Date | Status |
|---|---|---|
| Invoice reporting by day 5 of next month | Documents from 1 Jan 2023 | In force (AT FAQ) |
| PDF invoices treated as e-invoices | Until 31 Dec 2026 | Lei 73-A/2025, art. 95 |
| B2G transition for SMEs, micro firms, public bodies | Extended to 31 Dec 2026 | Lei 73-A/2025, art. 260 |
| SAF-T (PT) accounting file | 2027 periods, filed 2028 | Lei 73-A/2025, art. 95 |
| Changes in the 2027 State Budget | Not yet confirmed here | Needs local verification |
B2G e-invoicing comes from Decreto-Lei 111-B/2017, which requires structured invoices in public contracts. Large suppliers have been in scope since the original deadlines; the SME window has been extended many times.
The 2027 budget proposal is reported to move the SME deadline again. We have not seen the final published law, so confirm the 2027 position with your accountant before you plan around it.
Does Odoo support CIUS-PT for public-sector invoices?
Odoo 19 and 20 send Peppol BIS Billing 3.0 for Portugal, and we found no separate CIUS-PT format in the code. Check what your public buyer accepts.
The Odoo 20 e-invoicing documentation lists Portugal among the countries eligible for free Peppol registration in Odoo. The formats offered in code are EU Peppol BIS 3.0, XRechnung, NLCIUS, Factur-X and a few others.
An older Odoo 18 documentation page for Portugal mentions CIUS-PT. In the 19.0 and 20.0 Community code, though, Portugal falls back to the EU Peppol format. Test a real invoice with your public buyer's platform first.
Our Odoo e-invoice formats comparison and Belgium Peppol guide explain registration and testing.
Which add-on route should you choose for AT compliance?
Pick one of three routes: an AT-certified invoicing service, a certification module, or a separate certified billing tool. Your hosting choice narrows the options.
- Certified invoicing service connected to Odoo. The OCA module l10n_pt_account_invoicexpress (19.0) creates legal invoices in InvoiceXpress, a paid service, when you confirm in Odoo. The README says only the service's document should be used.
- Certification module inside Odoo. OCA's l10n_pt_certification adds AT series, signing, QR and a hash report, but only for 18.0 so far.
- Separate certified billing tool. You invoice outside Odoo and import entries. This is the weakest option for stock and sales flows.
Odoo Online cannot run custom or Odoo Apps Store modules. Routes 1 and 2 need Odoo.sh or on-premise. See how to install third-party modules and our hosting comparison.
Users on the Odoo forum asking about a Portugal SAF-T module were told one existed in core; another user pointed out it did not. Always check the code yourself.
Portugal e-invoicing needs by industry
The compliance stack depends on how you sell: POS, B2B invoices, transport documents or public tenders. The table shows common patterns.
| Industry | Pain or cost driver | Odoo approach | How iVentureTeam helps |
|---|---|---|---|
| Retail and hospitality | Many receipts, QR on every ticket | POS plus a certified billing layer | Test series, ATCUD and QR on printed tickets |
| Wholesale and distribution | Invoices plus legal transport documents | Sales and Inventory with a transport document add-on | Map delivery flows to AT document types |
| Manufacturing | Stock valuation and 2027 accounting SAF-T | MRP with clean taxonomy codes | Review chart of accounts before 2027 |
| Construction and public works | B2G invoices on public contracts | Peppol sending, buyer tests | Run test invoices with each public buyer |
| Professional services | Recurring B2B invoices, PDF use | Subscriptions and Accounting | Plan for the end of PDF acceptance |
For a wider view of where country packages stop, read our Odoo localization gaps guide.
How much does Portuguese compliance add to an Odoo project?
Compliance work usually sits inside the implementation budget, plus the add-on or service fee. Price both before you commit.
Our published Odoo implementation cost ranges are $3k to $9k for small projects, $9k to $27k for mid-size and $27k to $150k+ for large ones. Portuguese compliance adds module setup, AT series registration, test runs and accountant sign-off.
Add the yearly fee of any certified invoicing service, and remember that Odoo Online is ruled out for module routes. Use our Odoo implementation cost calculator for a first estimate.
How iVentureTeam helps with Odoo Portugal e-invoicing

We map Portuguese rules to Odoo, choose the compliance route and prove it works before go-live. We have delivered 150+ ERP projects across 35+ countries with 40+ Odoo specialists, led by a consultant with 13+ years in Odoo.
- Fit check: which Portuguese rules standard Odoo covers for your flows, and which need an add-on.
- Route choice: certified service, certification module or separate tool, matched to your hosting.
- Testing: series, ATCUD, QR, hash chain and SAF-T (PT) files checked with your accountant.
- 2027 readiness: taxonomy codes and chart of accounts ready for the accounting SAF-T file.
- Multi-country setups: Portugal next to Spain, the UK or others, as in our Odoo HMRC MTD guide.
The bottom line on Odoo Portugal e-invoicing
Odoo can run a Portuguese company well, but standard Odoo 19 and 20 are not a complete AT-compliant invoicing system on their own. Plan the certification layer from day one.
Use l10n_pt for accounting and VAT, add a certified invoicing service or module for ATCUD, QR, signing and SAF-T, and confirm every date with your accountant. Ask for the AT certificate number before you sign.
Ready to make your Odoo invoices AT-compliant in Portugal?

Get a clear plan for ATCUD, SAF-T and B2G invoicing before your next filing. Plan your Portugal compliance setup with our team, call +91-90235-15208, or email business@iventureteam.com.
Frequently Asked Questions
Is Odoo certified by the Portuguese tax authority?
+
We found no official source confirming an AT software certificate for Odoo. The public 19.0 and 20.0 code has no certification layer, so use a certified service or module and ask for its certificate number.
Does Odoo generate ATCUD codes?
+
Not in standard Odoo 19 or 20. An OCA certification module for Odoo 18 adds AT series and ATCUD, and certified invoicing services connected to Odoo also handle it.
Can Odoo export SAF-T (PT)?
+
The public Odoo 19.0 and 20.0 code has no SAF-T (PT) export. You need an add-on or a certified service, and the file must follow version 1.04_01 for invoice reporting.
When is the SAF-T accounting file mandatory in Portugal?
+
Lei 73-A/2025 applies the accounting SAF-T (PT) file to periods from 2027, delivered in 2028 or later. Clean your chart of accounts and taxonomy codes before 2027 starts.
Are PDF invoices still valid in Portugal?
+
Yes, until 31 December 2026 PDF invoices count as electronic invoices under the 2026 State Budget. Check the 2027 budget for any further extension.
What is the deadline to report invoices to the AT?
+
Documents issued from 1 January 2023 must be reported by the 5th day of the following month, by webservice, SAF-T based file or direct entry on the Portal das Finanças.
Does Odoo support CIUS-PT?
+
Odoo 19 and 20 offer Peppol BIS Billing 3.0 for Portugal, and we found no separate CIUS-PT format in the code. Test with your public buyer's platform before relying on it.
Can I use Odoo Online in Portugal?
+
For accounting, yes. Odoo Online cannot install custom or third-party modules, so a module-based AT compliance route needs Odoo.sh or on-premise hosting.
Free e-invoicing and tax readiness check
Getting Odoo ready for e-invoicing?
We check your Odoo version, localization and invoice flows against e-invoicing, then send what to set up, what to test and the effort involved.
Free, with no obligation. A senior consultant replies within 12 business hours.
Free Odoo tools
All tools- Odoo Health CheckVersion, modules, findings and upgrade cost
- Odoo App SelectorWhich apps you need, by industry
- Odoo Project EstimateIndicative cost and timeline in minutes
- Odoo Implementation Cost CalculatorImplementation cost and timeline, in minutes
- Odoo Migration Cost CalculatorVersion jump or legacy ERP, priced in minutes
Continue reading
Odoo Tax Automation: Fiscal Positions, Tax Returns and E-Invoicing
Odoo tax automation in 19 and 20: fiscal positions, tax mapping, tax reports, VAT return checks, lock dates, closing entries and e-invoicing explained.
Odoo Accounting for CFOs in the GCC: VAT, E-Invoicing and Controls
Odoo accounting for CFOs in the GCC: UAE and Saudi VAT, ZATCA and UAE e-invoicing, AED and SAR multi-currency, lock dates and hashed audit controls.
Odoo Singapore GST Setup: Tax Codes, GST F5 and InvoiceNow in 19/20
Set up Odoo Singapore GST in Odoo 19 and 20: IRAS tax codes, the 9% rate, GST F5 boxes, PINT SG and the InvoiceNow timeline, plus when you need an AP.
