Sets the opening balance for a Ledger on the entries start date for the Instance, or updates opening balance if the Ledger already has one. Returns a journal entry.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Teal instance ID
An optional identifier for audit logging.
The ledger ID
Comma-separated list of Journal Entry expand paths.
line_entries, line_entries.transaction, line_entries.ledger, line_entries.opposing_ledger_ids The opening balance of the ledger on the entries_start date of the Instance.
Successful Response
The unique ID of the object.
"C4ocnUQze8kDwQ3EczkZXn"
An arbitrary string on the object, useful for displaying to the user.
"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 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": []
}
]