An employee is a resource that executes work for a company and is associated with a financial transaction such as a timesheet entry or expense transaction.
If the employee is also a user in Sage Intacct (which is required if they will be entering Time & Expenses), the employee must be associated with the correct Sage Intacct user.
Employees
Get Employee Object Definition
lookup
List all the fields and relationships for the employee object:
List the record number, employee ID, and employee’s location :
List the record number and employee ID for the employee with the given first and last name:
Parameters
Name
Required
Type
Description
object
Required
string
Use EMPLOYEE
filter
Optional
object
Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL).
select
Required
sequence
The names of the fields that you want included in the response, and an optional aggregate function such as count or sum. Returning all fields is not supported.
orderby
Optional
object
Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> <field>RECORDNO</field> <descending/> </order>
Set the caseinsensitive element to true for a case-insensitive query <caseinsensitive>true</caseinsensitive>
In a multi-entity company, set the showprivate element to true to query data in private entities: <showprivate>true</showprivate>
Specify the returnformat for the response: xml (default), json, or csv <returnformat>json</returnformat>
pagesize
Optional
integer
Maximum number of matching objects to return in the response, between 1 and 2000 items (Default: 100)
offset
Optional
integer
Point at which to start indexing into records (Default: 0)
Query and List Employees (Legacy)
readByQuery
Parameters
Name
Required
Type
Description
object
Required
string
Use EMPLOYEE
fields
Optional
string
Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query
Required
string
SQL-like query based on fields on the object. The following operators are supported: <, >, >=, <=, =, like, not like, in, not in, IS NOT NULL, IS NULL, AND, OR. Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli'). Joins are not supported.
pagesize
Optional
integer
Custom page size between 1 and 1000 items (Default: 100)
query Fields
Name
Required
Type
Description
STATUS
Optional
string
Status. Use T for Active and F for Inactive.
Note: You cannot use readByQuery to find an employee by first and last name because these names are in an associated record. See the query function above, or see the FAQ for a workaround.
Get Employees
read
Parameters
Name
Required
Type
Description
object
Required
string
Use EMPLOYEE
keys
Required
string
Comma-separated list of employee RECORDNO values to get.
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
returnFormat
Optional
string
Data format for the response body:
xml (default)
json
csv
Get Employees by ID
readByName
Parameters
Name
Required
Type
Description
object
Required
string
Use EMPLOYEE
keys
Required
string
Comma-separated list of EMPLOYEEID values of the employees to get.
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
Unique ID for the employee. Required if company does not use document sequencing, or you can provide a value to use instead of the document sequence value.
PERSONALINFO
Required
object
Contact info
STARTDATE
Optional
string
Start date in format mm/dd/yyyy
TITLE
Optional
string
Title
SSN
Optional
string
Social security number. Do not include dashes.
EMPLOYEETYPE
Optional
string
Employee type
STATUS
Optional
string
Status. Use active for Active otherwise use inactive for Inactive (Default: active)
BIRTHDATE
Optional
string
Birth date in format mm/dd/yyyy
ENDDATE
Optional
string
End date in format mm/dd/yyyy
TERMINATIONTYPE
Optional
string
Termination type. Use voluntary, involuntary, deceased, disability, or retired.
SUPERVISORID
Optional
string
Manager employee ID
GENDER
Optional
string
Gender
DEPARTMENTID
Optional
string
Department ID
LOCATIONID
Optional
string
Location ID. Required only when an employee is created at the top level in a multi-entity, multi-base-currency company.
Unique ID for the employee. Required if company does not use document sequencing, or you can provide a value to use instead of the document sequence value.
ssn
Optional
string
Social security number. Do not include dashes.
title
Optional
string
Title
locationid
Optional
string
Location ID. Required only when an employee is created at the top level in a multi-entity, multi-base-currency company.
departmentid
Optional
string
Department ID
classid
Optional
string
Class ID
supervisorid
Optional
string
Manager employee ID
birthdate
Optional
object
Birth date
startdate
Optional
object
Start date
enddate
Optional
object
End date
terminationtype
Optional
string
Termination type. Use voluntary, involuntary, deceased, disability, or retired
employeetype
Optional
string
Employee type
gender
Optional
string
Gender
status
Optional
string
Status. Use active for Active otherwise use inactive for Inactive (Default: active)
currency
Optional
string
Default currency code
name1099
Optional
string
Form 1099 name
form1099type
Optional
string
Form 1099 type
form1099box
Optional
string
Form 1099 box
earningtypename
Optional
string
Earning type name
postactualcost
Optional
boolean
Post actual cost. Use false for No, true for Yes. (Default: false)