Account allocation reverse creates offset entries to undo previous dynamic account allocation calculations.
Returns a collection with a key, ID, and link for each account allocation reversal.
OK
Bad Request
{- "ia::result": [
- {
- "key": "16",
- "id": "16",
- "href": "/objects/general-ledger/account-allocation-reverse/16"
}, - {
- "key": "20",
- "id": "20",
- "href": "/objects/general-ledger/account-allocation-reverse/20"
}, - {
- "key": "21",
- "id": "21",
- "href": "/objects/general-ledger/account-allocation-reverse/21"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified account allocation reversal.
key required | string System-assigned key for the account allocation reversal. Example: 178 |
OK
Bad Request
{- "ia::result": {
- "id": "21",
- "key": "21",
- "glAccountAllocation": {
- "id": "29",
- "key": "29",
- "href": "/objects/general-ledger/account-allocation/29"
}, - "glAccount": {
- "id": null,
- "key": null,
- "name": null
}, - "useSourceAccount": true,
- "audit": {
- "createdDateTime": "2024-06-25T12:16:48Z",
- "modifiedDateTime": "2024-06-25T12:58:13Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "dimensions": {
- "location": {
- "key": "72",
- "id": "AZ",
- "name": "Arizona",
- "href": "/objects/company-config/location/72"
}, - "department": {
- "key": "6",
- "id": "6",
- "name": "Marketing",
- "href": "/objects/company-config/department/6"
}, - "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-reverse/21"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing account allocation reversal by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the account allocation reversal. Example: 178 |
useSourceAccount | boolean Default: false Specify if the original source account is included in the reversal. Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object General ledger account associated with the reversal. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Dimension overrides for the account allocation reversal. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
{- "glAccount": {
- "id": "1000"
}, - "useSourceAccount": false
}
{- "ia::result": {
- "key": "21",
- "id": "21",
- "href": "/objects/general-ledger/account-allocation-reverse/21"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}