The account allocation source pool determines the source accounts from which Intacct dynamically finds amounts to use in the account allocation. You can use dimension filters to narrow the scope of your allocation by limiting the source pool, for example, to a specific department or location group.
Returns a collection with a key, ID, and link for each account allocation source.
OK
Bad Request
{- "ia::result": [
- {
- "key": "23",
- "id": "23",
- "href": "/objects/general-ledger/account-allocation-source/23"
}, - {
- "key": "27",
- "id": "27",
- "href": "/objects/general-ledger/account-allocation-source/27"
}, - {
- "key": "28",
- "id": "28",
- "href": "/objects/general-ledger/account-allocation-source/28"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified account allocation source.
key required | string System-assigned unique key for the account allocation source. Example: 178 |
OK
Bad Request
{- "ia::result": {
- "id": "28",
- "key": "28",
- "glAccountAllocation": {
- "id": "29",
- "key": "29",
- "href": "/objects/general-ledger/account-allocation/29"
}, - "glAccountGroup": {
- "id": "source",
- "key": "622",
- "href": "/objects/general-ledger/account-group/622"
}, - "percentToAllocate": "100",
- "timePeriod": {
- "id": "Current Month",
- "key": "395",
- "href": "/objects/general-ledger/reporting-period/395"
}, - "reportingBook": "accrual",
- "useAmountsFrom": "mainReportingBookAndAlternateBooks",
- "currency": "USD",
- "audit": {
- "createdDateTime": "2024-06-25T12:16:47Z",
- "modifiedDateTime": "2024-06-25T12:34:07Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "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-source/28"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing account allocation source by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the account allocation source. Example: 178 |
percentToAllocate | string Percent of the source pool to be allocated and applied to the source amount during calculation. Example: "100" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Source pool time period, the default time interval for the allocation. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reportingBook | string Default: "accrual" Accounting method used when calculating the allocation. Example: "accrual" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
useAmountsFrom | string Default: "mainReportingBookAndAlternateBooks" Use amounts from specified reporting book when calculating the allocation. Example: "mainReportingBookAndAlternateBooks" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Account allocation. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Account group to base your allocation split on. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Account allocation source dimensions. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
{- "percentToAllocate": "70",
- "timePeriod": {
- "key": "400"
}
}
{- "ia::result": {
- "key": "28",
- "id": "28",
- "href": "/objects/general-ledger/account-allocation-source/28"
}, - "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-source" | ||||||||
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-source",
- "filters": [
- {
- "$eq": {
- "currency": "USD"
}
}
], - "fields": [
- "key",
- "id",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "133",
- "id": "133",
- "href": "/objects/general-ledger/account-allocation-source/133"
}, - {
- "key": "245",
- "id": "245",
- "href": "/objects/general-ledger/account-allocation-source/245"
}, - {
- "key": "280",
- "id": "280",
- "href": "/objects/general-ledger/account-allocation-source/280"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}