Skip to main content
POST
cURL
This endpoint registers a new series for the supplier. The series will be validated and registered with the Portuguese Tax Authority, and a validation code (used to generate ATCUD codes) will be returned. For a detailed explanation of the type field (N, F, R) and other Portugal-specific series requirements, see the Series Management section of the AT Portugal Guide.

Authorizations

Authorization
string
header
required

Use the Bearer scheme with a valid JWT token to authenticate requests.

Example: Authorization: Bearer <token>

Path Parameters

silo_entry_id
string
required

Silo entry ID of the supplier to register the series for.

Example:

"347c5b04-cde2-11ed-afa1-0242ac120002"

Body

application/json
base
string
required

Base code for the series (without the document type prefix).

Example:

"SERIES-A"

document_type
enum<string>
required

Document type for the series:

  • FT: Invoice (Fatura)
  • FS: Simplified Invoice (Fatura Simplificada)
  • FR: Invoice-Receipt (Fatura-Recibo)
  • ND: Debit Note (Nota de Débito)
  • NC: Credit Note (Nota de Crédito)
  • RG: Receipt (Recibo)
  • GR: Delivery Note (Guia de Remessa)
  • GT: Waybill (Guia de Transporte)
Available options:
FT,
FS,
FR,
ND,
NC,
RG,
GR,
GT
Example:

"FT"

type
enum<string>
required

Type of the series:

  • N: Normal
  • F: Training (Formação)
  • R: Recovery (Recuperação)
Available options:
N,
F,
R
Example:

"N"

Response

Series registered successfully.

id
string

Series ID.

Example:

"1d8ab49a-bd14-11ef-925f-325096b39f47"

code
string

Full series code (document type + base code).

Example:

"FT SERIES-A"

base
string

Base code for the series.

Example:

"SERIES-A"

document_type
string

Document type for the series.

Example:

"FT"

type
string

Type of the series.

Example:

"N"

validation_code
string

AT validation code for the series used to generate ATCUD codes.

Example:

"AAJFJ3N5YS"