Trouvez les réponses à 10 questions fréquentes sur SIGN PT, organisées par thème.
Records (4)
How to identify the buyer in the API?
The way the buyer is sent depends on the document type and on whether the buyer is a consumer or a business. The table shows the block and the fields for each case.
| Document | Block | Fields |
|---|---|---|
| FS | customer | type: "EXTERNAL" and code, the NIF with the PT prefix, for example PT123456789. Without a code, the buyer is a final consumer |
| FR, end consumer | customer | type: "EXTERNAL" and code, the NIF with the PT prefix. Without a code, the buyer is a final consumer |
| FR, business or self-employed buyer | Currently being implemented in the API | Currently being implemented in the API |
| FT, business or self-employed buyer | recipients with BUSINESS | Name, address and identification* with type: "VAT" and the number with its country prefix |
| FT, end consumer | recipients with CONSUMER | Mandatory: name (gender, forename, surname) and address (street and number, postal code, city, country). Optional: identification* with type: "VAT" and the number with its country prefix |
| FT, end consumer | recipients with CONSUMER | Name and address are mandatory fields in the API. If the consumer’s details are not available, send “Consumidor final” as the name, placeholder values for the address, gender set to DIVERSE, country set to PT and, as the identification*, the NIF for a final consumer, PT999999990 |
- Currently,
identification.type: "VAT"is the only supported identification type, and the number must include its country prefix. Support for other identification types is planned.
What the law requires
Section intitulée « What the law requires »-
The consumer’s name and address are not required, regardless of the invoice amount. The consumer’s NIF is only required if the buyer asks for it. Without one, the document shows “Consumidor final”.
-
The business buyer’s name, address and NIF are mandatory on an FT and an FR, regardless of the invoice amount (Art. 36 n.º 5 a CIVA).
-
On an FS, the buyer’s NIF is mandatory when the buyer is a business.
How are series and document numbers handled?
The number printed on a document is the official sequential number returned by SIGN PT.
-
The official sequential number is assigned by SIGN PT and returned in the field
compliance.data. This is the number to print. Thedocument.numbersent in the request is mainly for your own tracking. -
The printed identifier is the document type, a space, the series, a ”/” (slash) and the number, for example
FT A/1234. -
The ATCUD is the AT validation code of the series, a hyphen and the sequential number.
-
We recommend zero-padded numbers, for example
FS POS/00005. -
Send documents in the order they are issued because SIGN PT assigns the number when it receives the document.
-
A series is registered with the AT automatically when the first document of a new series and document type is issued. The taxpayer can also register it in advance.
-
There is no limit on the number of series.
-
Several terminals can issue into one series, but the numbering must stay strictly sequential. We recommend one series per terminal.
-
When changing software, the common practice is a new series starting at 1.
-
If long series names make the printed identifier unwieldy, shorten the series names.
How to issue credit and debit notes
A credit note (NC) corrects a document after it has been issued, for example for a return or a discount. A debit note (ND) documents an additional charge. In SIGN PT, both are created with a CORRECTION operation that references the original document.
Always reference the original TRANSACTION record, never the INTENTION record.
Credit note or debit note in the API
Section intitulée « Credit note or debit note in the API »The type of correction is set in each entry with entries.type. Use RETURN for a credit note, which reduces the original, and SALE for a debit note, which increases it. The direction comes from the entry type, not from the sign of the amounts.
The reason field is mandatory in Portugal. It states which elements of the original document were altered.
-
A credit note uses the same VAT rates, tax region and exemption codes as the original.
-
Several partial credit notes are allowed while their combined total does not exceed the original.
-
SIGN PT matches each credit note line against the lines of the original, and availability is cumulative.
-
A credit note cannot reference another credit note, and a debit note cannot reference another debit note.
-
In CORRECTION can either have only entries of type SALE or entries of type RETURN, they are mutually exclusive. Reductions go in a credit note, and increases in a debit note or a new invoice.
-
Once any credit note exists, the original can no longer be cancelled.
-
When a credit note reduces the taxable base, the tax payer must keep evidence that the customer became aware of it or was reimbursed. Otherwise the VAT adjustment in favour of the supplier can be challenged (Art. 78 n.º 5 CIVA).
Credit note or cancellation?
Section intitulée « Credit note or cancellation? »-
A cancellation is generally limited to situations where the document was issued due to an error and has had no effect for the customer: the transaction did not take place and the document was not handed over or made available.
-
If the document was already issued to the customer or the supply took place, issue a credit note instead of cancelling it, for example for refunds, returns and discounts. VAT regularisation through a credit note is subject to legal deadlines.
Corrections of formal errors that do not change the taxable amount or the VAT follow separate AT rules (Ofício-Circulado 25120/2026). Confirm the procedure with a tax advisor.
What the printed credit note or debit note must show
Section intitulée « What the printed credit note or debit note must show »-
“Documento de origem” including the series and number of the original document. Also including the date of the original is recommended.
-
“Motivo” in Portuguese.
-
The items being credited. A generic text such as “Anulação da fatura” is not enough, because the credit note must refer to the elements altered (Art. 36 n.º 6 CIVA).
-
Positive amounts. The direction is implied by the document type.
-
Its own ATCUD, QR code and hash.
See the printed document layout guide for examples.
Which document type should I issue: FS, FR or FT?
In Portugal, a sale can be documented with a simplified invoice (FS), an invoice-receipt (FR) or an invoice (FT). Choosing one depends on the total amount, the type of sale, the buyer and when the payment is received. Choosing it is the taxpayer’s responsibility, so we recommend confirming it with a tax advisor.
| Type | Use | Total amount limit | API |
|---|---|---|---|
| FS (Fatura Simplificada) | Point-of-sale sales | 1,000 EUR if the document has goods only, sold by a retailer to a consumer. 100 EUR in all other cases, including any document with a service. | RECEIPT with simplified_invoice: true |
| FR (Fatura-Recibo) | Invoice and receipt in the sense of a proof of payment in one document. The issue date and the payment date must be the same | None | RECEIPT with simplified_invoice: false |
| FT (Fatura) | Full invoice, valid for all VAT operations | None | INVOICE |
By default, the transaction type RECEIPT in SIGN PT issues an FR. Set simplified_invoice: true to issue an FS. |
FS limits
Section intitulée « FS limits »-
The limits apply to the total of each document, for B2C and B2B sales (Art. 40 CIVA).
-
SIGN PT cannot tell what type of issuer a taxpayer is, so it only enforces the 1,000 EUR limit. Verifying whether the 100 EUR limit applies is the taxpayer’s responsibility.
-
Above the FS limit, issue an FR or an FT.
When to use an FR
Section intitulée « When to use an FR »The FR documents a sale that is invoiced and paid at the same moment. It has no value limit, so it is commonly used for services paid at issue above the FS limit. It cannot be used when the payment is received at a different time.
When to use an FT
Section intitulée « When to use an FT »Use an FT when the buyer is a business, when the total is above the FS limit, or when the payment arrives after the invoice. When the payment arrives after the invoice, send the unpaid amount as OUTSTANDING and issue the receipt (RG) afterwards with a PROOF_OF_PAYMENT operation that references the FT record.
On how to include the buyer information in the API, see SIGN PT - How to identify the buyer in the API?
Errors and Status Codes (1)
Record states, retries and idempotency
Every operation in SIGN PT consists of an INTENTION and a TRANSACTION record. The compliance data needed on the printed document (ATCUD, QR code and signature) is only returned once the record is COMPLETED.
Only print or hand over the document after the record is **COMPLETED**.
What to do after each response
Section intitulée « What to do after each response »| Situation | Meaning | What to do |
|---|---|---|
| 400 response | No record was created | Resend the request with a different idempotency key |
| 500 response | Un unexpected error has occurred | Check if the record was created before retrying with a different idempotency key. |
200 response, later REJECTED or FAILED | The record has no compliance data. The number is not consumed | Create a new INTENTION and a new record. Do not hand over the document |
| Timeout, no response | The outcome is unknown | Follow the recovery steps below |
Idempotency
Section intitulée « Idempotency »-
Use a unique
X-Idempotency-Keyfor every new request. -
Within 24 hours, sending the same key with the same payload returns the cached response, with
X-Idempotency-Replayed: true. No second submission is made. -
The same key with a different payload returns a 422 error.
-
After 24 hours, the key is treated as new. Query the record status with the INTENTION ID using the GET endpoint. If the record was not registered, resubmit with a new key.
Monitoring and volume
Section intitulée « Monitoring and volume »-
There are no webhooks. A record in a final state (
COMPLETED,FAILEDorREJECTED) does not change, so there is no need to keep polling it. -
For bulk sending, for example a backlog after an outage, we recommend about 5 invoices per second. Higher bursts can cause timeouts.
General (5)
What to do in case of connection loss?
SIGN PT signs every document in the cloud, so a compliant electronic document cannot be issued while SIGN PT is unreachable. In Portugal, the fallback is a pre-printed paper invoice from an AT-authorised printing house, which is entered into SIGN PT once the connection is back.
An AT outage alone does not trigger this scenario, because SIGN PT does not need real-time clearance from the AT.
Before an outage
Section intitulée « Before an outage »-
Pre-printed forms: order them from a printing house authorised by the AT. It communicates the series and numbering to the AT and prints the series, the sequential number and the ATCUD on every form. The forms do not need a QR code.
-
Recovery series: the taxpayer registers a separate recovery series with the AT before using it for the first time. It is the series in which the paper invoices are recorded afterwards. It is not the series printed on the forms.
During an outage
Section intitulée « During an outage »Fill in the form with all mandatory invoice elements, hand the original to the customer and keep a copy.
After the outage
Section intitulée « After the outage »Enter each paper invoice in SIGN PT as follows:
-
As a new document of the same type (FS, FR or FT), in the recovery series, with the content of the paper invoice.
-
With the date of the paper invoice as the document date (
issued_at), not the date of entry. -
With the
offlineobject (operation.document.offline), which has two fields.reasonis the cause, for example a connectivity outage.referenceis the identifier of the paper invoice: the series and number printed on the form, for exampleabc/00001. -
Once only, and in date order.
A later credit note or debit note references the series and number of the paper invoice, not the number SIGN PT assigns to the recovered record.
How to export a SAF-T (PT) file
Portuguese taxpayers must submit a SAF-T (PT) billing file to the Portal das Finanças monthly, per DL 198/2012 Art. 3 n.º 1. The current deadline is the 5th of the month following the reporting period, as updated by Portaria 351/2021.
SIGN PT generates the file via POST /files with content.type: AUDIT. For a Portuguese taxpayer, the result is a SAF-T (PT) XML packaged as a .zip archive, conforming to Portaria 302/2016. SIGN PT generates the file only — uploading it to Portal das Finanças is the responsibility of the taxpayer or their accountant.
| Step | Endpoint | What happens |
|---|---|---|
| 1. Create the file | POST /files | Request an AUDIT file for a given date range. The response includes content.artifact.path. |
| 2. Wait briefly | — | The file is built asynchronously. |
| 3. Stream the file | GET /files/{path} | Download the .zip archive using the path from step 1. |
Step 1 — Create the file
Section intitulée « Step 1 — Create the file »To generate the SAF-T (PT) file for January 2026:
{ "content": { "type": "AUDIT", "range": { "from": "2026-01-01", "to": "2026-01-31" }, "taxpayer_id": "0193abcd-1234-7000-8000-000000000001" }}| Field | Required | Notes |
|---|---|---|
content.type | Yes | Must be AUDIT for SAF-T (PT). |
content.taxpayer_id | Yes | UUID of the taxpayer. The XML header identifies the taxpayer by NIF — all documents under that NIF for the period are reported together. |
content.range.from | Yes | Inclusive start date in YYYY-MM-DD. |
content.range.to | Yes | Inclusive end date in YYYY-MM-DD. |
Date ranges spanning multiple months produce one SAF-T XML per month inside the same .zip archive. AT expects monthly files — submit each XML to Portal das Finanças separately.
Response:
The response is a FileResource containing content.artifact.path:
{ "content": { "artifact": { "path": "/files/0193abcd-1234-7000-8000-000000000001.zip", "type": "application/zip" }, "created_at": "2026-01-31T13:23:31.077619Z", "id": "0193abcd-1234-7000-8000-000000000001", "location": "SERVICE", "mode": "PROCESSING", "state": "ACCEPTED", "taxpayer": "0193abcd-1234-7000-8000-000000000002", "type": "AUDIT" }}Step 2 — Stream the file
Section intitulée « Step 2 — Stream the file »The file is built asynchronously — allow a short delay after POST /files before calling GET /files/{path}. Concatenate artifact.path directly to your base URL — do not add an extra /files/ prefix:
GET https://api.fiskaly.com/files/019e5dbd-2c39-73e1-8592-75fa7dc6f2f4.zipAuthorization: Bearer {{operation-bearer}}X-Api-Version: 2026-05-04The response body is the .zip archive (application/zip). Extract the SAF-T XML and upload it to Portal das Finanças before the 5th-day deadline. Cancelled documents (status A) are included in the export — they remain in the audit trail with their original hash chain intact. The SAF-T (PT) file is a reporting artifact, not a fiscal document.
VAT exemption codes
When a line on a Portuguese fiscal document carries 0% VAT, Portuguese law requires an exemption code. In the SIGN PT API, each M-code defined by the Autoridade Tributária e Aduaneira (AT) is mapped to a CAUSE_X enum value.
The exemption code is mandatory on every line that carries 0% VAT — it cannot be omitted. SIGN PT validates that the code is present wherever required.
Exemption codes
Section intitulée « Exemption codes »| API code | M-code | Invoice mention |
|---|---|---|
CAUSE_1 | M01 | Artigo 16.º n.º 6 do CIVA |
CAUSE_2 | M02 | Artigo 6.º do DL 198/90 |
CAUSE_3 | M04 | Isento artigo 13.º do CIVA |
CAUSE_4 | M05 | Isento artigo 14.º do CIVA |
CAUSE_5 | M06 | Isento artigo 15.º do CIVA |
CAUSE_6 | M07 | Isento artigo 9.º do CIVA |
CAUSE_7 | M09 | IVA — não confere direito a dedução |
CAUSE_8 | M10 | IVA — regime de isenção |
CAUSE_9 | M11 | Regime particular do tabaco |
CAUSE_10 | M12 | Regime da margem de lucro — Agências de viagens |
CAUSE_11 | M13 | Regime da margem de lucro — Bens em segunda mão |
CAUSE_12 | M14 | Regime da margem de lucro — Objetos de arte |
CAUSE_13 | M15 | Regime da margem de lucro — Objetos de coleção e antiguidades |
CAUSE_14 | M16 | Isento artigo 14.º do RITI |
CAUSE_15 | M19 | Outras isenções |
CAUSE_16 | M20 | IVA — regime forfetário |
CAUSE_17 | M21 | IVA — não confere direito à dedução (Art. 72 n.º 4 CIVA) |
CAUSE_18 | M25 | Mercadorias à consignação |
CAUSE_19 | M26 | Isenção de IVA com direito à dedução no cabaz alimentar |
CAUSE_20 | M30 | IVA — autoliquidação (sucata e resíduos) |
CAUSE_21 | M31 | IVA — autoliquidação (construção civil) |
CAUSE_22 | M32 | IVA — autoliquidação (direitos de emissão) |
CAUSE_23 | M33 | IVA — autoliquidação (cortiça e madeira) |
CAUSE_24 | M34 | IVA — autoliquidação (eletricidade) |
CAUSE_25 | M40 | IVA — autoliquidação (B2B intra-UE) |
CAUSE_26 | M41 | IVA — autoliquidação (operações triangulares) |
CAUSE_27 | M42 | IVA — autoliquidação (ouro de investimento) |
CAUSE_28 | M43 | IVA — autoliquidação (DL 362/99) |
CAUSE_29 | M44 | IVA — Regras específicas — artigo 6.º |
CAUSE_30 | M45 | IVA — regime transfronteiriço de isenção |
CAUSE_31 | M46 | IVA — e-TaxFree |
NOT_SUBJECT | M99 | Não sujeito ou não tributado |
Note: SIGN PT validates that the code is technically correct and present where required. Choosing the appropriate code for the underlying transaction is the taxpayer’s responsibility.
Request example
Section intitulée « Request example »To add a VAT exemption to a line item, set content.operation.entries.data.vat type to VAT_EXEMPTION and provide the appropriate code:
"vat": { "type": "VAT_EXEMPTION", "code": "CAUSE_8", "reason": "IVA — regime de isenção"}The reason field is optional — SIGN PT auto-fills it with the standard AT invoice mention for the given code. Provide a value only to override the default phrasing.
VAT rates
Portugal has three tax regions, each with its own set of VAT rates. In the SIGN PT API, each rate is mapped to a generic enum value (STANDARD, REDUCED_1, REDUCED_2) that resolves to a different percentage depending on the taxpayer’s fiscal_location. For more details on regions, see VAT regions in Portugal.
Rate table
Section intitulée « Rate table »| API code | SAF-T TaxCode | Mainland (PT) | Azores (PT-AC) | Madeira (PT-MA) |
|---|---|---|---|---|
STANDARD | NOR | 23% | 16% | 22% |
REDUCED_1 | INT | 13% | 9% | 12% |
REDUCED_2 | RED | 6% | 4% | 4% |
The applicable rate is determined by the fiscal_location field. When omitted, the taxpayer’s registered region is used as default.
What each rate covers
Section intitulée « What each rate covers »-
Standard —
STANDARD: everything not covered by the reduced or intermediate rates — electronics, clothing, professional services, construction, telecom, software licences, etc. -
Intermediate —
REDUCED_1: restaurant meals, wine (non-sparkling), processed food, musical instruments, tickets to concerts and cinema, certain agricultural inputs. -
Reduced —
REDUCED_2: essential goods and services — bread, milk, fruit, vegetables, meat, fish, water supply, medicines, books and periodicals, urban passenger transport, hotel accommodation.
Request example
Section intitulée « Request example »A standard-rate sale in the Azores:
"vat": { "type": "VAT_RATE", "code": "STANDARD", "percentage": 16, "amount": 8.00, "exclusive": 50.00, "inclusive": 58.00, "fiscal_location": { "country": "PT", "region": "AC" }}Validation rules
Section intitulée « Validation rules »A rate is only valid in combination with the correct region. A rate that doesn’t match the region (e.g. 4% on PT) will be rejected.
| Region | Valid rates |
|---|---|
| PT | 23%, 13%, 6% |
| PT-AC | 16%, 9%, 4% |
| PT-MA | 22%, 12%, 4% |
When the seller and buyer are in different regions, the seller’s region generally applies (Art. 6 CIVA), with exceptions for immovable property, events, and B2B EU services. See VAT regions in Portugal.
Recent rate changes
Section intitulée « Recent rate changes »Corrective documents (NC/ND) must reference the rate that was in force on the original invoice date — these dates matter when issuing corrections against older invoices.
-
Madeira reduced rate: 5% → 4% on 1 October 2024 (DLR n.º 6/2024/M, Art. 21).
-
Azores standard rate: 18% → 16% on 1 July 2022 (DLR n.º 2/2022/A).
⚠️ Warning: The official gov.pt page on IVA still lists the Madeira reduced rate as 5%. The 4% figure is correct as of 1 Oct 2024 — confirmed by AT Ofício-Circulado 25045/2024 (6 Dec 2024).
VAT regions in Portugal
Portugal is split into three tax regions — Mainland (PT), Azores (PT-AC), and Madeira (PT-MA) — each with its own VAT rates. For the rates in each region, see VAT rates in Portugal.
| SAF-T TaxCountryRegion | Region |
|---|---|
| PT | Mainland |
| PT-AC | Azores |
| PT-MA | Madeira |
How regions are configured in SIGN PT
Section intitulée « How regions are configured in SIGN PT »By default, the taxpayer’s registered region applies to all documents. To override it per line, set fiscal_location.region:
region value | Maps to |
|---|---|
| (omitted) | Taxpayer’s registered region |
| AC | PT-AC |
| MA | PT-MA |
For Mainland, set fiscal_location.country: PT and omit region.
Use a line-level override when a transaction takes place in a different region — for example, a Mainland-based hotel chain billing a stay at its Madeira property. A single invoice can mix regions; each line carries its own fiscal_location.