how to get account balance from the beginning of the period of the fiscal year from API

I would like to fetch account balance from get account API for the current fiscal year. It seems that general ledger summaries (generalledger/v1/summary/{fiscal_year_id}) has balance but only for closed fiscal period. I'm wondering if i could use period summary for current fiscal year and previous fiscal year which are not closed (generalledger/v1/periodsummary/summaries). My sandbox environment returns empty set for period summary. Please advice.

Answers

Categories