All financial reports include account groups, these indicate which accounting data to include in your reports. For example, a report might include the "Accounts Payable" account group for a specific customer or in a specific location.
Account groups organize accounts into re-usable structures, creating the groupings and amounts that you want to see on reports. You can create as many groups as you need, from large hierarchical structures like "Net Income" to flat account groups such as "Cash and Cash Equivalents," and then use them across many different reports, graphs, and dashboard performance cards.
Returns a collection with a key, ID, and link for each account group. This operation is mostly for use in testing; use the query service to find account groups that meet specific criteria and to specify the properties that you want in the response.
OK
Bad Request
{- "ia::result": [
- {
- "key": "647",
- "id": "Liquidity Ratios",
- "href": "/objects/general-ledger/account-group/647"
}, - {
- "key": "621",
- "id": "Cash and ST Investments",
- "href": "/objects/general-ledger/account-group/621"
}, - {
- "key": "629",
- "id": "Days in Month",
- "href": "/objects/general-ledger/account-group/629"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new account group.
Account group to create
id required | string ID for the account group. Example: "85 - Cash" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | string Header row title for the account group on financial reports. Example: "Cash" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displayTotalLineAs | string Total line title for the account group on financial reports. Example: "Total Accounts Payable" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
manager | string Name of the manager responsible for the account group. Example: "John Smith" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
calculationMethod | string or null Default: "period" Calculation method used when calculating amounts on reports for each account group. Valid calculation methods are:
Example: "period" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
normalBalance | string Default: "credit" Use this account group as either a debit balance or a credit balance, for example Cash is generally a debit balance, and Sales, a credit balance. Make sure that the normal balance is the same for all accounts in the account group. The normal balance takes the designation from the top of the group. For example, if the parent is debit normal, all included accounts will be added, regardless of their normal balance setting. Example: "credit" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
groupType | string or null Default: "accounts" Indicate the type of account group. Different account group types yield different results in your financial reports. Valid account group types:
Example: "groups" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isKPI | boolean Default: false Use Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
includeChildAmount | boolean Default: false Use Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Account group purpose to associate with this account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Filtering on the account group restricts the information displayed to certain dimensions. You can also filter for multiple locations and departments at the same time by using a dimension group. Valid values for all report filters, use in reports where the account group is specified:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Filter by the specified dimension values if A dimension is a classification system used to organize, sort, and report on your company information in meaningful ways. Each dimension has a set of related values with transactions and entries. Every transaction you enter can be tagged with multiple dimension values for identification and reporting. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of account ranges for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of statistical account ranges for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of account group members for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of account group category members for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of statistical account group category members for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of computation group members for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
|
Created
Bad Request
{- "id": "AGG Group",
- "normalBalance": "debit",
- "calculationMethod": "period",
- "includeChildAmount": false,
- "title": "ReportFilter",
- "displayTotalLineAs": "Total ReportFilter",
- "reportFilters": {
- "debitOrCredit": "both",
- "department": "noFilter",
- "location": "noFilter",
- "vendor": "noFilter",
- "customer": "noFilter",
- "project": "noFilter",
- "employee": "noFilter",
- "item": "noFilter",
- "class": "noFilter",
- "task": "noFilter",
- "warehouse": "noFilter",
- "asset": "noFilter",
- "affiliateEntity": "noFilter"
}, - "groupType": "accounts",
- "isKPI": false,
- "manager": "AG",
- "accountGroupPurpose": {
- "id": "21"
}, - "accountRanges": [
- {
- "sortOrder": 0,
- "rangeFrom": "1000",
- "rangeTo": "2000"
}, - {
- "sortOrder": 1,
- "rangeFrom": "3000",
- "rangeTo": "3000"
}
]
}
{- "ia::result": {
- "key": "719",
- "id": "AGG Group",
- "href": "/objects/general-ledger/account-group/719"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified account group.
key required | string System-assigned key for the account group. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "id": "AG-Computation-01",
- "normalBalance": "debit",
- "calculationMethod": "period",
- "includeChildAmount": false,
- "title": "AG-Computation-01",
- "displayTotalLineAs": "Total AG-Computation-01",
- "dimensions": {
- "location": {
- "key": null,
- "name": null,
- "id": null
}, - "department": {
- "key": "9",
- "name": "Partner Sales",
- "id": "PRS",
- "href": "/objects/company-config/department/9"
}, - "departmentGroup": {
- "key": null,
- "name": null,
- "id": null
}, - "locationGroup": {
- "key": "7",
- "name": "USA Locations",
- "id": "USA-GRP"
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "customer": {
- "key": null,
- "id": null,
- "name": null
}, - "vendor": {
- "key": null,
- "id": null,
- "name": null
}, - "employee": {
- "key": null,
- "id": null,
- "name": null
}, - "item": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}, - "task": {
- "key": null,
- "id": null,
- "name": null
}, - "warehouse": {
- "key": null,
- "id": null,
- "name": null
}, - "asset": {
- "key": null,
- "id": null,
- "name": null
}, - "affiliateEntity": {
- "key": null,
- "id": null,
- "name": null
}, - "entity": {
- "key": null,
- "id": null,
- "name": null
}
}, - "reportFilters": {
- "debitOrCredit": "both",
- "department": "specificHierarchy",
- "location": "specific",
- "vendor": "noFilter",
- "customer": "noFilter",
- "project": "noFilter",
- "employee": "noFilter",
- "item": "noFilter",
- "class": "noFilter",
- "contract": null,
- "task": "noFilter",
- "warehouse": "noFilter",
- "costType": null,
- "asset": "noFilter",
- "affiliateEntity": "noFilter"
}, - "groupType": "computation",
- "isKPI": false,
- "audit": {
- "createdDateTime": "2024-10-08T13:29:18Z",
- "modifiedDateTime": "2024-10-08T13:29:18Z",
- "createdBy": "34",
- "modifiedBy": "1",
- "createdByUser": {
- "key": "34",
- "id": "Admin",
- "href": "/objects/company-config/user/34"
}, - "modifiedByUser": {
- "key": "1",
- "id": "Aman",
- "href": "/objects/company-config/user/1"
}
}, - "manager": "John Doe",
- "accountGroupPurpose": {
- "key": "10",
- "id": "P&L",
- "href": "/objects/general-ledger/account-group-purpose/10"
}, - "accountRanges": [ ],
- "accountGroupMembers": [ ],
- "accountGroupComputation": [
- {
- "id": "59",
- "key": "59",
- "glAccountGroup": {
- "key": "713",
- "id": "AG-Computation-01",
- "href": "/objects/general-ledger/account-group/713"
}, - "formulaLeft": {
- "glAccount": {
- "key": null,
- "id": null,
- "name": null
}, - "glAccountGroup": {
- "key": "1902",
- "id": "Acc grp with Dept filter",
- "href": "/objects/general-ledger/account-group/1902"
}, - "constant": "10",
- "asOf": "forPeriod"
}, - "operator": "add",
- "formulaRight": {
- "glAccount": {
- "key": null,
- "id": null,
- "name": null
}, - "glAccountGroup": {
- "key": "1044",
- "id": "990IX Advertising and Promotion",
- "href": "/objects/general-ledger/account-group/1044"
}, - "constant": "10",
- "asOf": "forPeriod"
}, - "numberOfDecimalPlaces": 2,
- "displayAs": "number",
- "unit": "AK",
- "unitPlacement": "left",
- "audit": {
- "createdDateTime": "2024-06-17T05:00:51Z",
- "modifiedDateTime": "2024-06-17T05:00:51Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "href": "/objects/general-ledger/account-group-computation/59"
}
], - "accountGroupCategoryMembers": [ ],
- "statisticalAccountGroupCategoryMembers": [ ],
- "statisticalAccountRanges": [ ],
- "href": "/objects/general-ledger/account-group/713"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing account group by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the account group. Example: 99 |
title | string Header row title for the account group on financial reports. Example: "Cash" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displayTotalLineAs | string Total line title for the account group on financial reports. Example: "Total Accounts Payable" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
manager | string Name of the manager responsible for the account group. Example: "John Smith" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
calculationMethod | string or null Default: "period" Calculation method used when calculating amounts on reports for each account group. Valid calculation methods are:
Example: "period" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
normalBalance | string Default: "credit" Use this account group as either a debit balance or a credit balance, for example Cash is generally a debit balance, and Sales, a credit balance. Make sure that the normal balance is the same for all accounts in the account group. The normal balance takes the designation from the top of the group. For example, if the parent is debit normal, all included accounts will be added, regardless of their normal balance setting. Example: "credit" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
groupType | string or null Default: "accounts" Indicate the type of account group. Different account group types yield different results in your financial reports. Valid account group types:
Example: "groups" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isKPI | boolean Default: false Use Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
includeChildAmount | boolean Default: false Use Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Account group purpose to associate with this account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Filtering on the account group restricts the information displayed to certain dimensions. You can also filter for multiple locations and departments at the same time by using a dimension group. Valid values for all report filters, use in reports where the account group is specified:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Filter by the specified dimension values if A dimension is a classification system used to organize, sort, and report on your company information in meaningful ways. Each dimension has a set of related values with transactions and entries. Every transaction you enter can be tagged with multiple dimension values for identification and reporting. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of account ranges for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of statistical account ranges for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of account group members for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of account group category members for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of statistical account group category members for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Array of computation group members for the account group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
|
OK
Bad Request
{- "accountRanges": [
- {
- "sortOrder": 0,
- "rangeFrom": "1001",
- "rangeTo": "2000"
}, - {
- "sortOrder": 1,
- "rangeFrom": "2001",
- "rangeTo": "5000"
}
]
}
{- "ia::result": {
- "key": "719",
- "id": "AGG Group",
- "href": "/objects/general-ledger/account-group/719"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes an account group.
key required | string System-assigned key for the account group. 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
}
}