Skip to main content
iVentureTeam
Odoo Accounting & Tax

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.

Siddharth JambukiyaSiddharth JambukiyaOdoo Techno-Functional Consultant
November 24, 202611 min read0 views
Odoo Portugal E-Invoicing: ATCUD, SAF-T and AT Rules in Odoo 19/20 cover

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:

  1. You communicate each document series to the AT before using it, with the series ID, document type, first number and planned start date.
  2. The AT returns a validation code for that series.
  3. Each document's ATCUD joins the validation code and the sequential number, printed as "ATCUD:Code-Number".
  4. On multi-page documents, the ATCUD appears on every page, just above the QR code.
  5. 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?

Odoo Portugal e-invoicing: What standard Odoo covers and what you add

Standard Odoo meets the accounting basics, while the certification items need an extra layer. The table shows where each requirement lands.

RequirementStandard Odoo 19/20 (l10n_pt)What you add
Chart of accounts and VAT reportIncludedNothing
AT software certificationNot shown in public codeCertified module or service
Series communication and ATCUDNot in public codeAdd-on with AT series model
Document hash and signingNot in public codeAdd-on or certified service
AT QR code on invoicesNot in public codeAdd-on or certified service
SAF-T (PT) billing fileNot in public codeAdd-on or service export
Peppol sendingIncluded, BIS Billing 3.0Peppol 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.

RuleDateStatus
Invoice reporting by day 5 of next monthDocuments from 1 Jan 2023In force (AT FAQ)
PDF invoices treated as e-invoicesUntil 31 Dec 2026Lei 73-A/2025, art. 95
B2G transition for SMEs, micro firms, public bodiesExtended to 31 Dec 2026Lei 73-A/2025, art. 260
SAF-T (PT) accounting file2027 periods, filed 2028Lei 73-A/2025, art. 95
Changes in the 2027 State BudgetNot yet confirmed hereNeeds 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.

  1. 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.
  2. 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.
  3. 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.

IndustryPain or cost driverOdoo approachHow iVentureTeam helps
Retail and hospitalityMany receipts, QR on every ticketPOS plus a certified billing layerTest series, ATCUD and QR on printed tickets
Wholesale and distributionInvoices plus legal transport documentsSales and Inventory with a transport document add-onMap delivery flows to AT document types
ManufacturingStock valuation and 2027 accounting SAF-TMRP with clean taxonomy codesReview chart of accounts before 2027
Construction and public worksB2G invoices on public contractsPeppol sending, buyer testsRun test invoices with each public buyer
Professional servicesRecurring B2B invoices, PDF useSubscriptions and AccountingPlan 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

Budgeting Portugal compliance? Price Odoo first

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?

Plan my Portugal setup

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.

We use cookies to improve your experience

Essential cookies make the site work, and we use analytics to improve it. Choose “Only necessary” to turn analytics off. See our cookie policy.