Journal entry line templates store predefined information to quickly populate the lines of a journal entry generated from a journal entry template. Create and maintain journal entry line templates from the owning journal entry template object.
Returns a collection with a key, ID, and link for each journal entry line template. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/cash-management/journal-entry-line-template/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/cash-management/journal-entry-line-template/2"
}, - {
- "key": "7",
- "id": "7",
- "href": "/objects/cash-management/journal-entry-line-template/7"
}
], - "ia::meta": {
- "totalCount": 6,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified journal entry line template.
key required | string System-assigned key for the journal entry line template. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "key": "8",
- "id": "8",
- "journalEntryTemplate": {
- "id": "6",
- "key": "6",
- "href": "/objects/cash-management/journal-entry-template/6"
}, - "dimensions": {
- "location": {
- "key": "3",
- "id": "3",
- "name": "United Kingdom",
- "href": "/objects/company-config/location/3"
}, - "department": {
- "key": "9",
- "id": "OPS",
- "name": "Operations",
- "href": "/objects/company-config/department/9"
}, - "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
}, - "contract": {
- "key": null,
- "id": null,
- "name": null
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}
}, - "glAccount": {
- "key": "11",
- "id": "1002",
- "name": "HSBC - GBP",
- "href": "/objects/general-ledger/account/11"
}, - "documentId": "156",
- "txnType": "debit",
- "memo": "Purchases for UK Office Supplies",
- "allocation": {
- "key": "2",
- "id": "ALLOC_JE_OFFICE_SUPPLIES"
}, - "numberOfUnits": null,
- "exchangeRate": {
- "date": null,
- "typeId": null,
- "rate": null
}, - "isBillable": false,
- "href": "/objects/cash-management/journal-entry-line-template/8"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}