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

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
GET /api-v1/swissdec/salary-declaration/{calendarYear}/rectification/options

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Path parameters

  • calendarYear integer(int32) Required

Query parameters

  • contactId integer(int64) Required
  • language string

    Values are EN, FR, DE, IT, or UNDEFINED.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • calendarYear integer(int32)
    • persons array[object]
      Hide persons attributes Show persons attributes object
      • staffId integer(int64)
      • contactId integer(int64)
      • socialInsuranceId string
      • employeeNumber string
      • lastname string
      • firstname string
      • dateOfBirth string(date)
      • notes array[object]
        Hide notes attributes Show notes attributes object
        • level string

          Values are WARNING or INFO.

        • qualityLevel string
        • code string
        • description string
      • salaries array[object]
        Hide salaries attributes Show salaries attributes object
        • canton string
        • municipalityId integer(int32)
        • currentMonth string
        • confirmed boolean
        • reversals array[object]
          Hide reversals attributes Show reversals attributes object
          • month string
          • old object
            Hide old attributes Show old attributes object
            • category string
            • taxableEarning number
            • ascertainedTaxableEarning number
            • taxAtSource number
            • sporadicBenefits number
          • replacement object
            Hide replacement attributes Show replacement attributes object
            • category string
            • taxableEarning number
            • ascertainedTaxableEarning number
            • taxAtSource number
            • sporadicBenefits number
          • netTaxableEarning number
          • netTaxAtSource number
          • comments array[object]
            Hide comments attributes Show comments attributes object
            • level string

              Values are WARNING or INFO.

            • qualityLevel string
            • code string
            • description string
          • confirmedByJobKey string
          • confirmedInMonth string
        • awaited array[object]
          Hide awaited attributes Show awaited attributes object
          • validAsOf string
          • category string
          • comments array[object]
            Hide comments attributes Show comments attributes object
            • level string

              Values are WARNING or INFO.

            • qualityLevel string
            • code string
            • description string
          • applied boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

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
            }
          ]
        }
      ]
    }
  ]
}