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
Query parameters
-
Default value is
false. -
Values are
AHV_AVS,BVG_LPP,UVG_LAA,UVGZ_LAAC,KTG_AMC,FAK_CAF,TAX,TAX_AT_SOURCE,TAX_CROSSBORDER,STATISTIC, orUNEMPLOYMENT_CERTIFICATES.
POST
/api-v1/swissdec/salary-declaration/{calendarYear}
curl \
--request POST 'https://wyzio.app/api-v1/swissdec/salary-declaration/{calendarYear}' \
--header "Content-Type: application/json" \
--data '{
"additionalProperty1": "string",
"additionalProperty2": "string"
}'
Request examples
# Headers
# Payload
{
"additionalProperty1": "string",
"additionalProperty2": "string"
}
Response examples (200)
{
"jobKey": "string",
"declarationId": "string",
"responseId": "string",
"requestId": "string"
}