Skip to main content
POST
Create journal entry

Authorizations

Authorization
string
header
required

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

Body

application/json
ledger_id
string
required

Ledger identifier.

description
string
required

Description recorded on the manual journal entry.

Required string length: 1 - 500
entry_date_at
string<date> | null
required

Timestamp when the journal entry takes effect.

lines
object[]
required

Balanced debit and credit lines.

Minimum array length: 2
recognition_schedule
object | null

Optional recognition schedule for a deferred-revenue credit.

Response

id
string
required

Unique journal-entry identifier.

entry_number
string
required

Human-readable journal-entry number.

posted_at
string<date> | null
required

Timestamp when the entry was posted.

entry_date_at
string<date> | null
required

Accounting timestamp of the entry.

original_currency
string
required

ISO 4217 original currency.

original_currency_exchange_rate
string
required

Exchange rate into ledger currency.

original_currency_exchange_rate_date
string<date> | null
required

Date of the exchange rate.

amount
string
required

Total amount in ledger currency.

amount_in_original_currency
string
required

Total amount in the original currency.

description
string | null
required

Optional journal-entry description.

status
enum<string>
required

Journal-entry status.

Available options:
draft,
posted
origin
enum<string>
required

Automatic or manual entry origin.

Available options:
auto,
manual
invoicing_entity_id
string
required

Owning invoicing entity identifier.

ledger_id
string
required

Owning ledger identifier.

invoice_id
string | null
required

Related invoice identifier.

customer_id
string | null
required

Related customer identifier.

invoice_line_item_id
string | null
required

Related invoice line-item identifier.

subscription_id
string | null
required

Related subscription identifier.

transaction_id
string | null
required

Related payment transaction identifier.

reversal_for_entry_id
string | null
required

Original entry identifier when this is a reversal.

lines
object[]
required

Debit and credit lines in the entry.

created_at
string<date> | null
required

Timestamp when the entry was created.

updated_at
string<date> | null
required

Timestamp when the entry was last updated.

schedule_id
string | null

Revenue-recognition schedule created with a manual entry.