Saft
Queue a SAF-T D406 generation on the worker (never rendered inline). 409 when the readiness pre-flight has blocking findings or a generation is already running; 503 when no worker is reachable. (scope: saft:write)
POST
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
Idempotency-Key*stringRequired. Retries with the same key replay the first response instead of starting a second job (24 h).
Length
length <= 200application/json- body
fiscal_year_id*stringFormat
uuidvariant?stringDefault
"annual"Value in
"annual""assets""stocks"period_start?stringStocks variant only; defaults to the fiscal year.
Format
dateperiod_end?stringStocks variant only; defaults to the fiscal year.
Format
dateOK
application/json- response
data*error*nullcurl -X POST "https://example.com/saft/generations" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "fiscal_year_id": "571ccfed-38f5-41f9-9797-855116d7b59a" }'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "status": "pending" }, "error": null}Apply a previewed SAF-T import: contacts, products, account links, opening stock and opening balances (one posted, immutable OP entry). 409 when already applied or opening balances are already posted. (scope: saft_import:write) POST
Previous Page
Start a SAF-T D406 import (≤ 50 MB): returns a signed PUT URL to object storage; then call parse. 503 when object storage is not configured. (scope: saft_import:write) POST
Next Page