Skip to main content
POST
The journal uses the currency of its legal entity. Entendre checks the amounts, line balance, accounting period, posting eligibility and general-ledger sync state.

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Headers

Idempotency-Key
string
required

Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.

Required string length: 1 - 255

Body

application/json

Send exactly one of transaction_type or classification (its older name).

transaction_id
string
required

The transaction to record. Entendre uses its fiat value, direction, source type and asset type to build the journal lines.

transaction_type
enum<string>
required

Economic transaction type (for example WITHDRAWAL). This is not the accounting classification; ledger_account_id selects that treatment.

Available options:
DEPOSIT,
WITHDRAWAL,
SWAP,
NON_TAXABLE_CONVERSION,
BRIDGE,
INTERCOMPANY TRANSFER,
INTERNAL TRANSFER,
FEE,
MINTING,
STAKING_REWARD,
VALIDATOR_REWARD,
INVOICE,
BILL,
CLAIM REWARD,
BORROW,
REPAYMENT,
RESERVES CHANGE,
REALIZED_PNL,
INCOME,
EXPENSE,
REFUND,
CHARGEBACK,
NFT,
SPAM,
UNKNOWN
ledger_account_id
string
required

Postable ledger account for the entry. Entendre selects the offsetting account.

classification
enum<string>
deprecated

Older name for transaction_type. Send only one type field.

Available options:
DEPOSIT,
WITHDRAWAL,
SWAP,
NON_TAXABLE_CONVERSION,
BRIDGE,
INTERCOMPANY TRANSFER,
INTERNAL TRANSFER,
FEE,
MINTING,
STAKING_REWARD,
VALIDATOR_REWARD,
INVOICE,
BILL,
CLAIM REWARD,
BORROW,
REPAYMENT,
RESERVES CHANGE,
REALIZED_PNL,
INCOME,
EXPENSE,
REFUND,
CHARGEBACK,
NFT,
SPAM,
UNKNOWN
accounting_date
string<date-time>

ISO-8601 date override. Defaults to transaction date.

memo
string

Memo.

tag_ids
string[]

Tag IDs for reporting segmentation.

auto_post
boolean

Set to true to post the journal in the same request. Defaults to false, which saves a draft.

payment_account_id
string

Offsetting ledger account (lac_…). Defaults to the ledger account of the transaction source.

vendor_name
string

Vendor name. Entendre finds or creates a Supplier tag for it and attaches the tag to the entry.

Response

Created.

data
object
required
read_back_failed
boolean

Present and true only when the entry was saved but could not be read back. data then contains only id; use List journals to read the entry.

warning
string

Present only when read_back_failed is true.