Read a canton's answer to a monthly tax at source declaration in detail: the persons it confirmed, the reversals it made itself and the declaration that confirmed each, the corrections it awaits from the company and whether the salary configuration has the tariff, and the quittance - taken from the archived result response
Ask AI
GET
/api-v1/swissdec/salary-declaration/{jobKey}/institutions/{domainStatusId}/tax-at-source
curl \
--request GET 'https://wyzio.app/api-v1/swissdec/salary-declaration/{jobKey}/institutions/{domainStatusId}/tax-at-source'
Response examples (200)
{
"canton": "string",
"customerIdentity": "string",
"changesConsideredUpTo": "2026-05-04",
"withoutCompletion": true,
"tags": 42,
"quittance": {
"month": "string",
"taxableEarning": 42.0,
"taxAtSource": 42.0,
"commission": 42.0
},
"corrections": [
{
"month": "string",
"taxableEarning": 42.0,
"taxAtSource": 42.0,
"commission": 42.0
}
],
"persons": [
{
"staffId": 42,
"contactId": 42,
"socialInsuranceId": "string",
"employeeNumber": "string",
"lastname": "string",
"firstname": "string",
"dateOfBirth": "2026-05-04",
"notes": [
{
"level": "WARNING",
"qualityLevel": "string",
"code": "string",
"description": "string"
}
],
"salaries": [
{
"canton": "string",
"municipalityId": 42,
"currentMonth": "string",
"confirmed": true,
"reversals": [
{
"month": "string",
"old": {
"category": "string",
"taxableEarning": 42.0,
"ascertainedTaxableEarning": 42.0,
"taxAtSource": 42.0,
"sporadicBenefits": 42.0
},
"replacement": {
"category": "string",
"taxableEarning": 42.0,
"ascertainedTaxableEarning": 42.0,
"taxAtSource": 42.0,
"sporadicBenefits": 42.0
},
"netTaxableEarning": 42.0,
"netTaxAtSource": 42.0,
"comments": [
{
"level": "WARNING",
"qualityLevel": "string",
"code": "string",
"description": "string"
}
],
"confirmedByJobKey": "string",
"confirmedInMonth": "string"
}
],
"awaited": [
{
"validAsOf": "string",
"category": "string",
"comments": [
{
"level": "WARNING",
"qualityLevel": "string",
"code": "string",
"description": "string"
}
],
"applied": true
}
]
}
]
}
]
}