PUT
/
v0
/
line-entries
/
{line_entry_id}

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.

Path Parameters

line_entry_id
string
required

The line entry ID

Query Parameters

expand
enum<string>[] | null

Comma-separated list of Line Entry expand paths.

Available options:
transaction,
ledger,
journal_entry

Body

application/json
description
string | null

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

ledger_id
string | null

The ID of the Line Entry's Ledger. Can be null in some cases for Instances using QuickBooks as their accounting package.

tag_ids
string[] | null

A list of IDs of the Tag objects associated with the Line Entry.

Response

201 - application/json
amount
number
required

The value of the line entry in decimal dollar cents.

debit_credit
enum<string>
required

Indicates if the amount is a credit or debit.

Available options:
debit,
credit
ledger_id
string
required

The ID of the Line Entry's Ledger. Can be null in some cases for Instances using QuickBooks as their accounting package.

id
string | null
required

The unique ID of the object. Can be null in some cases for Instances using QuickBooks as their accounting package.

datetime
string
required

The datetime the Line Entry was created in UTC time.

editable
boolean
required

Indicates if the Line Entry can be manually added or removed from a Ledger, as dictated by the editable property on the Ledger.

journal_entry_id
string | null
required

The ID of the associated Journal Entry. Can be null in some cases for Instances using QuickBooks as their accounting package.

journal_entry_description
string
required

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

ledger_name
string
required

The name of the Line Entry's Ledger.

description
string | null

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

related_line_entry_id
string | null

If the Line Entry is identified as a transfer between accounts, the ID of the Line Entry in the opposing Ledger.

Related guide: Auto-categorization

transaction_id
string | null

The ID of the associated Transaction, if one exists.

journal_entry
object | null

Expandable. The associated Journal Entry object.

ledger
object | null

Expandable. The associated Ledger object.

tags
object[] | null

A list of all the Tags associated with the Line Entry, if any.

transaction
object | null

Expandable. The associated Transaction object, if one exists.