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

Authorizations

Authorization
string
header
required

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
created_by
string
required

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

entry_at
string
required

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

line_items
object[]
required
memo
string
required

Description or memo of the manual entry.

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.

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.

external_id
string

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

tags
object[]

Response

200 - application/json
created_by
string

Name of the user who created the manual ledger entry

customer
object
entry_id
string

ID of the associated ledger entry

id
string

Universally unique identifier of the manual ledger entry

memo
string

Memo or description for the manual ledger entry