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
}
}