Transition compensation

Calculate transition compensation

This is a controller endpoint to perform a calculation. No actual data will be stored as a result of these actions.

Activity name : PostCalculateTransitionCompensationByEmploymentId

Defaults : Default values for a new object can be acquired by adding /defaults to the POST URL. This will only include the default values for the input parameter fields (the actual calculation of the transition compensation is not part of that)

A calculation help for determining the transition compensation amount. (rekenhulp transitievergoeding)

post/v2/providers/employers/employees/employments/{employmentId}/transitioncompensation/calculate

Request

  • Base URL
    https://api.loket.nl
  • URL
    https://api.loket.nl/v2/providers/employers/employees/employments/{employmentId}/transitioncompensation/calculate
  • Auth
    none required

Path parameters

employmentIdstring uuid required

The unique identifier of the employment

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Request body

startDatestring date

The date on which this employment starts.

endDatestring date

The date on which the employment ends.

grossMonthlyWagenumber double

Gross wage/ basic wage for the employment per month.

grossMonthlySupplementnumber double

An additional monthly amount, if applicable.

shiftBonusPercentagenumber double

The bonus percentage used in wage calculations based on given shift.

baseCalculationsBonusPercentagenumber double

The bonus percentage used in wage calculations based on an accumulation of given base calculations (grondslagen)

Example request

{
  "startDate": "2018-01-01",
  "endDate": "2018-10-23",
  "grossMonthlyWage": 2300,
  "grossMonthlySupplement": 212,
  "shiftBonusPercentage": 12,
  "baseCalculationsBonusPercentage": 12
}

Response

OK

Example response

{
  "version": {
    "resourceVersion": "2018-12-31"
  },
  "messages": [
    {
      "type": "Warning",
      "description": "<some warning>",
      "id": "904d6856-6034-4624-bcbc-886188c115c5",
      "code": 12
    }
  ],
  "content": {
    "monthlyWage": 2300,
    "employmentDurationInDecimalYears": 3.5,
    "transitionCompensationAmount": 8050
  }
}

Changes

No recorded changes to this operation across all 6 revisions of this API.