Get region salary configs

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/payslip/region

Returns salary configurations grouped by year for the specified country and region.

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

Query parameters

  • countryCode string Required

    Country code

  • regionCode string Required

    Region code

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • * array[object] Additional properties
      Hide * attributes Show * attributes object
      • id integer(int64)
      • parentPayslipId integer(int64)
      • startDate string(date-time) Required

        Date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')

        Minimum length is 1.

      • endDate string(date-time) Required

        Date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')

        Minimum length is 1.

      • calendarYear integer(int32) Required
      • countryId integer(int64) Required
      • countryName object
        Hide countryName attributes Show countryName attributes object
        • en string
        • fr string
        • de string
        • it string
      • countryCode string
      • isRegionAvailable boolean
      • type string Required

        Values are COUNTRY, REGION, or CLA.

      • region object
        Hide region attributes Show region attributes object
        • id integer(int64)
        • name string
        • code string
        • taxMode string

          Values are ANNUALLY or MONTHLY.

      • cla string
      • warnings string
      • payslipLines array[object]
        Hide payslipLines attributes Show payslipLines attributes object
        • id integer(int64)
        • number integer(int64) Required
        • localizations object Required
          Hide localizations attributes Show localizations attributes object
          • id integer(int64)
          • en string
          • fr string
          • de string
          • it string
        • payslipLineType string Required

          Values are EMPLOYEE_LINE, COMPANY_LINE, BOTH, CALCULATION, or SYSTEM.

        • payslipLineSign string Required

          Values are INCOME or CHARGES.

        • isShownOnSalarySlip boolean
        • isAutomaticallyAdded boolean
        • isLinkedToAccount boolean
        • specialAttributionType string

          Values are BASE_SALARY, GROSS_SALARY, NET_SALARY, PAYABLE, CHARGES, EMPLOYEE_ALLOCATION, or SYSTEM_LINE_ADJUSTMENT.

        • payslipEntityId integer(int64)
        • systemLine object

          One of:
        • parentPayslipLines array[integer(int64)]
        • touched boolean
        • shouldIncludeVat boolean
        • isHourlyWageLine boolean
        • description object
          Hide description attributes Show description attributes object
          • en string
          • fr string
          • de string
          • it string
        • lineName object
          Hide lineName attributes Show lineName attributes object
          • en string
          • fr string
          • de string
          • it string
      • payslipCertificateInsuranceInfoEntity object
        Hide payslipCertificateInsuranceInfoEntity attributes Show payslipCertificateInsuranceInfoEntity attributes object
        • id integer(int64)
        • salaryRent array[integer(int64)]
        • ancillaryWageBenefitsPensionHousing array[integer(int64)]
        • ancillaryWageBenefitsPrivateCarUse array[integer(int64)]
        • ancillaryWageBenefitsOther array[integer(int64)]
        • nonRecurringBenefits array[integer(int64)]
        • capitalBenefits array[integer(int64)]
        • participationFeeAccordingToAnnex array[integer(int64)]
        • allowancesOfTheMembersOfTheAdministration array[integer(int64)]
        • otherServices array[integer(int64)]
        • socialContributions array[integer(int64)]
        • occupationalBenefitsOrdinary array[integer(int64)]
        • occupationalBenefitsRePurchaseContributions array[integer(int64)]
        • directTaxAtSource array[integer(int64)]
        • costAllowancesTravelFoodLodging array[integer(int64)]
        • costAllowancesActualCosts array[integer(int64)]
        • costAllowancesFixedExpensesRepresentation array[integer(int64)]
        • costAllowancesFixedExpensesCar array[integer(int64)]
        • costAllowancesFixedExpensesOther array[integer(int64)]
        • developmentContributions array[integer(int64)]
        • avsSalary array[integer(int64)]
        • aciSalary array[integer(int64)]
        • aciiSalary array[integer(int64)]
        • laaSalary array[integer(int64)]
        • laacSalary array[integer(int64)]
        • laacExceesSalary array[integer(int64)]
        • apgSalary array[integer(int64)]
      • holidays array[object]
        Hide holidays attributes Show holidays attributes object
        • id integer(int64)
        • date string(date-time) Required

          Date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')

          Minimum length is 1.

        • name string Required

          Minimum length is 1.

      • status string

        Values are DRAFT or FINAL.

      • fromSwitzerland boolean
      • regionAvailable boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/payslip/region
curl \
 --request GET 'https://wyzio.app/api-v1/payslip/region?countryCode=string&regionCode=string'
