Salary Items Types

The default salary types

Default salary items table

In order to create or update a salary item of an employee, kindly find below the default types that can be used

Type NameType ID
Basic Salary1
Housing2
Transportation3
Living / Expenses4
Other Expenses5

Example

for example, if we want to create the following salary information:


Then the sent array of objects should look like this:

[
    {
        "amount": 5000,
        "type": 1
    },
    {
        "amount": 2000,
        "type": 2
    },
    {
        "amount": 1000,
        "type": 3
    }
]

Note: no need to send the total salary, its automatically calculated as the summary of the items you will send