PT SAF-T
PT SAF-T
Generate Portugal SAF-T audit export files for PT entities.
Generate PT SAF-T report
GET
/fiscalization/pt/saft/reportGenerate a Portugal SAF-T XML export for the selected PT entity. The response is encoded as windows-1252 for AT/audit compatibility.
Request
Header parameters
entity_idstringoptional
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
Query parameters
fromstring<date>optional
Report start date (inclusive) in YYYY-MM-DD format.
tostring<date>optional
Report end date (inclusive) in YYYY-MM-DD format.
curl "https://eu.spaceinvoices.com/fiscalization/pt/saft/report" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"