Get details of salary config

GET /api-v1/payslip/{id}

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • id integer Required

    id

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • calendarYear integer(int32)
    • cla string
    • countryCode string
    • countryId integer
    • countryName object
      Hide countryName attributes Show countryName attributes object
      • de string
      • en string
      • fr string
      • it string
    • endDate string
    • fromSwitzerland boolean
    • holidays array[object]
      Hide holidays attributes Show holidays attributes object
      • date string
      • id integer
      • name string
    • id integer
    • isRegionAvailable boolean
    • parentPayslipId integer
    • payslipCertificateInsuranceInfoEntity object
      Hide payslipCertificateInsuranceInfoEntity attributes Show payslipCertificateInsuranceInfoEntity attributes object
      • aciSalary array[integer]
      • aciiSalary array[integer]
      • allowancesOfTheMembersOfTheAdministration array[integer]
      • ancillaryWageBenefitsOther array[integer]
      • ancillaryWageBenefitsPensionHousing array[integer]
      • ancillaryWageBenefitsPrivateCarUse array[integer]
      • apgSalary array[integer]
      • avsSalary array[integer]
      • capitalBenefits array[integer]
      • costAllowancesActualCosts array[integer]
      • costAllowancesFixedExpensesCar array[integer]
      • costAllowancesFixedExpensesOther array[integer]
      • costAllowancesFixedExpensesRepresentation array[integer]
      • costAllowancesTravelFoodLodging array[integer]
      • developmentContributions array[integer]
      • directTaxAtSource array[integer]
      • id integer
      • laaSalary array[integer]
      • laacExceesSalary array[integer]
      • laacSalary array[integer]
      • nonRecurringBenefits array[integer]
      • occupationalBenefitsOrdinary array[integer]
      • occupationalBenefitsRePurchaseContributions array[integer]
      • otherServices array[integer]
      • participationFeeAccordingToAnnex array[integer]
      • salaryRent array[integer]
      • socialContributions array[integer]
    • payslipLines array[object]
      Hide payslipLines attributes Show payslipLines attributes object
      • description object
        Hide description attributes Show description attributes object
        • de string
        • en string
        • fr string
        • it string
      • id integer
      • isAutomaticallyAdded boolean
      • isHourlyWageLine boolean
      • isLinkedToAccount boolean
      • isShownOnSalarySlip boolean
      • lineName object
        Hide lineName attributes Show lineName attributes object
        • de string
        • en string
        • fr string
        • it string
      • localizations object
        Hide localizations attributes Show localizations attributes object
        • de string
        • en string
        • fr string
        • id integer
        • it string
      • number integer
      • parentPayslipLines array[integer]
      • payslipEntityId integer
      • payslipLineSign string

        Values are INCOME or CHARGES.

      • payslipLineType string

        Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

      • shouldIncludeVat boolean
      • specialAttributionType string

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

      • systemLine object
        Hide systemLine attributes Show systemLine attributes object
        • id integer
        • payslipLineType string Discriminator
        • systemAdjustmentLineNumber integer
      • touched boolean
    • region object
      Hide region attributes Show region attributes object
      • code string
      • id integer
      • name string
      • taxMode string

        Values are ANNUALLY or MONTHLY.

    • regionAvailable boolean
    • startDate string
    • status string

      Values are DRAFT or FINAL.

    • type string

      Values are COUNTRY, REGION, or CLA.

    • warnings string
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

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