The account allocation basis defines how the allocation splits your source pool amount into each allocation focused dimension, it is the blueprint used when calculating dynamic allocations.
Returns a collection with a key, ID, and link for each account allocation basis.
OK
Bad Request
{- "ia::result": [
- {
- "key": "16",
- "id": "16",
- "href": "/objects/general-ledger/account-allocation-basis/16"
}, - {
- "key": "20",
- "id": "20",
- "href": "/objects/general-ledger/account-allocation-basis/20"
}, - {
- "key": "21",
- "id": "21",
- "href": "/objects/general-ledger/account-allocation-basis/21"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified account allocation basis.
key required | string System-assigned key for the account allocation basis. Example: 178 |
OK
Bad Request
{- "ia::result": {
- "id": "21",
- "key": "21",
- "glAccountAllocation": {
- "id": "29",
- "key": "29",
- "href": "/objects/general-ledger/account-allocation/29"
}, - "glAccountGroup": {
- "id": "Basis",
- "key": "623",
- "href": "/objects/general-ledger/account-group/623"
}, - "accumulation": "activity",
- "timePeriod": {
- "id": "Current Month",
- "key": "395",
- "href": "/objects/general-ledger/reporting-period/395"
}, - "allocationMethod": "dynamicRelativeAccountFinancial",
- "reportingBook": "accrual",
- "useAmountsFrom": "mainReportingBookAndAlternateBooks",
- "skipNegative": false,
- "dimensions": {
- "location": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}, - "department": {
- "key": "3",
- "id": "3",
- "name": "Engineering",
- "href": "/objects/company-config/department/3"
}, - "project": {
- "key": null,
- "name": null,
- "id": null
}, - "customer": {
- "key": null,
- "name": null,
- "id": null
}, - "vendor": {
- "key": null,
- "name": null,
- "id": null
}, - "employee": {
- "key": null,
- "name": null,
- "id": null
}, - "item": {
- "key": null,
- "name": null,
- "id": null
}, - "class": {
- "key": null,
- "name": null,
- "id": null
}, - "contract": {
- "key": null,
- "name": null,
- "id": null
}, - "warehouse": {
- "key": null,
- "name": null,
- "id": null
}
}, - "href": "/objects/general-ledger/account-allocation-basis/21"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing account allocation basis object by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the account allocation basis. Example: 178 |
accumulation | string Default: "activity" Determines how the amounts within the basis accounts are interpreted to derive amounts for the allocation split. Example: "activity" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Time period used to get the basis information. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reportingBook | string Default: "accrual" Accounting method used in the basis calculation. Example: "accrual" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
allocationMethod | string Default: "dynamicRelativeAccountFinancial" Method used to to distribute the source pool in the basis calculation. Example: "dynamicRelativeAccountFinancial" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
skipNegative | boolean Default: false Excludes negative balances from the basis calculation. Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
useAmountsFrom | string Default: "mainReportingBookAndAlternateBooks" Uses amounts from specified reporting book in the basis calculation. Example: "mainReportingBookAndAlternateBooks" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Account group to base your allocation split on. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Account allocation basis dimensions. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
{- "skipNegative": true,
- "allocationMethod": "dynamicRelativeAccountFinancial"
}
{- "ia::result": {
- "key": "21",
- "id": "21",
- "href": "/objects/general-ledger/account-allocation-basis/21"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "general-ledger/account-allocation-basis" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or has (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the result set, 4000 maximum. Example: 100 |
OK
Bad Request
{- "object": "general-ledger/account-allocation-basis",
- "filters": [
- {
- "$eq": {
- "timePeriod.id": "Current Month"
}
}
], - "fields": [
- "key",
- "id",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "125",
- "id": "125",
- "href": "/objects/general-ledger/account-allocation-basis/125"
}, - {
- "key": "147",
- "id": "147",
- "href": "/objects/general-ledger/account-allocation-basis/147"
}, - {
- "key": "188",
- "id": "188",
- "href": "/objects/general-ledger/account-allocation-basis/188"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}