Build a salary declaration, validate it against the Swissdec ELMv5 schema, and save it to disk as XML for manual review (does not contact Swissdec)
Ask AI
POST
/api-v1/swissdec/salary-declaration/{calendarYear}/validate
curl \
--request POST 'https://wyzio.app/api-v1/swissdec/salary-declaration/{calendarYear}/validate'
Response examples (200)
{
"jobKey": "string",
"valid": true,
"validationError": "string",
"filePath": "string"
}