The account allocation target specifies where the amounts from the source pool are distributed when calculating the account allocation.
Returns a collection with a key, ID, and link for each account allocation target.
OK
Bad Request
{- "ia::result": [
- {
- "key": "16",
- "id": "16",
- "href": "/objects/general-ledger/account-allocation-target/16"
}, - {
- "key": "20",
- "id": "20",
- "href": "/objects/general-ledger/account-allocation-target/20"
}, - {
- "key": "21",
- "id": "21",
- "href": "/objects/general-ledger/account-allocation-target/21"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified account allocation target.
key required | string System-assigned key for the account allocation target. Example: 178 |
OK
Bad Request
{- "ia::result": {
- "id": "21",
- "key": "21",
- "glAccountAllocation": {
- "id": "29",
- "key": "29",
- "href": "/objects/general-ledger/account-allocation/29"
}, - "journal": {
- "key": "39",
- "title": "Accommodation Expenses",
- "id": "Others",
- "href": "/objects/general-ledger/journal/39"
}, - "exchangeRate": {
- "typeId": "1"
}, - "glAccount": {
- "id": "1105",
- "key": "378",
- "name": "Target",
- "href": "/objects/general-ledger/account/378"
}, - "isBillable": false,
- "audit": {
- "createdDateTime": "2024-06-25T12:16:47Z",
- "modifiedDateTime": "2024-06-25T12:58:12Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "dimensions": {
- "location": {
- "key": "72",
- "id": "AZ",
- "name": "Arizona",
- "href": "/objects/company-config/location/72"
}, - "department": {
- "key": null,
- "id": null,
- "name": null
}, - "project": {
- "key": null,
- "name": null,
- "id": null
}, - "customer": {
- "key": "1",
- "name": "Power Aerospace Materials",
- "id": "1",
- "href": "/objects/accounts-receivable/customer/1"
}, - "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-target/21"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing account allocation target by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the account allocation target. Example: 178 |
object Account group to base your allocation split on. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isBillable | boolean Default: false Flag lines in the allocation target as billable. Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object General ledger account. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Journal where the allocation will be recorded when generated. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Exchange rate details used to calculate the base amount. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Dimension overrides for the account allocation target. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
{- "isBillable": true
}
{- "ia::result": {
- "key": "21",
- "id": "21",
- "href": "/objects/general-ledger/account-allocation-target/21"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}