Journal entry templates store predefined information used to populate journal entries generated from them. They include journal entry line templates, which define the individual lines of a journal entry created from the template, specifying information such as account details and amounts.
If using a creation rule for reconciliation, the rule must reference a journal entry template.
Returns a collection of journal entry templates with a key, ID, and link for each 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": "JET_BANK_IMPORT_001",
- "href": "/objects/cash-management/journal-entry-template/1"
}, - {
- "key": "3",
- "id": "JET_MONTHLY_ACCRUAL_003",
- "href": "/objects/cash-management/journal-entry-template/3"
}, - {
- "key": "4",
- "id": "JET_YE_ADJ_2025",
- "href": "/objects/cash-management/journal-entry-template/4"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new journal entry template.
id required | string Unique identifier for the journal entry template. Example: "MONTHLY_ACCRUALS_TMPL_001" | ||||||||||||||||||||
name required | string Name for the journal entry template. Example: "Monthly Accruals Template" | ||||||||||||||||||||
required | object General ledger journal where entries based on this template will be posted. | ||||||||||||||||||||
| |||||||||||||||||||||
required | Array of objects Line items included in this journal entry template. | ||||||||||||||||||||
Array
| |||||||||||||||||||||
description | string Description for the template. Example: "Template for recording standard monthly accruals." | ||||||||||||||||||||
postingState | string Specify the state in which to create journal entries based on this template:
Example: "draft" | ||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||
taxImplication | string or null Default: null Tax implications for journal entries based on this template. Only applies to companies subscribed to the Taxes application.
Example: "none" | ||||||||||||||||||||
object Tax solution to use for journal entries based on this template. Different tax solutions are available for different countries, for example, Australia GST, South Africa VAT, UK VAT. Only applies to companies subscribed to the Taxes application. | |||||||||||||||||||||
| |||||||||||||||||||||
object Specify the Purchasing tax schedule when the | |||||||||||||||||||||
| |||||||||||||||||||||
object Specify the Sales tax schedule when the | |||||||||||||||||||||
| |||||||||||||||||||||
object Specify the customer when the | |||||||||||||||||||||
| |||||||||||||||||||||
object Specify the vendor when the | |||||||||||||||||||||
|
Created
Bad Request
{- "id": "JET_PAYROLL",
- "name": "Payroll Accrual Entry",
- "description": "Template to record monthly payroll accruals for salaries and wages.",
- "postingState": "draft",
- "status": "active",
- "glJournal": {
- "id": "APJ"
}, - "lines": [
- {
- "dimensions": {
- "location": {
- "id": "1"
}
}, - "glAccount": {
- "key": "316"
}, - "documentId": null,
- "memo": "Accrual of payroll expenses for month-end closing"
}
]
}
{- "ia::result": {
- "key": "5",
- "id": "JET_PAYROLL",
- "href": "/objects/cash-management/journal-entry-template/5"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified journal entry template.
key required | string System-assigned key for the journal entry template. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "key": "6",
- "name": "UK Office Purchases Journal Entry",
- "description": "Purchases for UK Office Supplies inclusive of UK VAT",
- "glJournal": {
- "id": "POJ",
- "key": "1",
- "href": "/objects/general-ledger/journal/1"
}, - "postingState": "draft",
- "status": "active",
- "numberOfRulesUsingTemplate": 0,
- "id": "JET_UK_OFFICE_PURCHASES",
- "audit": {
- "createdDateTime": "2025-04-29T15:26:00Z",
- "modifiedDateTime": "2025-04-29T15:26:00Z",
- "createdByUser": {
- "key": "159",
- "href": "/objects/company-config/user/159"
}, - "createdBy": "159",
- "modifiedByUser": {
- "key": "159",
- "href": "/objects/company-config/user/159"
}, - "modifiedBy": "159"
}, - "taxImplication": "inbound",
- "taxSolution": {
- "key": "4",
- "id": "United Kingdom - VAT",
- "href": "/objects/tax/tax-solution/4"
}, - "salesTaxSchedule": {
- "name": null,
- "key": null,
- "id": null
}, - "purchasingTaxSchedule": {
- "name": "UK Purchase Goods Standard Rate",
- "id": "41",
- "key": "41",
- "href": "/objects/tax/purchasing-tax-schedule/41"
}, - "vendor": {
- "key": "56",
- "id": "210",
- "name": "Office Supply and Copier Co.",
- "href": "/objects/accounts-payable/vendor/56"
}, - "customer": {
- "key": null,
- "id": null,
- "name": null
}, - "entity": {
- "key": null,
- "id": null,
- "name": null
}, - "lines": [
- {
- "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": null,
- "id": null
}, - "numberOfUnits": null,
- "exchangeRate": {
- "date": null,
- "typeId": null,
- "rate": null
}, - "isBillable": false,
- "href": "/objects/cash-management/journal-entry-line-template/8"
}
], - "href": "/objects/cash-management/journal-entry-template/6"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing journal entry template by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the journal entry template. Example: 99 |
name | string Name for the journal entry template. Example: "Monthly Accruals Template" | ||||||||||||||||||||
description | string Description for the template. Example: "Template for recording standard monthly accruals." | ||||||||||||||||||||
postingState | string Specify the state in which to create journal entries based on this template:
Example: "draft" | ||||||||||||||||||||
object General ledger journal where entries based on this template will be posted. | |||||||||||||||||||||
| |||||||||||||||||||||
Array of objects Line items included in this journal entry template. | |||||||||||||||||||||
Array
| |||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||
taxImplication | string or null Default: null Tax implications for journal entries based on this template. Only applies to companies subscribed to the Taxes application.
Example: "none" | ||||||||||||||||||||
object Tax solution to use for journal entries based on this template. Different tax solutions are available for different countries, for example, Australia GST, South Africa VAT, UK VAT. Only applies to companies subscribed to the Taxes application. | |||||||||||||||||||||
| |||||||||||||||||||||
object Specify the Purchasing tax schedule when the | |||||||||||||||||||||
| |||||||||||||||||||||
object Specify the Sales tax schedule when the | |||||||||||||||||||||
| |||||||||||||||||||||
object Specify the customer when the | |||||||||||||||||||||
| |||||||||||||||||||||
object Specify the vendor when the | |||||||||||||||||||||
|
OK
Bad Request
{- "postingState": "posted"
}
{- "ia::result": {
- "key": "6",
- "id": "6",
- "href": "/objects/cash-management/journal-entry-template/6"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a journal entry template.
key required | string System-assigned key for the journal entry template. Example: 99 |
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
}
}