POST
/
v0
/
payable-lines

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.

Body

application/json
ledger_id
string
required
description
string
required
amount
required

The amount of the payable line.

ap_ledger_id
string
required
payable_id
string
required
tag_ids
string[] | null

The tag ids of the tags associated with this payable line.

Response

201 - application/json
id
string
required
ledger_id
string
required
description
string
required
amount
number
required

The amount of the payable line.

tags
object[] | null

The tag ids of the tags associated with this payable line.