Get a ledger entry

Retrieve a ledger entry by its ID.

Required permissions: ledger:read.

Authentication

AuthorizationBearer

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

Path parameters

ledger_entry_idstringRequired
The ID of the ledger entry.

Headers

X-Penny-As-Businessstring or nullOptional

Act on behalf of another business that has granted you access. Requires the business:act_as permission.

Response

The ledger entry.
ledger_entry_idstring
Unique identifier for this ledger entry.
directionenum
Direction of the ledger entry. A debit represents value deducted from the account, while a credit represents value added to the account.
Allowed values:
currencyenum
ISO 4217 currency code for the monetary values represented by this ledger entry.
Allowed values:
available_balance_changestringformat: "^-?\d+(\.\d+)?$"
Amount applied to the account's available balance by this ledger entry. The available balance represents funds currently available for use.
total_balance_changestringformat: "^-?\d+(\.\d+)?$"
Amount applied to the account's total balance by this ledger entry. The total balance includes all funds recorded against the account, including amounts that may not yet be available for use.
applied_timedatetime
Date and time at which the ledger entry was applied to the account's balances, represented as an ISO 8601 timestamp.
business_idstring
Unique identifier of the business associated with this ledger entry.
business_entity_idstring
Unique identifier of the business entity associated with this ledger entry.
program_idstring
Unique identifier of the program under which this ledger entry was recorded.
typeenum
Type of financial activity that resulted in this ledger entry.
Allowed values:
channelenum
Channel through which the financial activity associated with this ledger entry was processed.
Allowed values:
sourceobject
References to the originating transaction and transaction event associated with this ledger entry.
account_idstring or nullOptional
Unique identifier of the account affected by this ledger entry.
control_account_idstring or nullOptional
Unique identifier of the associated Control account, when applicable. This field is omitted when the ledger entry is not associated with a Control account.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error