Skip to main content

The employment resource represents a relationship between an employee and a legal-entity over a continuous period. It may actually represent a work contract, an internship agreement, a contractor's contract, etc...

The actual job of the employee is defined through the job-position resource, which references an employment. Over the course of his/her employment, the employee may occupy several job-positions.

Reference to a legal-entity resource. Read-only. Reference to a legal-entity. Inferred from the business-establishment of its first job-position.

start
object
required
template
object
required

Reference to an employment-template resource.

id
string
Minimum length: 1
type
string
Allowed value: "employment"
url
string<uri>
remoteId
string | null

Resource identifier in a third-party system.

Required string length: 1 - 200
employee
object

Reference to an employee resource.

status
enum<string>

Read-only. The employee status is calculated from the employee's employments.

  • active: employee has an employment as of today.
  • upcoming: employee currently has no employment but will have one in the future.
  • deactivated: employee used to have an employment but no longer does.
Available options:
active,
upcoming,
deactivated
Examples:

"active"

end
object | null
document
object | null

Reference to a file resource.

Examples:
{
"id": "9283sdf",
"type": "file",
"url": "https://example.ilucca.net/lucca-api/files/9283sdf"
}
createdAt
string<date-time-offset>

Read-only. UTC timestamp of the moment this object was created.

Examples:

"2023-01-23T12:45:23.1234Z"

lastUpdatedAt
string<date-time>

Read-only. UTC timestamp of the moment this object was last updated. Set upon creation, update or deletion of the object.

Examples:

"2023-01-23T12:45:23.1234Z"