Creates a new Journal Entry object. The debit and credit amounts of the Line Entries must match.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.
An arbitrary string on the object, useful for displaying to the user.
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.
Successful Response
The unique ID of the object.
An arbitrary string on the object, useful for displaying to the user.
The datetime the Journal Entry was created in UTC time.
The timestamp when this journal entry record was created in the database.
Whether the Journal Entry represents an opening balance.
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 A list of files attached to the Journal Entry.
null
The ids of the Line Entries detailing the Journal
Entry's movement of value. Only null if the Instance is using QuickBooks as
their accounting package.
[
"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": []
}
]