Expense summaries are collections of the same type of transactions, grouped together for processing. Expense summaries are referenced by employee expense objects. For more information, see Add, edit, or delete expense summaries in the Sage Intacct Help Center.
Returns a collection with a key, ID, and link for each expense summary. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "13",
- "id": "13",
- "href": "/objects/expenses/employee-expense-summary/13"
}, - {
- "key": "15",
- "id": "15",
- "href": "/objects/expenses/employee-expense-summary/15"
}, - {
- "key": "16",
- "id": "16",
- "href": "/objects/expenses/employee-expense-summary/16"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 3,
- "next": 0,
- "previous": 0
}
}
Creates a new employee expense summary.
Employee expense summary to create
name required | string Title of the summary. Example: "Expenses - Expenses (USD) Q3 Batch" |
postingDate required | string <date> The GL posting date for the expense summary. Example: "2021-01-23" |
state | string Default: "open" State of the employee expense summary. Example: "open" |
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Bad Request
{- "name": "Expenses (USD) Q1 Batch",
- "title": "Expenses (USD) Q1 Batch",
- "postingDate": "2021-01-23",
- "totalAmount": "100",
- "recordType": "expense",
- "status": "active"
}
{- "ia::result": {
- "key": "10",
- "id": "10",
- "href": "/objects/expenses/employee-expense-summary/10"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified employee expense summary.
key required | string System-assigned key for the employee expense summary. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "key": "18",
- "id": "18",
- "title": "Expense reports for week 03",
- "postingDate": "2023-01-20",
- "totalAmount": "100",
- "state": "open",
- "recordType": "expense",
- "summaryCreationType": "manual",
- "entity": {
- "key": "46",
- "id": "Western Region",
- "name": "Western Region",
- "href": "/objects/company-config/entity/46"
}, - "bankAccount": {
- "key": "1",
- "id": "BOA",
- "href": "/objects/cash-management/bank-account/1"
}, - "preventGLPosting": false,
- "href": "/objects/expenses/employee-expense-summary/18"
}, - "ia::meta": {
- "totalCount": 1
}
}
Updates an existing employee expense summary by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the employee expense summary. Example: 99 |
name | string Title of the summary. Example: "Expenses - Expenses (USD) Q3 Batch" |
postingDate | string <date> The GL posting date for the expense summary. Example: "2021-01-23" |
state | string Default: "open" State of the employee expense summary. Example: "open" |
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "name": "Expense report for January"
}
{- "ia::result": {
- "key": "124",
- "id": "124",
- "href": "/objects/expenses/employee-expense-summary/124"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes an employee expense summary.
key required | string System-assigned key for the employee expense summary. 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
}
}