ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

e-fatura — invoice reporting to the AT since 2013

e-fatura is the system through which every invoice issued in Portugal is reported to the tax authority (the AT). On the business side it is a recurring reporting obligation; on the consumer side it is a personal service: by giving their NIF at checkout, anyone sees their spending appear automatically and earns tax deductions. e-fatura is where the SAF-T tax layer meets the citizen.

History — from 2013 to IRS pre-filling

Decreto-Lei n.º 198/2012 created the obligation, for every issuer, to communicate its invoice data to the AT. The e-fatura portal launched on 1 January 2013. The decisive innovation is "NIF na fatura": by linking purchases to their tax number, consumers turn every receipt into a deductible item.

To anchor the behaviour, the state launched the "Fatura da Sorte" in 2014, a tax lottery drawing winners among NIF-bearing invoices. Over the years, e-fatura became the engine of pre-filling for the IRS (income-tax) return and the Declaração Periódica do IVA. Since 2023, scanning the QR code via the app registers an expense to the NIF in seconds.

text e-fatura-timeline.txt
2012       | Decreto-Lei n.º 198/2012 — creates the obligation to communicate
           | issued-invoice data to the AT. Birth of e-fatura.
           |
2013       | 1 January — mandatory invoice communication. Launch of the
           | e-fatura portal and the "NIF na fatura" mechanism: consumers
           | can link their spending to their NIF.
           |
2014       | Launch of "Fatura da Sorte" (tax lottery) to encourage
           | consumers to demand their NIF on invoices.
           |
2016-2017  | Deduction of general and sector spending (health, education,
           | real estate, car repairs, restaurants).
           |
2018-2020  | Progressive pre-filling of the IRS return and the Declaração
           | Periódica do IVA from e-fatura invoices.
           |
2023-2026  | e-fatura fully coupled with ATCUD and the QR code; scanning
           | the QR in the app registers an expense to the NIF.

Governance — AT and Portal das Finanças

e-fatura is operated by the Autoridade Tributária e Aduaneira via the e-fatura portal (a Portal das Finanças subdomain). The AT aggregates communicated invoices, computes deductions per sector, and exposes personal (consumer) and professional (business) spaces. The deduction rules (caps, eligible sectors) are set by the IRS code and the budget laws.

On the technical side, the AT publishes the communication webservice specifications (authentication by certificate / application password) and the billing SAF-T format to submit monthly.

Technical schema — communication channels

A business can communicate its invoices to the AT through three channels: monthly SAF-T (the most common, billing file by the 5th of the following month), real-time webservice (invoice-by-invoice, SOAP/REST), or manual entry on the portal for very small issuers. On the consumer side, attachment happens via the NIF entered at checkout or by scanning the QR code.

text e-fatura-channels.txt
--- Channels for communicating invoices to the AT ---
1. Monthly SAF-T          : SAF-T (PT) billing file, by the 5th of the
                            following month (e-fatura).
2. Real-time webservice   : invoice-by-invoice transmission via the AT
                            SOAP/REST service.
3. Manual portal entry    : for very small issuers, direct entry on the
                            e-fatura portal.

--- Consumer side (NIF na fatura) ---
- The merchant enters the customer's NIF on the invoice.
- The expense automatically appears in the customer's e-fatura space.
- The customer classifies it (health / education / etc.) if needed.
- The AT computes IRS deductions and pre-fills the return.

--- Key fields reported ---
issuer NIF · acquirer NIF · document type · date ·
base + VAT per rate · total · ATCUD · deduction sector

e-fatura vs clearance vs EU reporting

Modele-fatura (PT)Clearance (IT SdI)DRR ViDA (EU)
Control momentPost-issuance (reporting)Pre-delivery (clearance)Near real-time
Invoice transits the state?No (data only)Yes (in full)Structured data
FrequencyReal-time or monthlyEvery invoiceNear real-time
Year20132014/20192030-2035
Consumer angleYes (IRS deduction)NoNo

Adoption — deduction and lottery

  • Universal on the business side: all issued invoices must be communicated to the AT (monthly SAF-T or webservice).
  • Massive on the consumer side: the "o seu NIF, por favor?" reflex has become a habit, thanks to IRS deductions and the lottery.
  • Pre-filling: the IRS return and the Declaração Periódica do IVA are partly pre-filled by the AT from e-fatura.
  • Mobile app + QR: since 2023, scanning the QR code registers an expense to the NIF in seconds.

Common pitfalls

  • Late SAF-T submission. The billing SAF-T must be communicated on time (around the 5th of the following month). Lateness triggers penalties and desyncs the pre-fill.
  • Uncommunicated invoices. An invoice issued but not reported to the AT creates an immediate discrepancy with accounting — caught at VAT cross-checking.
  • Wrong deduction sector. On the consumer side, a wrong classification (health vs general) changes the IRS deduction; some expenses must be validated manually.
  • Missing or wrong NIF. Without a correct acquirer NIF, the expense does not appear in the consumer's space — no deduction.
  • Confusing e-fatura and FE-AP. e-fatura is tax reporting (B2B/B2C); FE-AP is the B2G channel. A public invoice falls under both obligations.