Response examples (200)
{
  "additionalProperty1": [
    {
      "id": 42,
      "parentPayslipId": 42,
      "startDate": "2026-01-01T00:00:00.000Z",
      "endDate": "2026-01-01T00:00:00.000Z",
      "calendarYear": 42,
      "countryId": 42,
      "countryName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "countryCode": "string",
      "isRegionAvailable": true,
      "type": "COUNTRY",
      "region": {
        "id": 42,
        "name": "string",
        "code": "string",
        "taxMode": "ANNUALLY"
      },
      "cla": "string",
      "warnings": "string",
      "payslipLines": [
        {
          "id": 42,
          "number": 42,
          "localizations": {
            "id": 42,
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "payslipLineType": "EMPLOYEE_LINE",
          "payslipLineSign": "INCOME",
          "isShownOnSalarySlip": true,
          "isAutomaticallyAdded": true,
          "isLinkedToAccount": true,
          "specialAttributionType": "BASE_SALARY",
          "payslipEntityId": 42,
          "systemLine": {
            "id": 42,
            "payslipLineType": "string",
            "systemAdjustmentLineNumber": 42
          },
          "parentPayslipLines": [
            42
          ],
          "touched": true,
          "shouldIncludeVat": true,
          "isHourlyWageLine": true,
          "description": {
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "lineName": {
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          }
        }
      ],
      "payslipCertificateInsuranceInfoEntity": {
        "id": 42,
        "salaryRent": [
          42
        ],
        "ancillaryWageBenefitsPensionHousing": [
          42
        ],
        "ancillaryWageBenefitsPrivateCarUse": [
          42
        ],
        "ancillaryWageBenefitsOther": [
          42
        ],
        "nonRecurringBenefits": [
          42
        ],
        "capitalBenefits": [
          42
        ],
        "participationFeeAccordingToAnnex": [
          42
        ],
        "allowancesOfTheMembersOfTheAdministration": [
          42
        ],
        "otherServices": [
          42
        ],
        "socialContributions": [
          42
        ],
        "occupationalBenefitsOrdinary": [
          42
        ],
        "occupationalBenefitsRePurchaseContributions": [
          42
        ],
        "directTaxAtSource": [
          42
        ],
        "costAllowancesTravelFoodLodging": [
          42
        ],
        "costAllowancesActualCosts": [
          42
        ],
        "costAllowancesFixedExpensesRepresentation": [
          42
        ],
        "costAllowancesFixedExpensesCar": [
          42
        ],
        "costAllowancesFixedExpensesOther": [
          42
        ],
        "developmentContributions": [
          42
        ],
        "avsSalary": [
          42
        ],
        "aciSalary": [
          42
        ],
        "aciiSalary": [
          42
        ],
        "laaSalary": [
          42
        ],
        "laacSalary": [
          42
        ],
        "laacExceesSalary": [
          42
        ],
        "apgSalary": [
          42
        ]
      },
      "holidays": [
        {
          "id": 42,
          "date": "2026-01-01T00:00:00.000Z",
          "name": "string"
        }
      ],
      "status": "DRAFT",
      "fromSwitzerland": true,
      "regionAvailable": true
    }
  ],
  "additionalProperty2": [
    {
      "id": 42,
      "parentPayslipId": 42,
      "startDate": "2026-01-01T00:00:00.000Z",
      "endDate": "2026-01-01T00:00:00.000Z",
      "calendarYear": 42,
      "countryId": 42,
      "countryName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "countryCode": "string",
      "isRegionAvailable": true,
      "type": "COUNTRY",
      "region": {
        "id": 42,
        "name": "string",
        "code": "string",
        "taxMode": "ANNUALLY"
      },
      "cla": "string",
      "warnings": "string",
      "payslipLines": [
        {
          "id": 42,
          "number": 42,
          "localizations": {
            "id": 42,
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "payslipLineType": "EMPLOYEE_LINE",
          "payslipLineSign": "INCOME",
          "isShownOnSalarySlip": true,
          "isAutomaticallyAdded": true,
          "isLinkedToAccount": true,
          "specialAttributionType": "BASE_SALARY",
          "payslipEntityId": 42,
          "systemLine": {
            "id": 42,
            "payslipLineType": "string",
            "systemAdjustmentLineNumber": 42
          },
          "parentPayslipLines": [
            42
          ],
          "touched": true,
          "shouldIncludeVat": true,
          "isHourlyWageLine": true,
          "description": {
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "lineName": {
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          }
        }
      ],
      "payslipCertificateInsuranceInfoEntity": {
        "id": 42,
        "salaryRent": [
          42
        ],
        "ancillaryWageBenefitsPensionHousing": [
          42
        ],
        "ancillaryWageBenefitsPrivateCarUse": [
          42
        ],
        "ancillaryWageBenefitsOther": [
          42
        ],
        "nonRecurringBenefits": [
          42
        ],
        "capitalBenefits": [
          42
        ],
        "participationFeeAccordingToAnnex": [
          42
        ],
        "allowancesOfTheMembersOfTheAdministration": [
          42
        ],
        "otherServices": [
          42
        ],
        "socialContributions": [
          42
        ],
        "occupationalBenefitsOrdinary": [
          42
        ],
        "occupationalBenefitsRePurchaseContributions": [
          42
        ],
        "directTaxAtSource": [
          42
        ],
        "costAllowancesTravelFoodLodging": [
          42
        ],
        "costAllowancesActualCosts": [
          42
        ],
        "costAllowancesFixedExpensesRepresentation": [
          42
        ],
        "costAllowancesFixedExpensesCar": [
          42
        ],
        "costAllowancesFixedExpensesOther": [
          42
        ],
        "developmentContributions": [
          42
        ],
        "avsSalary": [
          42
        ],
        "aciSalary": [
          42
        ],
        "aciiSalary": [
          42
        ],
        "laaSalary": [
          42
        ],
        "laacSalary": [
          42
        ],
        "laacExceesSalary": [
          42
        ],
        "apgSalary": [
          42
        ]
      },
      "holidays": [
        {
          "id": 42,
          "date": "2026-01-01T00:00:00.000Z",
          "name": "string"
        }
      ],
      "status": "DRAFT",
      "fromSwitzerland": true,
      "regionAvailable": true
    }
  ]
}