New: Rioko now invoices in Moloni ON too, as well as InvoiceXpress, Moloni, Vendus and TOConlinein five invoicing programs. Compare the five programs
All articles
Tax guidesPedro Correia, Rioko team25 May 2026Updated on 09 November 20267 min

Invoice Series: What They Are and How to File Them

What an invoice series is, why document types must be kept apart, and how to file a series with the Portuguese tax authority to obtain an ATCUD.

Invoice Series: What They Are and How to File Them
In short: An invoice series is the numeric sequence that documents of the same type belong to. It has to be filed with the tax authority before the first document, and the tax authority returns the validation code that makes up the ATCUD. Each document type is filed separately.

If you issue invoices in Portugal, whether through certified software or from a Shopify store or Stripe payments, you will inevitably run into the concept of an invoice series. It looks like a technical detail, but the series is what guarantees the legal integrity of all your invoicing and what lets the tax authority identify every document you issue.

This article explains what a series is, why you have to keep them apart, and how to file them to obtain the ATCUD validation code.

What an invoice series is

A series is a continuous numeric sequence, identified by a name, holding documents of the same type issued by the same certified software. Each document inside the series receives a unique, immutable sequence number.

The combination of document type + series name + sequence number uniquely identifies any tax document in Portugal. For example:

FT 2026A/00042

Read: invoice (FT), from series 2026A, number 42 within it.

That identifier appears:

  • On the printed document, at the top or beside the QR Code.
  • Inside the mandatory QR Code.
  • In the ATCUD (series-code-number).
  • In the SAF-T (PT) file filed monthly.

Why you have to keep series apart

Portuguese law does not allow mixing document types in one series. Each type (FT, FR, FS, NC, ND, GT and so on) needs its own numeric sequence. Beyond that, it is good practice to separate by:

  • Financial year, so numbering restarts in January and year-end closing is cleaner.
  • Sales channel: one series for Shopify, another for Stripe, another for in-person sales, for instance.
  • Establishment, if you have several physical shops.

The golden rule: inside a series there are no gaps and no repeats. If you issue number 42, the next one is 43. You cannot jump to 50, nor reuse 42 later.

What a series name looks like

The name is free, but it has to respect:

  • Capitals, digits and a few separators only, generally no spaces and no special characters.
  • A reasonable length: most packages accept up to 35 characters, but keep it short.
  • An exact match between the name in the software and the name filed with the tax authority. One letter of difference and the SAF-T file is rejected.

Common conventions:

PatternExampleUse
<YEAR><TYPE>2026FT, 2026FRMost used in e-commerce
<TYPE><YEAR>FT2026, FR2026Equivalent, personal taste
<CHANNEL><YEAR>SHOP26, STRIPE26When there are several channels
Plain <TYPE>FT, FRA continuous multi-year series

ATCUD: the missing piece

Since 1 January 2023, under Portaria 195/2020, every certified tax document has to carry the ATCUD, the unique document code. The ATCUD is made of:

ATCUD: <AT-validation-code>-<sequence-number>

For example: CSDF7T5H-00042.

The validation code (CSDF7T5H) is assigned by the tax authority to the series, not to the document, and has at least 8 characters. You obtain it by filing the series before issuing the first document. If you have not yet created the AT sub-user for filing, start with ATCUD: creating the user at the tax authority.

How to file a series

The process is centralised on the Portal das Finanças:

  1. Sign in with the company VAT number, or with the dedicated sub-user, which is recommended.
  2. Todos os Serviços → Faturas e Outros Documentos Fiscais → Comunicação de Séries Documentais.
  3. Click Registar Série.
  4. Fill in:
    • Document type (FT, FS, FR, NC, ND, GT, GR...).
    • Series identifier, for example 2026FR. It has to match the software.
    • Starting sequence number, normally 1.
    • Expected start date.
    • Processing method: Programa informático de faturação.
    • Software certification number: each package has its own.
  5. Submit. The tax authority returns the validation code.
  6. Go back to the software and paste the code into the series' ATCUD field.
Portal das Finanças search results for série, with Comunicação de Séries Documentais highlightedThe quickest route: search the Portal das Finanças for série and open Comunicação de Séries Documentais. Screenshot: Sage Tax authority Registar Série form filled in with series, series type, document type, sequence start, date, processing method and certificate numberThe Registar Série form: one registration per document type, with your software's certificate number (1824 is Sage's, in this example). Screenshot: Sage

