Severance

These endpoints let you manage severance features in the system. It allows you to retrieve severance configurations, calculate related contributions, and manage severance records.

Download Severance Slip

get

Download the severance slip.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
idstringRequiredExample: f47ac10b-58cc-4372-a567-0e02b2c3d479
Responses
chevron-right
200

OK

application/json
anyOptional
get
/core/v1/employees/{id}/payslip/severance

Get Severance Payment Plans

get

Search Query

Supported Keys
Supported Operators
Notes

paymentDate

: > <

Equal operator Greater than or equal to operator Less than or equal to operator

plannedDate

: > <

Equal operator Greater than or equal to operator Less than or equal to equal operator

paymentMethod

:

Equal operator

paymentOption

:

Equal operator

paid

:

Equal operator

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Responses
chevron-right
200

OK

application/json
totalPagesintegerRequired

Total number of pages available

lastbooleanRequired

Indicates whether this is the last page

totalElementsintegerRequired

Total number of elements across all pages

numberOfElementsintegerRequired

Number of elements in the current page

firstbooleanRequired

Indicates whether this is the first page

sizeintegerRequired

Size of the page (number of elements per page)

numberintegerRequired

Current page number (zero-indexed)

get
/core/v1/severance-payment-plans

Get Severance Payment Plan by Id

get

Return the severance payment plan by Id.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
idstringRequiredExample: f47ac10b-58cc-4372-a567-0e02b2c3d479
Responses
chevron-right
200

OK

application/json
idstring · uuidOptional
terminationEntryIdstring · uuidOptional
terminationEntryCodestringOptional
employeeIdstring · uuidOptional
employeeIdentificationNumberstringOptional
employeeNamestringOptional
terminationReasonIdstring · uuidOptional
terminationReasonNamestringOptional
terminationDatestring · dateOptional
plannedDatestring · dateOptional
paymentDatestring · dateOptional
paymentMethodstring · enumOptionalPossible values:
paymentOptionstringOptional
amountnumberOptional
nonTaxableAmountnumberOptional
thpAmountnumberOptional
pphAmountnumberOptional
taxAllowancenumberOptional
get
/core/v1/severance-payment-plans/{id}

Get Severance Plans

get

Search Query

Supported Keys
Supported Operators
Notes

employeeIdentificationNumber

:

Like operator

employeeName

:

Like operator

paymentMethod

:

Equal operator

paymentOption

:

Equal operator

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Responses
chevron-right
200

OK

application/json
totalPagesintegerRequired

Total number of pages available

lastbooleanRequired

Indicates whether this is the last page

totalElementsintegerRequired

Total number of elements across all pages

numberOfElementsintegerRequired

Number of elements in the current page

firstbooleanRequired

Indicates whether this is the first page

sizeintegerRequired

Size of the page (number of elements per page)

numberintegerRequired

Current page number (zero-indexed)

get
/core/v1/severance-plans

Get Severance Plans by Id

get

Return the severance plans by Id.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
idstringRequiredExample: f47ac10b-58cc-4372-a567-0e02b2c3d479
Responses
chevron-right
200

OK

application/json
idstring · uuidOptional
paymentMethodstring · enumOptionalPossible values:
pph21MethodstringOptional
paymentOptionstringOptional
totalnumberOptional
totalThpnumberOptional
totalPphnumberOptional
taxAllowancenumberOptional
get
/core/v1/severance-plans/{id}

Delete Severance Plans by Id

delete

Delete the severance plans by Id.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
idstringRequiredExample: f47ac10b-58cc-4372-a567-0e02b2c3d479
Responses
chevron-right
200

OK

application/json
anyOptional
delete
/core/v1/severance-plans/{id}

Create Severance Plan

post

Create a severance plan.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
idstringRequiredExample: f47ac10b-58cc-4372-a567-0e02b2c3d479
Body
pph21MethodstringRequired
Responses
chevron-right
200

OK

application/json
idstring · uuidOptional
paymentMethodstring · enumOptionalPossible values:
pph21MethodstringOptional
paymentOptionstringOptional
totalnumberOptional
totalThpnumberOptional
totalPphnumberOptional
taxAllowancenumberOptional
post
/core/v1/termination-entries/{id}/severance-plans

Last updated