POST
/
v0
/
journal-entries

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

modified-by
string | null

An optional identifier for audit logging.

Query Parameters

expand
enum<string>[] | null

Comma-separated list of expandable paths.

Available options:
line_entries,
line_entries.transaction,
line_entries.ledger

Body

application/json
datetime
string
required

The datetime the Journal Entry was created in UTC time.

description
string
required

An arbitrary string on the object, useful for displaying to the user.

line_entries
object[]
required

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.

Response

201 - application/json
id
string
required

The unique ID of the object.

description
string
required

An arbitrary string on the object, useful for displaying to the user.

datetime
string
required

The datetime the Journal Entry was created in UTC time.

files
object[] | null

A list of files attached to the Journal Entry. Only available to Instances using Platform GL as their accounting package.

line_entry_ids
string[] | 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.

linked_entity
object | null

The entity that is linked with this journal entry. Journal entries with linked entities may not be modified or deleted directly.

line_entries
object[] | null

List of Line Entries. platformGL instances only. Included in expanded responses.