Expense report header for employee expense lines. Employees create and submit expense reports, consisting of individual line items, to receive reimbursement for approved out-of-pocket costs related to their jobs.
The employees' managers must then approve the expenses. After approval, the expense reports become reimbursement request candidates for the accounting department to process into pending reimbursements, from which checks are printed.
Returns up to 100 employee expense objects from the collection with a key, ID, and link for each expense. This operation is mostly for use in testing; use the query service to find expense objects that meet certain criteria and to specify the properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "84",
- "id": "EXP-00001",
- "href": "/objects/expenses/employee-expense/84"
}, - {
- "key": "85",
- "id": "EXP-00002",
- "href": "/objects/expenses/employee-expense/85"
}, - {
- "key": "60",
- "id": "EXP-00003",
- "href": "/objects/expenses/employee-expense/60"
}
], - "ia::meta": {
- "totalCount": 3,
- "totalSuccess": 3,
- "totalError": 0,
- "start": 1,
- "pageSize": 5,
- "next": 0,
- "previous": 0
}
}
Creates a new employee expense. You must specify a unique employee expense ID when creating an employee expense unless document sequencing is configured, in which case the ID is auto-generated.
Creates an employee expense. Allowed values for the state
field are draft
, submitted
.
createdDate required | string <date> Date the employee expense was created. Example: "2024-11-11" | ||||||||||||||||||||||||||||||||||||
required | object Employee that incurred the expense. | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
required | Array of objects Line items of the employee expense. | ||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
state | string Default: "submitted" Status of the employee expense in its life cycle. Expenses are posted to the general ledger when approved. Example: "draft" | ||||||||||||||||||||||||||||||||||||
object Base payment details for the employee expense report. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object Reimbursement details. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
expenseReportNumber | string Report number associated with the employee expense. Example: "EXP-00001" | ||||||||||||||||||||||||||||||||||||
object Expense summary that this expense is reported on. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
memo | string Memo. Example: "Paid to employee" | ||||||||||||||||||||||||||||||||||||
description | string Reason for the expense. Example: "Supplies for customer training" | ||||||||||||||||||||||||||||||||||||
reclassificationNotes | string If an expense is reclassified, reason for the reclassification. Example: "Classified as supplies, not travel expense" | ||||||||||||||||||||||||||||||||||||
object An attachment for employee expenses.(Company subscription with permissions to Add and Edit Attachments.) | |||||||||||||||||||||||||||||||||||||
|
Created
Bad Request
{- "state": "submitted",
- "expenseReportNumber": "EXP-00001",
- "employee": {
- "id": "10"
}, - "createdDate": "2021-03-11",
- "expenseSummary": {
- "postingDate": "2021-01-31",
- "title": "Expenses - Q1 batch"
}, - "basePaymentInformation": {
- "baseCurrency": "USD"
}, - "reimbursementInformation": {
- "reimbursementCurrency": "EUR"
}, - "description": "Travel expense",
- "memo": "Paid to employee",
- "lines": [
- {
- "account": null,
- "id": "6775.30",
- "paidTo": "paid To",
- "paidFor": "paid For",
- "isBillable": false,
- "form1099": {
- "isForm1099": "true",
- "type": "MISC",
- "box": "3"
}, - "paymentType": {
- "key": "1",
- "name": "Non-reimburse",
- "isNonreimbursable": false
}, - "quantity": "10",
- "unitrate": "20",
- "txnCurrency": "INR",
- "txnAmount": "100",
- "transactionToReimburseConversion": {
- "exchangeRateDate": "2021-03-11",
- "exchangeRateTypeId": "Intacct Daily Rate"
}, - "dimensions": {
- "location": {
- "id": "1"
}, - "department": {
- "id": "1"
}, - "class": {
- "id": "REST_CLS_001"
}, - "item": {
- "id": "Case 13"
}, - "employee": {
- "id": "10"
}, - "vendor": {
- "id": "1605212096809"
}, - "customer": {
- "id": "113"
}, - "project": {
- "id": "NET-XML30-2"
}, - "warehouse": {
- "id": "WH01"
}, - "task": {
- "id": "tet"
}
}
}
]
}
{- "ia::result": {
- "key": "124",
- "id": "124",
- "href": "/objects/expenses/employee-expense/124"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified employee expense.
key required | string System-assigned key for the employee-expense. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "expenseReportNumber": "ER-0152",
- "employee": {
- "id": "10",
- "key": "10",
- "href": "/objects/company-config/employee/10"
}, - "employeeContact": {
- "key": "977",
- "id": "Thomas Glenn",
- "firstName": "Thomas",
- "lastName": "Glenn",
- "href": "/objects/company-config/contact/977"
}, - "key": "124",
- "id": "124",
- "createdDate": "2021-03-11",
- "expenseSummary": {
- "postingDate": "2021-01-31",
- "title": "Expenses - Q1 batch",
- "key": "3",
- "id": "3",
- "state": "open",
- "preventGLPosting": false,
- "href": "/objects/expenses/employee-expense-summary/3"
}, - "basePaymentInformation": {
- "totalEntered": "1.38",
- "totalPaid": "0",
- "totalSelected": "0",
- "totalDue": "1.38",
- "baseCurrency": "USD"
}, - "state": "approved",
- "reimbursementInformation": {
- "totalEntered": "1.16",
- "totalSelected": "0",
- "totalPaid": "0",
- "totalDue": "1.16",
- "reimbursementCurrency": "EUR"
}, - "description": "Supplies for customer training",
- "nonReimbursable": {
- "baseTotalEntered": "0",
- "reimbursementTotalEntered": "0"
}, - "lines": [
- {
- "key": "288",
- "id": "288",
- "employee-expense": {
- "id": "124",
- "key": "124",
- "href": "/objects/expenses/employee-expense/124"
}, - "quantity": "0",
- "glAccount": {
- "key": "158",
- "id": "6775.30",
- "name": "Travel",
- "href": "/objects/account/158"
}, - "entryDate": "2021-03-11",
- "paidTo": "paid To",
- "paidFor": "paid For",
- "baseAmount": "1.38",
- "reimburseToBase": {
- "exchangeRateDate": "2021-03-11",
- "exchangeRateTypeId": "-1",
- "exchangeRate": "1.1899"
}, - "expenseType": {
- "key": "Meals",
- "id": "6000"
}, - "reimbursementInformation": {
- "reimbursementAmount": "1.16",
- "totalSelected": "0",
- "totalPaid": "0"
}, - "isBillable": false,
- "isBilled": false,
- "state": "approved",
- "form1099": {
- "isForm1099": "true",
- "type": "MISC",
- "box": "3"
}, - "paymentType": {
- "isNonreimbursable": false
}, - "unitrate": "10",
- "lineNumber": 1,
- "currency": {
- "txnCurrency": "INR",
- "txnAmount": "100",
- "exchangeRateDate": "2021-03-11",
- "exchangeRateTypeId": "Intacct Daily Rate",
- "exchangeRate": "1"
}, - "attachment": {
- "key": "1",
- "id": "1"
}, - "dimensions": {
- "location": {
- "key": "1",
- "id": "1",
- "name": "USA",
- "href": "/objects/company-config/location/1"
}, - "department": {
- "key": "1",
- "id": "1",
- "name": "IT",
- "href": "/objects/company-config/department/1"
}, - "class": {
- "key": "731",
- "id": "REST_CLS_001",
- "name": "Education",
- "href": "/objects/company-config/class/731"
}, - "item": {
- "key": "13",
- "id": "13",
- "name": "Support",
- "href": "/objects/inventory-control/item/13"
}, - "employee": {
- "key": "10",
- "id": "10",
- "href": "/objects/company-config/employee/10"
}, - "vendor": {
- "key": "357",
- "id": "1605212096809",
- "name": "Boston Properties",
- "href": "/objects/accounts-payable/vendor/357"
}, - "customer": {
- "key": "13",
- "id": "113",
- "name": "Jack In the Box",
- "href": "/objects/accounts-receivable/customer/13"
}, - "project": {
- "key": "2",
- "id": "NET-XML30-2",
- "name": "Binford Implementation",
- "href": "/objects/projects/project/2"
}, - "task": {
- "key": "2",
- "id": "tet",
- "name": "Implementation services",
- "href": "/objects/projects/task/2"
}, - "warehouse": {
- "key": "6",
- "id": "WH01",
- "name": "WH01 Name",
- "href": "/objects/inventory-control/warehouse/6"
}
}, - "href": "/objects/expenses/employee-expense-line/288"
}
], - "memo": "Covered by customer",
- "entity": {
- "key": "46",
- "id": "Western Region",
- "name": "Western Region",
- "href": "/objects/company-config/entity/46"
}, - "href": "/objects/expenses/employee-expense/124"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing employee expense by setting field values. Any fields not provided remain unchanged. Allowed values for the state
field are draft
, and submitted
.
key required | string System-assigned key for the employee-expense. Example: 99 |
createdDate | string <date> Date the employee expense was created. Example: "2024-11-11" | ||||||||||||||||||||||||||||||||||||
object Employee that incurred the expense. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
state | string Default: "submitted" Status of the employee expense in its life cycle. Expenses are posted to the general ledger when approved. Example: "draft" | ||||||||||||||||||||||||||||||||||||
object Base payment details for the employee expense report. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object Reimbursement details. | |||||||||||||||||||||||||||||||||||||
expenseReportNumber | string Report number associated with the employee expense. Example: "EXP-00001" | ||||||||||||||||||||||||||||||||||||
object Expense summary that this expense is reported on. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
memo | string Memo. Example: "Paid to employee" | ||||||||||||||||||||||||||||||||||||
description | string Reason for the expense. Example: "Supplies for customer training" | ||||||||||||||||||||||||||||||||||||
reclassificationNotes | string If an expense is reclassified, reason for the reclassification. Example: "Classified as supplies, not travel expense" | ||||||||||||||||||||||||||||||||||||
object An attachment for employee expenses.(Company subscription with permissions to Add and Edit Attachments.) | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
Array of objects Line items of the employee expense. | |||||||||||||||||||||||||||||||||||||
Array
|
OK
Bad Request
{- "memo": "Covered by customer"
}
{- "ia::result": {
- "key": "124",
- "id": "124",
- "href": "/objects/expenses/employee-expense/124"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes an employee expense.
key required | string System-assigned key for the employee-expense. Example: 99 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}