FlowieExchange
Compliance · 🇵🇹 Portugal Live mandate

Portugal — ATCUD, SAF-T & B2G mandate

ATCUD + SAF-T universal · B2G via FE-AP · No B2B mandate yet — regulator: Autoridade Tributária e Aduaneira (AT). Facts last refreshed: 2026-05-05.

Coverage model
Flowie operates a registered Peppol Access Point in this jurisdiction directly where we hold national accreditation, or via a vetted local partner registered with the in-country regulator where on-the-ground presence is required (KSeF, SDI intermediario, ZATCA service-provider, etc.). Either way, you call the same POST /v1/documents/send.

TL;DR

Deadlines

DateWhoWhat
2008-01-01All taxpayersSAF-T monthly export.
2021-01-01Public-sector contracting (B2G)FE-AP universal.
2023-01-01All invoicesATCUD mandatory on every invoice.
≥ 2027B2B (proposed)Universal e-invoicing mandate; AT consultation underway.

Background

Portugal's regime is multi-layered: every invoice carries an ATCUD (a 8-character code from a registered series), every taxpayer files SAF-T monthly, and every public-sector invoice goes through FE-AP. Flowie handles all three: the JSON payload you send is automatically annotated with an ATCUD from your registered series, included in the SAF-T monthly export, and routed via FE-AP for B2G recipients.

Format profile

Required fields

Public sector (B2G)

HubPeppol identifier schemeLookup
FE-AP (eSPap)9946:PT-<nif>https://www.espap.gov.pt

Public-sector hub operated by eSPap; B2G invoices route through FE-AP regardless of channel.

B2B reporting / clearance

Portal das Finanças (SAF-T) — Monthly SAF-T (PT) export — accounting + invoices.

Error codes

CodeMeaningFix
ATCUD-MISSATCUD missing or malformed.Flowie generates from the registered series; manual integrations must call /v1/compliance/pt/atcud first.
FEAP-PT-101FE-AP profile validation failed.Inspect error.details — usually a public-sector procurement code missing.

Testing in sandbox

What you want to testHow
PT B2G via FE-APRecipient 9946:PT-500000000; sandbox returns synthetic ATCUD.
SAF-T exportPOST /v1/compliance/saft with country: "PT".

FAQ

Do I need to be AT-certified to issue invoices in Portugal?

The seller's billing software must be — and Flowie is. Customers using Flowie inherit the certification.

References

Primary sources (government / regulator / standards body):

Industry analyses (vendor trackers — useful for cross-referencing):