Journal entries record accounting entries in the general ledger by specifying affected accounts, amounts and descriptions. Use them to create, update, or reverse entries while ensuring the general ledger remains balanced with offsetting debits and credits.
If GL Outlier Detection is enabled, Sage Intacct identifies journal entries and allocation splits that deviate from expected patterns. Outlier details are included when retrieving a journal entry object.
Returns a collection of journal entries with a key, ID, and link for each entry. This operation is mostly for use in testing; use the query service to find journal entries that meet certain criteria and to specify the properties that you want in the response.
OK
Bad Request
{- "ia::result": [
- {
- "key": "56",
- "id": "56",
- "href": "/objects/general-ledger/journal-entry/56"
}, - {
- "key": "132",
- "id": "132",
- "href": "/objects/general-ledger/journal-entry/132"
}, - {
- "key": "256",
- "id": "256",
- "href": "/objects/general-ledger/journal-entry/256"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new journal entry. When creating a journal entry, you can either post it immediately or save it as a draft for review. Draft entries can be updated before posting, but all required information must be provided. To post a journal entry, debits and credits must balance, and all required details must be entered.
Note: The only valid values when creating a new entry are posted
(default, system-defined state), and draft
. Only populate the state field when creating a draft
entry.
Create a new journal entry
required | object Specifies the journal associated with this journal entry. | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
postingDate required | string <date> The date when the journal entry is recorded in the journal and posted to the general ledger for tracking and reporting. Example: "2023-04-01" | ||||||||||||||||||||||||||||
description required | string Description of the journal entry. Example: "Revenue entries" | ||||||||||||||||||||||||||||
required | Array of objects >= 2 items A collection of line items within the journal entry. At least two line items are required per journal entry, one debit and one credit. | ||||||||||||||||||||||||||||
Array (>= 2 items)
| |||||||||||||||||||||||||||||
automaticReversalDate | string or null <date> The date a journal entry is automatically reversed in the general ledger. Example: "2023-04-04" | ||||||||||||||||||||||||||||
moduleName | string The Sage Intacct module from which the journal entry originates. Example: "2.GL" | ||||||||||||||||||||||||||||
referenceNumber | string Unique identifier assigned to the journal entry by the user for tracking and reconciliation. Example: "Recurr_GL_101" | ||||||||||||||||||||||||||||
object Supporting documents or files linked to the journal entry. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Specifies the base location for a multi-entity company. Required if multi-entity is enabled and entries do not balance by entity. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
state | string Default: "posted" Shows the current state of the journal entry. Note: The only valid values when creating a new entry are Example: "draft" | ||||||||||||||||||||||||||||
object Tax-related details applied to the journal entry, such as tax codes, rates and exemptions. This field applies only to companies using the Taxes application to track VAT or GST. | |||||||||||||||||||||||||||||
|
Created
Bad Request
{- "glJournal": {
- "id": "GJ"
}, - "postingDate": "2024-11-01",
- "description": "October revenue posting",
- "lines": [
- {
- "txnType": "credit",
- "txnAmount": "200",
- "glAccount": {
- "id": "1000"
}, - "dimensions": {
- "department": {
- "key": "11"
}, - "location": {
- "key": "1"
}
}, - "documentId": "October_revenue_credit_transactions"
}, - {
- "txnType": "debit",
- "txnAmount": "200",
- "glAccount": {
- "id": "1000"
}, - "dimensions": {
- "department": {
- "key": "11"
}, - "location": {
- "key": "1"
}
}, - "documentId": "October_revenue_debit_transactions"
}
]
}
{- "ia::result": {
- "key": "30565",
- "id": "30565",
- "href": "/objects/general-ledger/journal-entry/30565"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified journal entry.
key required | string System-assigned unique key for the journal entry. Example: 132 |
OK
Bad Request
{- "ia::result": {
- "id": "30565",
- "key": "30565",
- "txnNumber": 493,
- "description": "October revenue posting",
- "glJournal": {
- "id": "GJ",
- "key": "4",
- "isAdjustment": false,
- "href": "/objects/general-ledger/journal/4"
}, - "postingDate": "2024-11-01",
- "moduleName": "2.GL",
- "referenceNumber": "Rev_Oct",
- "reversedBy": {
- "id": "663",
- "key": "663",
- "href": "/objects/general-ledger/journal-entry/663"
}, - "reversedFromDate": null,
- "accountAllocationRun": {
- "id": "87",
- "key": "87",
- "href": "/objects/general-ledger/account-allocation-run/87"
}, - "baseLocation": {
- "key": "32",
- "id": "BC",
- "href": "/objects/company-config/location/32"
}, - "audit": {
- "createdDateTime": "2022-06-28T23:41:44Z",
- "modifiedDateTime": "2022-06-29T15:52:18Z",
- "createdByUser": {
- "key": "68",
- "id": "Admin",
- "href": "/objects/company-config/user/68"
}, - "modifiedByUser": {
- "key": "68",
- "id": "Admin",
- "href": "/objects/company-config/user/68"
}
}, - "state": "posted",
- "sequenceNumber": "1",
- "tax": {
- "taxImplication": "none",
- "taxSolution": {
- "key": "5",
- "id": "GST",
- "href": "/objects/company-config/attachment/5"
}
}, - "attachment": {
- "key": "6",
- "id": "Doc-6331",
- "href": "/objects/company-config/attachment/6"
}, - "entity": {
- "key": null,
- "id": null,
- "name": null
}, - "lines": [
- {
- "key": "465744",
- "id": "465744",
- "journalEntry": {
- "key": "30565",
- "id": "30565",
- "href": "/objects/general-ledger/journal-entry/30565"
}, - "lineNumber": 1,
- "txnType": "credit",
- "entryDate": "2024-11-01",
- "baseAmount": "200.00",
- "txnAmount": "200.00",
- "glAccount": {
- "key": "9",
- "id": "35024571",
- "name": "Bank of America A/c.",
- "href": "/objects/general-ledger/account/9"
}, - "dimensions": {
- "department": {
- "key": "11",
- "id": "FIN-AP",
- "name": "Finance - Accounts Payable",
- "href": "/objects/company-config/department/11"
}, - "location": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}, - "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
}
}, - "documentId": "October_revenue_credit_transactions",
- "description": "October revenue credit transactions",
- "numberOfUnits": 2,
- "currency": {
- "baseCurrency": "USD",
- "txnCurrency": "USD",
- "exchangeRateDate": "2024-11-01",
- "exchangeRateTypeId": "Company Daily Rate",
- "exchangeRate": 0.78
}, - "reconciliationGroup": {
- "cleared": "matched",
- "clearingDate": "2024-11-01",
- "reconciliationDate": "2024-11-01"
}, - "accountingPeriod": 10,
- "allocation": {
- "id": "FA_ALLOC",
- "key": "21",
- "href": "/objects/general-ledger/txn-allocation-template/21"
}, - "interEntityTxnType": "p",
- "parent": {
- "id": "40",
- "key": "40",
- "href": "/objects/general-ledger/journal-entry-line/40"
}, - "audit": {
- "createdDateTime": "2022-06-28T23:41:44Z",
- "modifiedDateTime": "2022-06-29T15:52:18Z",
- "createdByUser": {
- "key": "68",
- "id": "Admin",
- "href": "/objects/company-config/user/68"
}, - "modifiedByUser": {
- "key": "68",
- "id": "Admin",
- "href": "/objects/company-config/user/68"
}
}, - "state": "posted",
- "isBillable": false,
- "isBilled": false,
- "taxEntries": [ ],
- "href": "/objects/general-ledger/journal-entry-line/465744"
}, - {
- "key": "465745",
- "id": "465745",
- "journalEntry": {
- "key": "30565",
- "id": "30565",
- "href": "/objects/general-ledger/journal-entry/30565"
}, - "lineNumber": 2,
- "txnType": "debit",
- "entryDate": "2024-11-01",
- "baseAmount": "200.00",
- "txnAmount": "200.00",
- "glAccount": {
- "key": "9",
- "id": "35024571",
- "name": "Bank of America A/c.",
- "href": "/objects/general-ledger/account/9"
}, - "dimensions": {
- "department": {
- "key": "11",
- "id": "EXPP",
- "name": "Expense Payable -----> Inactive",
- "href": "/objects/company-config/department/11"
}, - "location": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}, - "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
}
}, - "documentId": "October_revenue_debit_transactions",
- "description": "October revenue debit transactions",
- "numberOfUnits": 2,
- "currency": {
- "baseCurrency": "USD",
- "txnCurrency": "USD",
- "exchangeRateDate": "2024-11-01",
- "exchangeRateTypeId": "Company Daily Rate",
- "exchangeRate": 0.78
}, - "reconciliationGroup": {
- "cleared": "matched",
- "clearingDate": "2024-11-01",
- "reconciliationDate": "2024-11-01"
}, - "accountingPeriod": 10,
- "allocation": {
- "id": "FA_ALLOC",
- "key": "21",
- "href": "/objects/general-ledger/txn-allocation-template/21"
}, - "interEntityTxnType": "p",
- "parent": {
- "id": "40",
- "key": "40",
- "href": "/objects/general-ledger/journal-entry-line/40"
}, - "audit": {
- "createdDateTime": "2022-06-28T23:41:44Z",
- "modifiedDateTime": "2022-06-29T15:52:18Z",
- "createdByUser": {
- "key": "68",
- "id": "Admin",
- "href": "/objects/company-config/user/68"
}, - "modifiedByUser": {
- "key": "68",
- "id": "Admin",
- "href": "/objects/company-config/user/68"
}
}, - "state": "posted",
- "isBillable": false,
- "isBilled": false,
- "taxEntries": [ ],
- "href": "/objects/general-ledger/journal-entry-line/465745"
}
], - "href": "/objects/general-ledger/journal-entry/30565"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing journal entry by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the journal entry. Example: 132 |
object Specifies the journal associated with this journal entry. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
description | string Description of the journal entry. Example: "Revenue entries" | ||||||||||||||||||||||||||||
postingDate | string <date> The date when the journal entry is recorded in the journal and posted to the general ledger for tracking and reporting. Example: "2023-04-01" | ||||||||||||||||||||||||||||
automaticReversalDate | string or null <date> The date a journal entry is automatically reversed in the general ledger. Example: "2023-04-04" | ||||||||||||||||||||||||||||
moduleName | string The Sage Intacct module from which the journal entry originates. Example: "2.GL" | ||||||||||||||||||||||||||||
referenceNumber | string Unique identifier assigned to the journal entry by the user for tracking and reconciliation. Example: "Recurr_GL_101" | ||||||||||||||||||||||||||||
object Supporting documents or files linked to the journal entry. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Specifies the base location for a multi-entity company. Required if multi-entity is enabled and entries do not balance by entity. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
object Tax-related details applied to the journal entry, such as tax codes, rates and exemptions. This field applies only to companies using the Taxes application to track VAT or GST. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Array of objects >= 2 items A collection of line items within the journal entry. At least two line items are required per journal entry, one debit and one credit. | |||||||||||||||||||||||||||||
Array (>= 2 items)
|
OK
Bad Request
{- "key": "30565",
- "postingDate": "2024-12-11",
- "lines": [
- {
- "key": "465744",
- "txnType": "debit",
- "txnAmount": "100",
- "glAccount": {
- "id": "35024571"
}, - "dimensions": {
- "department": {
- "id": "11"
}, - "location": {
- "id": "1"
}
}, - "documentId": "Debit-USD-195",
- "currency": {
- "txnCurrency": "USD"
}
}, - {
- "key": "465745",
- "txnType": "credit",
- "txnAmount": "100",
- "glAccount": {
- "id": "35024571"
}, - "dimensions": {
- "department": {
- "id": "11"
}, - "location": {
- "id": "1"
}
}, - "documentId": "Credit-USD-196",
- "currency": {
- "txnCurrency": "USD"
}
}
]
}
{- "ia::result": {
- "key": "30565",
- "id": "30565",
- "href": "/objects/general-ledger/journal-entry/30565"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a journal entry.
key required | string System-assigned unique key for the journal entry. Example: 132 |
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
}
}