4 min readUpdated:

ATCUD in Portugal: what it is and how to get a series code

The ATCUD is added automatically to documents issued through the Portal das Finanças, according to the Autoridade Tributária e Aduaneira (AT). If you use certified invoicing software, the series must be reported to the AT before use; the code returned is one of the parts shown on the document.

What is ATCUD, and how is it made up?

ATCUD identifies a document by joining the series validation code to that document’s sequential number, separated by a hyphen, as set out in Portaria n.º 195/2020.

The Portaria requires the validation code to have at least eight characters. This minimum applies to the first part, not the complete code. In its Séries/ATCUD FAQs, the AT explains that the assigned code is specific to the combination of the series identifier and document type. Series are reported for each document type and processing method.

Entirely invented example, not valid for issuing a document:

  • Series identifier: SERV2026.
  • Illustrative validation code: EXEMP123.
  • Document sequential number: 1.
  • Complete wording: ATCUD:EXEMP123-1.

The name SERV2026 identifies the series but does not replace the code assigned by the AT. The example only shows how the elements fit together; never use the illustrative code to issue a document. This distinction helps you identify documents in the invoices and receipts process.

Who needs ATCUD and a QR code?

According to the AT, VAT taxable persons, including those exempt from VAT, must include ATCUD on tax-relevant documents; the Portaria requires a QR code on documents issued by invoicing programs certified by the AT.

Portaria n.º 195/2020 covers invoices and other tax-relevant documents produced using the processing methods set out in law. The QR code rule is specific: article 6 requires it on documents issued by invoicing programs certified by the AT. Do not confuse that condition with the broader ATCUD requirement.

For how it appears, the Portaria provides that:

  • ATCUD must be perfectly legible, whatever the medium presented to the customer.
  • On a document with several pages, it must appear on every page.
  • Where applicable, it sits immediately above the QR code.
  • The QR code may appear on the first or last page.

When checking, look for the complete wording with ATCUD: and the two parts separated by a hyphen. A validation code on its own is not the document’s ATCUD.

How do I get the series validation code?

Report the series before using it, as required by article 35 of Decreto-Lei n.º 28/2019; the AT allows you to do this manually through the Portal or by connecting your software to its service.

First choose the process, according to the AT’s FAQs:

  • Issuing through the Portal das Finanças: reporting, assigning the code and adding ATCUD happen automatically.
  • Certified invoicing software: check whether it reports directly to the AT or whether you need to report the series manually.
  • Pre-printed documents: the authorised printer reports the series and numbering so ATCUD can be included in the print.

For the manual process:

  1. Open the AT page about reporting series and go to the series reporting service in the Portal das Finanças. Sign in.
  2. For each processing method, report the information required by article 2 of the Portaria: series identifier, document type, initial sequential number and intended start date of use.
  3. Save the code: according to the AT, it is available as soon as the series is reported.
  4. Associate it with the correct series and document type in your software, as indicated in AT FAQ 4314.
  5. Check the complete wording on an actually issued document.

Reporting returns the series validation code; the sequential number of each document then completes its ATCUD.

How can I check the details and confirm the result?

Check ATCUD on the issued document; the AT integration manual provides for checking reported series through the software’s connection to the AT service.

As a practical way to organise your records, keep the reported information, returned code and an issued document together. Check:

  • That the series, document type and validation code match.
  • The sequential number and complete wording.
  • Legibility and placement on the pages.

According to the AT’s FAQs, validation codes do not expire, but you cannot restart the numbering of a series that has been used.

Registering a series is not an invoice. For the proof requested by Glovo, also distinguish reporting the self-billing agreement: according to the AT, only after that agreement is registered can the buyer report the series. Article 2(d) of Decreto-Lei n.º 28/2019 defines an electronic invoice by its issue and receipt in electronic format; ATCUD alone does not determine that format.

Frequently asked questions

What is ATCUD?

ATCUD identifies a document using the series validation code assigned by the AT and that document's sequential number, separated by a hyphen. Under Portaria n.º 195/2020, the validation code has at least eight characters. The identifier you give the series is a separate element.

How do I get an ATCUD?

According to the AT, you can report the series manually through the Portal das Finanças or connect your software to the AT before using it. You receive the validation code and associate it with the series in your software. For documents issued through the Portal, reporting and adding the ATCUD happen automatically.

Are ATCUD and the QR code the same thing?

They are different elements. ATCUD identifies the document by joining the series validation code to the sequential number. Portaria n.º 195/2020 requires a QR code on tax-relevant documents issued by invoicing programs certified by the AT. The ATCUD requirement also covers other processing methods and includes VAT-exempt activity.

How can I check my ATCUD?

Look for the complete ATCUD on the issued document and compare its first part with the series validation code. The AT's manual provides for checking reported series through the software's connection to its service. Checking series this way is different from reading the complete code on each document.

BravoLisa

Your purchase documents together

Lisa reads purchase receipts and invoices. The Free plan is available in Portugal; it does not issue invoices or prepare Portuguese tax returns.

Free

Free

Purchase receipts and invoices, with the source document.

  • Purchase documents read by Lisa
  • Purchase receipts and invoices together
  • Bank statement uploads
  • No credit card needed
Start free
Chat with a person (opens in a new tab)