Termination

These endpoints let you manage employee terminations in the system. It allows you to retrieve, create, update, and delete termination records.

Get Termination Entry

get

Return the termination entries.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
employeeIdstringRequiredExample: 0ab1c2d3-e4f5-6789-0123-456789abcdef
Responses
chevron-right
200

OK

application/json
idstringOptional
terminationCodestringOptional
effectiveDatestringOptional
payrollMethodstringOptional
bpjsManpowerEndDatestringOptional
bpjsHealthcareEndDatestringOptional
pph21MembershipEndDatestringOptional
requestDatestringOptional
servicePeriodBystringOptional
rehirebooleanOptional
approvalStatusstring · enumOptionalPossible values:
get
/core/v1/employees/{employeeId}/termination-entries

Create Termination Entry

post

Create a termination entry.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
employeeIdstringRequiredExample: 0ab1c2d3-e4f5-6789-0123-456789abcdef
Body
terminationCodestringOptional
payrollMethodstring · enumRequiredPossible values:
terminationReasonIdstringRequired
requestDatestring · dateRequired

YYYY-MM-DD

bpjsManpowerEndDatestring · dateRequired

YYYY-MM-DD

servicePeriodBystring · enumOptionalPossible values:
pph21MembershipEndDatestring · dateRequired

YYYY-MM-DD

bpjsHealthcareEndDatestring · dateRequired

YYYY-MM-DD

effectiveDatestring · dateRequired

YYYY-MM-DD

rehirebooleanRequiredDeprecated

Deprecated field that no longer has any effect on terminated employee pages

Responses
chevron-right
200

OK

application/json
idstringOptional
terminationCodestringOptional
effectiveDatestringOptional
payrollMethodstringOptional
bpjsManpowerEndDatestringOptional
bpjsHealthcareEndDatestringOptional
pph21MembershipEndDatestringOptional
requestDatestringOptional
servicePeriodBystringOptional
rehirebooleanOptional
approvalStatusstring · enumOptionalPossible values:
post
/core/v1/employees/{employeeId}/termination-entries

Undo Termination Entry

delete

Undo the termination entry.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
employeeIdstringRequiredExample: 0ab1c2d3-e4f5-6789-0123-456789abcdef
Responses
chevron-right
200

OK

application/json
anyOptional
delete
/core/v1/employees/{employeeId}/termination-entries

Get Termination Reason

get

Search Query

Supported Keys
Supported Operators
Notes

name

:

Like 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/termination-reasons

Create Termination Reason

post

Create a termination reason.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Body
namestring · min: 1 · max: 255Required
severancebooleanOptionalDefault: false
Responses
post
/core/v1/termination-reasons

Update Termination Reason

put

Update the termination reason.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Path parameters
idstringRequiredExample: f47ac10b-58cc-4372-a567-0e02b2c3d479
Body
namestring · min: 1 · max: 255Required
severancebooleanOptionalDefault: false
Responses
chevron-right
200

OK

application/json
idstringOptional
namestringOptional
terminationPph21ReasonstringOptionalDeprecated

Use taxReason instead

terminationBpjsManpowerReasonstringOptionalDeprecated

Use bpjsManpowerReason instead

terminationReasonCategorystringOptionalDeprecated

Use reasonCategory instead

severancebooleanOptional
put
/core/v1/termination-reasons/{id}

Get Termination Reason Category

get

Search Query

Supported Keys
Supported Operators
Notes

name

:

Like 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/termination-reason-categories

Get Termination Tax Reasons

get

Search Query

Supported Keys
Supported Operators
Notes

name

:

Like operator

taxAnnualized

:

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/termination-tax-reasons

Get Termination BPJS Manpower Reasons

get

Search Query

Supported Keys
Supported Operators
Notes

name

:

Like 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/termination-bpjs-manpower-reasons

Last updated