Skip to main content
POST
/
custom
/
silae
/
employees
/
{employee_id}
/
payroll-supplements
Write Payroll Supplement
curl --request POST \
  --url https://api.kombo.dev/v1/custom/silae/employees/{employee_id}/payroll-supplements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Integration-Id: <x-integration-id>' \
  --data '{
  "supplement_code": "200",
  "effective_date": "2024-01-14",
  "element_amount": 6
}'
{
"status": "<string>",
"data": {},
"warnings": [
{
"message": "<string>"
}
]
}

Authorizations

Authorization
string
header
required

Create an API key on the Secrets page in the Kombo dashboard.

Headers

X-Integration-Id
string
required

ID of the integration you want to interact with.

Path Parameters

employee_id
string
required

ID of the employee that should be updated. You can use their Kombo id or their ID in the remote system by prefixing it with remote: (e.g., remote:12312)

Body

application/json

POST /custom/silae/employees/:employee_id/payroll-supplements Request body

supplement_code
string
required

The ID code of the supplement that you want to add to Silae.

effective_date
string<date-time>
required

Date from which the submitted supplement should be active.

element_amount
number

The amount of the supplement if it requires a number.

Required range: x >= -1.7976931348623157e+308
element_string
string

The string of the supplement if it requires a string.

Response

POST /custom/silae/employees/:employee_id/payroll-supplements Positive response

status
string
required
Allowed value: "success"
data
object
required
warnings
object[]
required

These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console.