Skip to main content
POST
Create Salary

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Salary object that needs to be created

employeeId
string<uuid>
required

The ID of the employee

payPeriod
enum<string>
required

Payment period of contract

Available options:
daily,
weekly,
biweekly,
monthly,
yearly
currency
string
required

Currency of contract

Example:

"EUR"

grossSalary
number<float>
required

Salary amount

payments
integer
required

Number of payments

contributionGroupId
string<uuid>
required

Contribution group id

startDate
string<date>
required

Salary start date

prorated
boolean
required

Defines whether the salary is prorated or not

grossPeriod
enum<string>
default:yearly

Period of gross salary. Defaults to 'yearly' if not specified

Available options:
daily,
monthly,
yearly
endDate
string<date>

Salary end date

comments
string

Comments

Response

Salary created successfully

data
object
required
warnings
object[]
required

List of warnings generated during the operation. Empty if none.