The contract objects allow you to associate contract data to your companies. Contracts can contain terms for both Services and Private offices.
The API allows you to create, delete, and update contracts.
You can retrieve individual contracts as well as a list of all your contracts.
Here is the list of some of the properties the contract object has:
Contract
Property | Type | Required | Description |
---|---|---|---|
number | string | false | The contract number, if not specified the system will generate a number automatically by adding a 1 to the last greatest contract number. |
notice | object | false | An object containing the months of notice for the contract. |
documentType | string | false | The type of the contract. If none entered "leaseAgreement" will be used by default. |
team | Company | true | Reference to the team the member belongs to. Contracts can only be created for companies. |
member | Member | true | Reference to the member with which the contract is associated. All contracts have to be associated with a member. |
office | Location | false | Reference to the location of the contract. It will default to the only location if left empty. |
resources | Resource | true | Array containing all the resources that are part of the contract. A contract must have at least one primary item, i.e. a resource, plan or a one-off fee. |
plans | Plans | true | Array containing all the plans that are part of the contract. A contract must have at least one primary item, i.e. a resource, plan or a one-off plan. |
oneOffPlans | oneOffPlans | true | Array containing all the one-off plans that are part of the contract. A contract must have at least one primary item, i.e. a resource, plan or a one-off plan. |
createdAt | date | readonly | The date when the contract has been created. |
createdBy | id | readonly | The user that created the contract. |
status | enum | false | The contract status. By default a created contract is "not_signed" until signed manually through the UI or by using e-sign. |