Statistical journals hold all non-monetary journal entries, which do not have a debit or credit as a transaction. Instead, statistical journal entries simply increase or decrease a value.
Returns a collection with a key, ID, and link for each journal. This operation is mostly for use in testing; use the query service to find journals that meet certain criteria and to specify the properties that you want in the response.
OK
Bad Request
{- "ia::result": [
- {
- "key": "36",
- "id": "SMAXIMUM",
- "href": "/objects/general-ledger/statistical-journal/36"
}, - {
- "key": "34",
- "id": "TSSJ",
- "href": "/objects/general-ledger/statistical-journal/34"
}, - {
- "key": "35",
- "id": "SINAJ",
- "href": "/objects/general-ledger/statistical-journal/35"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new statistical journal
Statistical journal to create
id required | string An abbreviation (symbol) for this journal, for example, APJ. In most places in Sage Intacct the symbol appears along with the Example: "TSSJ" |
name required | string The full name or title of the journal, as it should appear in reports. Example: "Timesheet Statistical Journal" |
disallowDirectPosting | boolean Default: false Set to Example: false |
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Bad Request
{- "id": "TSSJ",
- "name": "Timesheet Statistical Journal",
- "status": "active",
- "disallowDirectPosting": false
}
{- "ia::result": {
- "key": "88",
- "id": "TSSJ",
- "href": "/objects/general-ledger/statistical-journal/88"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified statistical journal.
key required | string System-assigned key for a statistical journal. Example: 88 |
OK
Bad Request
{- "ia::result": {
- "id": "TSSJ",
- "name": "Timesheet Statistical Journal",
- "status": "active",
- "disallowDirectPosting": false,
- "bookId": "Accrual",
- "bookType": "accrual",
- "audit": {
- "createdDateTime": "2024-06-27T17:16:13Z",
- "modifiedDateTime": "2024-06-27T17:16:13Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "key": "36",
- "href": "/objects/general-ledger/statistical-journal/36"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing statistical journal by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for a statistical journal. Example: 88 |
name | string The full name or title of the journal, as it should appear in reports. Example: "Timesheet Statistical Journal" |
disallowDirectPosting | boolean Default: false Set to Example: false |
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "name": "Timesheet Statistical Journal",
- "status": "active"
}
{- "ia::result": {
- "key": "88",
- "id": "TSSJ",
- "href": "/objects/general-ledger/statistical-journal/88"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a statistical journal. You can only delete a journal if there are no transactions in it.
key required | string System-assigned key for a statistical journal. Example: 88 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}