What the rectification dialog (Lohnausweisersatz) of a closed year needs: every person with a salary certificate in the year, and the certificate a rectification of ours already gave the tax administration. contactId = contact person of the organisation printed on the certificates, as for the certificate export
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}/rectification/options
curl \
--request GET 'https://wyzio.app/api-v1/swissdec/salary-declaration/{calendarYear}/rectification/options?contactId=42'
Response examples (200)
{
"calendarYear": 42,
"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
}
]
}
]
}
]
}