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 Name | Type ID |
|---|---|
| Basic Salary | 1 |
| Housing | 2 |
| Transportation | 3 |
| Living / Expenses | 4 |
| Other Expenses | 5 |
Example
for example, if we want to create the following salary information:
block:image
{
"images": [
{
"image": [
"https://files.readme.io/88d05ae-image.png",
null,
""
],
"align": "center",
"sizing": "500px",
"border": true
}
]
}
</block:image>
Then the sent array of objects should look like this:
[
{
"amount": 5000,
"type": 1
},
{
"amount": 2000,
"type": 2
},
{
"amount": 1000,
"type": 3
}
]
