POST
/
v1
/
businesses
/
{businessId}
/
ledger
/
journal-entries

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Path Parameters

businessId
string
required

The UUID of the business to create the journal entry for

Body

application/json
entry_at
string
required

The date and time when the entry should be recorded effective in the ledger, in ISO 8601 format.

created_by
string
required

Identifier of the user or system that created the manual entry.

memo
string
required

Description or memo of the manual entry.

line_items
object[]
required
external_id
string

Unique ID of the ledger entry in your system. Idempotency key.

customer_id
string

Layer customer ID to associate with the ledger entry. Customer IDs can be specified on the entry or on individual line items, but not both.

customer_external_id
string

External ID of the Layer customer to associate with the ledger entry. Can be specified in place of the Layer customer ID. Customer IDs can be specified on the entry or on individual line items, but not both.

tags
object[]

Response

200 - application/json
id
string

Universally unique identifier of the manual ledger entry

created_by
string

Name of the user who created the manual ledger entry

memo
string

Memo or description for the manual ledger entry

entry_id
string

ID of the associated ledger entry

customer
object