Skip to main content
GET
/
apps
/
at-pt
/
v1
/
entry
/
{silo_entry_id}
/
saft
cURL
curl --request GET \
  --url https://api.invopop.com/apps/at-pt/v1/entry/{silo_entry_id}/saft \
  --header 'Authorization: Bearer <token>'
"<string>"
Generate and download a SAF-T PT report for the specified period. The report can be generated for a full year or a specific month.

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 generate the SAF-T PT report for.

Example:

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

Query Parameters

year
integer
required

Report year for the SAF-T PT report.

Required range: x >= 2020
Example:

2024

period
integer
default:0

Report month (1-12) for monthly report. Omit or use 0 for full year report.

Required range: 0 <= x <= 12
Example:

3

Response

SAF-T report generated successfully.

The response is of type file.