Ledgers
Retrieve a Ledger's balanced status
Retrieves the Ledger’s current balanced status and the most recent datetime it was balanced.
GET
/
v0
/
ledgers
/
{ledger_id}
/
last-balanced
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Headers
teal-instance-id
string
requiredThe Teal instance ID
Path Parameters
ledger_id
string
requiredThe ledger ID
Response
200 - application/json
balance_check_result
enum<string>
requiredWhether the ledger's line entries are balanced. A ledger is considered balanced if it has been balanced within the past week.
Available options:
balanced
, previously_balanced
, unbalanced
last_balanced_at
string | null
The datetime in UTC that the ledger was last balanced.