Contracts > ContractVersion > Deletes

Subscription_type: contracts/contract_version/delete. Triggered when a contract version is deleted via Public API (DELETE), or using "Delete contract" in employee contracts page in Factorial UI.

Payload

Callback payload

integer

identifier for the contract version.

integer
required

identifier for company.

integer
required

employee identifier, refers to /employees/employees endpoint.

string
required

the day the specific contract starts, in case of hiring the same than starts_on.

string

nationality country code of the employee (Spain ES, United Kingdom GB).

string

job title of the employee.

integer

job catalog level identifier, refers to /job_catalog/levels endpoint.

string

the uuid node in the job catalog tree. For now it only supports level nodes. From this point in the job catalog tree you can get the full ancestor path to the root node including the role. Refer to job_catalog/tree_nodes endpoint.

string

the day the employee is hired.

string

the day the employee is terminated. It has nothing to do with trial period, these are concepts totally unrelated.

boolean
required

boolean that indicates if the employee asociated to this contract belongs to a payroll policy.

boolean

a flag that indicates if the contract version has ever had a trial period.

string

when the trial period ends. If there is no date, it means that the employee has never been in trial. This date is not related with the end date of a contract.

integer

the amount of money the employee earns in cents.

string

the frequency of the salary payment.

string

the days of the week the employee works.

integer

the amount of hours the employee works.

string

the frequency of the working hours.

integer
integer

the maximum amount of hours the employee can work in a week.

string
enum
required

Defines whether a bank holiday should be considered as a workable or non-workable day.

Allowed:
integer

Working time percentage in cents (e.g., when an employee is working part-time, the percentage of full-time hours they are working).

string
enum

Allows companies to define how annual working hours are spread across the year to ensure compliance with legal limits.

Allowed:
integer

the minimum amount of minutes the employee must rest between working periods.

integer

the maximum amount of minutes the employee can work in a day.

integer

the maximum amount of days the employee can work in a row.

integer

the minimum amount of hours the employee must rest in a row.

string
required

the date the contract version was created.

string
required

the date of the last contract version updated.

boolean

flag that indicates if the contract has teleworking.

integer

the group of cotization of the employee.

integer

the group of cotization of the employee.

string

observations of the contract.

string

the job description of the employee.

integer

contract type identifier.

integer

working day type identifier.

integer

education level identifier.

integer

professional category identifier.

string

employee type.

boolean
required

flag that indicates if the employee is allowed to work within the framework of a fixed number of days.

integer

the number of days the employee is allowed to work.

string

coefficient for france contracts.

integer

contract type identifier.

integer

level identifier.

integer

step identifier.

integer

mutual identifier.

integer

professional category identifier.

integer

work type identifier.

integer

contract type identifier.

integer

Identifier for the German base salary type. References a payroll concept available via the /payroll/concepts endpoint.

integer

contract type identifier.

Response
200

Return a 200 status to indicate that the data was received successfully

LoadingLoading…