Create Ledger Transaction

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

To post a ledger transaction at creation, use posted

string

An optional free-form description for internal use. Maximum of 1000 characters allowed.

ledger_entries
array of objects
required

Array of ledger entries. The API supports a maximum of 1000 ledger entries per transaction.

ledger_entries*
date

Format: ISO8601 to 6 decimal places. Defaults to time of insertion in the DB if not provided

string

An optional user-defined unique identifier. Only one pending or posted ledger transaction may have this ID in the ledger.

ledger_account_category_balance_locks
array of objects

An array of one or more ledger account category balance locks. Use this to lock on a ledger account category's balance.

ledger_account_category_balance_locks
string

If the ledger transaction can be reconciled to another object in Modern Treasury, add the ledgerable type here, otherwise null. See possible types at Ledger Transactions

string

If the ledger transaction can be reconciled to another object in Modern Treasury, add the id of that object here, otherwise null.

boolean

When true, creates an archived ledger transaction with archived_reason 'balance_lock_failure' instead of returning a 422 error if balance lock constraints are violated.

json

Metadata to be added to the ledger transaction. Must be a JSON object.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json