Ledger Balances

🚧

Beta testing phase

If you are interested in early access to this feature please contact [email protected]!

Balances are returned within the balances object, where each key represents a specific balance type. See the sample Balance Object JSON below for reference.

Types of Balances

Balance TypeKeyDescription
Pendingpending_balanceTotal of all entries, including both pending and posted amounts.
Postedposted_balanceTotal of all posted entry amounts only.
Availableavailable_balanceSum of posted inbound entries and pending outbound entries. The direction is based on the account’s normal_balance.

Sample Balance Object

{
    "balances": {
        "pending_balance": {
            "credits": 434751752772,
            "debits": 431936883967,
            "amount": 2814868805,
            "currency": "PHP",
            "currency_exponent": 2
        },
        "posted_balance": {
            "credits": 434708814958,
            "debits": 431936883967,
            "amount": 2771930991,
            "currency": "PHP",
            "currency_exponent": 2
        },
        "available_balance": {
            "credits": 434708814958,
            "debits": 431936883967,
            "amount": 2771930991,
            "currency": "PHP",
            "currency_exponent": 2
        }
    }
}