Customer Balance

In Sage 300 the Customer has three balances:

But via API Sage 300 returns only the Outstanding A/R Balance.
How to receive A/R Pending Balance and Total Outstanding Balance via API?