Salary Item

These endpoints let you manage salary items in the system. It allows you to retrieve, create, update, and delete salary item records.

Get Salary Items

get

Get salary items with optional pagination and search.

Authorizations
AuthorizationstringRequired

Bearer authentication header of the form Bearer <token>.

Query parameters
pageintegerOptional

Page number

Default: 0Example: 0
sizeinteger · min: 1 · max: 50Optional

Page size

Default: 10Example: 10
includeDefaultTypebooleanOptionalDefault: falseExample: false
querystringOptional

Search Query

Supported KeysSupported OperatorsNotes
code:Like operator
name:Like operator
Example: name:Salary
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/salary-items

Get Salary Item by Id

get

Return the salary item 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
codestringOptional
namestringOptional
payslipNamestringOptional
salaryItemCategorystringOptional
pph21MethodstringOptional
pph21ItemstringOptional
get
/core/v1/salary-items/{id}

Last updated