Build and submit a salary declaration to Swissdec for the current organization and calendar year. testCase=true/false sends the declaration with/without <TestCase>; omitted = server default (see /dispatch-options); domains=AHV_AVS,UVG_LAA,… limits <ProcessByDistributor>=true to the listed domains (others false); omitted = organisation defaults
Ask AI
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/swissdec/salary-declaration/{calendarYear}
curl \
--request POST 'https://wyzio.app/api-v1/swissdec/salary-declaration/{calendarYear}'
Response examples (200)
{
"jobKey": "string",
"declarationId": "string",
"responseId": "string",
"requestId": "string"
}