Statistical journal entry lines represent transactions. They can be posted right away, submitted for approval if Approvals are enabled, or saved as a draft.
You create and update journal entry lines by creating or updating the journal-entry objects that contain those lines.
Returns up to 100 statistical journal entry lines from the collection with a key, ID, and link for each entry. This operation is mostly for use in testing; use the query service to find journal entry lines that meet certain criteria and to specify the properties that are returned.
Subscription | General Ledger |
---|---|
User type | Business user, Employee, Payment Approver |
Permissions | List, View Statistical Journal Entries |
OK
Bad Request
{- "ia::result": [
- {
- "key": "129",
- "id": "129",
- "href": "/objects/general-ledger/statistical-journal-entry-line/129"
}, - {
- "key": "127",
- "id": "127",
- "href": "/objects/general-ledger/statistical-journal-entry-line/127"
}, - {
- "key": "128",
- "id": "128",
- "href": "/objects/general-ledger/statistical-journal-entry-line/128"
}, - {
- "key": "130",
- "id": "130",
- "href": "/objects/general-ledger/statistical-journal-entry-line/130"
}, - {
- "key": "131",
- "id": "131",
- "href": "/objects/general-ledger/statistical-journal-entry-line/131"
}
], - "ia::meta": {
- "totalCount": 5,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified statistical journal entry line.
Subscription | General Ledger |
---|---|
User type | Business user, Employee, Payment Approver |
Permissions | List, View Statistical Journal Entries |
key required | string System-assigned key for the statistical journal entry line. Example: 2647 |
OK
Bad Request
{- "ia::result": {
- "id": "127",
- "key": "127",
- "statisticalJournalEntry": {
- "id": "66",
- "key": "66",
- "href": "/objects/general-ledger/statistical-journal-entry/66"
}, - "lineNumber": 1,
- "txnType": "increase",
- "entryDate": "2024-03-05",
- "amount": "235.15",
- "statisticalAccount": {
- "key": "1",
- "id": "9001",
- "name": "Root - Billable Utilized Statistical Account",
- "href": "/objects/general-ledger/statistical-account/1"
}, - "dimensions": {
- "department": {
- "key": null,
- "id": null,
- "name": null
}, - "location": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/location/1"
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "customer": {
- "key": null,
- "id": null,
- "name": null
}, - "vendor": {
- "key": null,
- "id": null,
- "name": null
}, - "employee": {
- "key": null,
- "id": null,
- "name": null
}, - "item": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}
}, - "documentId": null,
- "description": null,
- "numberOfUnits": null,
- "reconciliationGroup": {
- "cleared": "false",
- "clearingDate": null,
- "reconciliationDate": null
}, - "accountingPeriod": null,
- "allocation": {
- "id": null,
- "key": null
}, - "audit": {
- "createdDateTime": "2024-04-24T13:40:31Z",
- "modifiedDateTime": "2024-04-24T13:40:31Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "state": "posted",
- "href": "/objects/general-ledger/statistical-journal-entry-line/127"
}, - "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/statistical-journal-entry-line" | ||||||||
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 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 response. Example: 100 |
OK
Bad Request
{- "object": "accounts-payable/vendor",
- "fields": [
- "id",
- "name",
- "status",
- "href"
], - "filters": [
- {
- "$eq": {
- "status": "active"
}
}, - {
- "$eq": {
- "billingType": "openItem"
}
}
], - "filterExpression": "1 and 2",
- "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "id": "Vend-00002",
- "name": "Test vendor",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/85"
}, - {
- "id": "VEND-00010",
- "name": "Design Works",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/111"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}