Render the salary declaration XML for the current organization and calendar year without submitting it. Builds the same <DeclareSalary> payload the submission would send (unsigned, not persisted) — for validators and the Swissdec Quality Tool
Ask AI
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
GET
/api-v1/swissdec/salary-declaration/{calendarYear}/preview
curl \
--request GET 'https://wyzio.app/api-v1/swissdec/salary-declaration/{calendarYear}/preview'
Response examples (200)
string