Computation account groups

Computation account groups consist of other account groups or individual accounts that you use as components in a mathematical equation; results of the equation display in financial reports. For more information, see Account group types in the Sage Intacct help center.

List computation account groups

get/objects/general-ledger/account-group-computation

Returns a collection with a key, ID, and link for each computation account group.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "57",
      • "id": "57",
      • "href": "/objects/general-ledger/account-group-computation/57"
      },
    • {
      • "key": "58",
      • "id": "58",
      • "href": "/objects/general-ledger/account-group-computation/58"
      },
    • {
      • "key": "59",
      • "id": "59",
      • "href": "/objects/general-ledger/account-group-computation/59"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a computation account group

get/objects/general-ledger/account-group-computation/{key}

Returns detailed information for a specified computation account group.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the computation account group.

Example: 201
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "id": "59",
    • "key": "59",
    • "glAccountGroup": {
      • "id": "AG-Computation-01",
      • "key": "713",
      • "href": "/objects/general-ledger/account-group/713"
      },
    • "formulaLeft": {
      • "glAccount": {
        },
      • "glAccountGroup": {
        },
      • "constant": "100",
      • "asOf": "forPeriod"
      },
    • "operator": "add",
    • "formulaRight": {
      • "glAccount": {
        },
      • "glAccountGroup": {
        },
      • "constant": "100",
      • "asOf": "forPeriod"
      },
    • "numberOfDecimalPlaces": 2,
    • "displayAs": "number",
    • "unit": "AK",
    • "unitPlacement": "left",
    • "audit": {
      • "createdDateTime": "2024-07-04T06:36:03Z",
      • "modifiedDateTime": "2024-07-04T06:36:03Z",
      • "createdBy": "1",
      • "modifiedBy": "1"
      },
    • "href": "/objects/general-ledger/account-group-computation/59"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}