Creates multiple new Journal Entries.
The access token received from the authorization server in the OAuth 2.0 flow.
The Teal instance ID
An optional identifier for audit logging.
Comma-separated list of expandable paths.
line_entries, line_entries.transaction, line_entries.ledger, line_entries.opposing_ledger_ids The datetime the Journal Entry was created in UTC time.
"2023-02-15T06:42:18Z"
An arbitrary string on the object, useful for displaying to the user.
512"Payroll#230215"
The Line Entry objects to be associated with the
Journal Entry. Must include at least two Line Entries, one debit and one
credit, and the sum of the amounts of all debit entries must equal the
sum of the amounts of the credit entries.
[
{
"amount": "31282.27999999999883584678173065185546875",
"debit_credit": "credit",
"ledger_id": "7JRNsKwy2Lw66caxVU7WGC"
},
{
"amount": "31282.27999999999883584678173065185546875",
"debit_credit": "debit",
"ledger_id": "HLn8oy2eqMUCwjp1Cwdgco"
}
]Successful Response
The unique ID of the object.
"C4ocnUQze8kDwQ3EczkZXn"
An arbitrary string on the object, useful for displaying to the user.
512"Payroll#230215"
The datetime the Journal Entry was created in UTC time.
"2023-02-15T06:42:18Z"
The timestamp when this journal entry record was created in the database.
"2023-02-15T06:42:18Z"
Whether the Journal Entry represents an opening balance.
false
The source of the journal entry creation: 'manual' if created manually by the user, 'transaction' if auto-generated from transaction categorization (e.g., Plaid sync), or 'legacy' if auto-generated from the old AR/AP system.
manual, transaction, accrual, legacy The ids of the Line Entries detailing the Journal Entry's movement of value.
[
"XMDsKVuW4Wmi3LTW31Qw6E",
"NULcvXTkLczde32qs1rqgB"
]Deprecated - always null
List of Line Entries. platformGL instances only. Included in expanded responses.
[
{
"amount": 31282.28,
"datetime": "2023-02-15T06:42:18Z",
"debit_credit": "debit",
"description": "Payroll#230215",
"editable": false,
"id": "XMDsKVuW4Wmi3LTW31Qw6E",
"journal_entry_description": "Payroll#230215",
"journal_entry_id": "C4ocnUQze8kDwQ3EczkZXn",
"ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
"ledger_name": "Pluto Checking 4242",
"tags": [],
"transaction_id": "txn_UjL3BQnEaJtecuC7CUeDk"
},
{
"amount": 31282.28,
"datetime": "2023-02-15T06:42:18Z",
"debit_credit": "credit",
"description": "Payroll#230215",
"editable": false,
"id": "NULcvXTkLczde32qs1rqgB",
"journal_entry_description": "Payroll#230215",
"journal_entry_id": "C4ocnUQze8kDwQ3EczkZXn",
"ledger_id": "HLn8oy2eqMUCwjp1Cwdgco",
"ledger_name": "Payroll Expense",
"tags": []
}
]