Filing can be done by hand on the portal or by webservice, with the software filing the series itself. Certified invoicing programs usually support automatic filing: you just authorise the corresponding AT sub-user.

Document types and when to use each

In Portuguese e-commerce, the most frequent are:

CodeNameWhen to issue
FTInvoiceA sale with the customer's VAT number (B2B, or B2C on request)
FSSimplified invoiceRetail sales of goods to individuals up to €1,000; other sales and services up to €100
FRInvoice-receiptA sale already paid at the time, typical of Shopify and Stripe payments
NCCredit noteCancellation, or partial/full refund
NDDebit noteAn addition to an earlier invoice
GTDelivery noteGoods in transit

Each of these needs its own sequence. You cannot issue a credit note inside the invoice sequence. Some programs use the same series name for several types, but the filing with the tax authority is always per document type.

Yearly series versus continuous series

The tax authority neither requires nor forbids either approach, but accounting practice is divided:

  • Yearly series (2025FR, 2026FR, ...): numbering restarts at 1 every year. It means filing a new series every year, before January: there is a December checklist. Cleaner for audits and for the annual SAF-T close.
  • Continuous series (FR, no year): filed once, never touched again. The numbers grow indefinitely. Simpler, but less legible as time passes.

The most common choice in e-commerce is the yearly series, because volume is high and there is value in reading the financial year off the name itself.

Common mistakes

  • A name that does not match between the software and the tax authority. It causes immediate SAF-T rejection. Confirm by copy and paste.
  • Changing software without a new series. When you change software, file a series for the new program before the first document and confirm the starting number with your accountant. The full steps are in changing program mid-year.
  • Forgetting to file before issuing. An invoice issued in an unfiled series goes out without a valid ATCUD. It is not certified.
  • Mixing document types. You cannot have FT and FR in the same series; they are separate filings.

How these errors show up in monthly reporting is in the article on invoicing SAF-T.

Software-specific guides

Every certified package has its own flow for creating series internally. Follow the guide for yours:

How Rioko helps

When you connect your Shopify store or Stripe account to Rioko, you set on each integration the series documents come out of: in InvoiceXpress and Moloni by name (left blank, the account's default series), in Vendus by till, because there each shop is a series, and in TOConline by series prefix (left blank, the company's default). The series has to be filed in your software: Rioko issues through it, and it is the software that puts the ATCUD on the document. At the turn of the year the new series has to be pointed to on each integration; the December checklist says where.

See how Rioko invoices sales from Shopify, Stripe, Lodgify, Easypay and EuPago, and check the pricing.

Sources

#Series#ATCUD#Tax authority#Certified invoicing

Frequently asked questions

Do I really need one series per document type?

Yes. The law does not allow mixing types in the same numeric sequence. Invoices, invoice-receipts, credit notes and delivery notes each need their own sequence, each filed with the tax authority.

Who assigns the series validation code?

The tax authority, when you file the series. That code, with the document number, makes up the ATCUD.

Can the filing be automatic?

It can. The invoicing software files the series by webservice, with a tax authority sub-user that has the WSE operation.

Yearly series or continuous series?

Both are legal. A yearly series restarts the numbering in January and has to be filed again every year, using the December checklist; a continuous one is filed once and grows indefinitely.

Does an online shop need its own series?

It is not mandatory, but it is good practice: separating by channel makes the documents easier to read and to check.

Can I rename a series after issuing?

No. After the first document the series is locked to the name it was filed under. If you got it wrong, create a new series with the right name and deactivate the old one.

I issued invoices in a series that was never filed. What now?

Those documents went out without a valid ATCUD. File the series, then void and reissue the affected documents with credit notes in the now certified series. There is no way to add an ATCUD after the fact.

Can the numbering have gaps?

No. Inside a series there can be neither gaps nor repeats. If number 42 was issued, the next one is 43.

How do I tell Rioko which series to use?

On each integration: in InvoiceXpress from a list read from your account, in Moloni by its exact name, in Vendus by till and in TOConline by prefix. Left blank, the account's default series applies.

Still have questions

Write the question. It reaches a person, not a form.