Employees

An Employee is an individual who works for the company of the linked account. The Employee model contains both contractors and full time employees.

  • An Employee is a contractor if is_contractor property is True
  • An Employee is a full time employee if is_contractor property is False
Properties

statusEnum
Required
The employee's status in the accounting system. Possible values include: ACTIVE, INACTIVE. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.

idUUID
Required

remote_idString
Optional
The third-party API ID of the matching object.

created_atDateTime (ISO 8601)
Required
The datetime that this object was created by Merge.

modified_atDateTime (ISO 8601)
Required
The datetime that this object was modified by Merge.

first_nameString
Optional
The employee's first name.

last_nameString
Optional
The employee's last name.

is_contractorBoolean
Optional
True if the employee is a contractor, False if not.

employee_numberString
Optional
The employee's internal identification number.

email_addressString
Optional
The employee's email address.

companyUUID
Optional
The subsidiary that the employee belongs to.

remote_was_deletedBoolean
Required
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.

field_mappingsObject
Optional

remote_dataRemoteData[]
Optional


GET
/employees
Beta

https://api.merge.dev/api/accounting/v1/employees

US
EU
APAC

Returns a list of Employee objects.


Query & Path Parameters

cursorString
Optional
The pagination cursor value.

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

include_deleted_dataBoolean
Optional
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_dataBoolean
Optional
Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

page_sizeInteger
Optional
Number of results to return per page.

Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
NetSuite
NetSuite
QuickBooks Online
QuickBooks Online
Sage Intacct
Sage Intacct
Xero
Xero
GET
/employees/{id}
Beta

https://api.merge.dev/api/accounting/v1/employees/{id}

US
EU
APAC

Returns an Employee object with the given id.


Query & Path Parameters

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

idUUID
Required

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.
Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
NetSuite
NetSuite
QuickBooks Online
QuickBooks Online
Sage Intacct
Sage Intacct
Xero
Xero