Get salary lines for payroll

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/payroll/payroll-table/line-names/{calendarYear}/{organizationId}

Returns a list of salary lines for the specified calendar year and organization.

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
  • organizationId integer(int64) Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response 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
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/payroll/payroll-table/line-names/{calendarYear}/{organizationId}
curl \
 --request GET 'https://wyzio.app/api-v1/payroll/payroll-table/line-names/{calendarYear}/{organizationId}'
Response examples (200)
[
  {
    "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"
    }
  }
]