What the UI needs before a monthly declaration (Monatsmeldung) of one month: the tax-at-source cantons of the month with their debtor number (SSL / DPI) and number of persons, the statistics office, which of them an active declaration of the month already addressed, and the plausibility findings
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/dispatch-options/monthly
curl \
--request GET 'https://wyzio.app/api-v1/swissdec/salary-declaration/dispatch-options/monthly?calendarYear=42&monthType=JANUARY'
Response examples (200)
{
"calendarYear": 42,
"monthType": "JANUARY",
"testCaseDefault": true,
"submissionInProgress": true,
"cantons": [
{
"canton": "string",
"institutionId": "string",
"customerIdentity": "string",
"persons": 42,
"declaredBy": "string",
"available": true
}
],
"statisticAvailable": true,
"statisticInstitutionId": "string",
"statisticDeclaredBy": "string",
"plausibility": [
{
"level": "ERROR",
"code": "string",
"subject": "string",
"field": "string",
"value": "string",
"message": "string"
}
]
}