Hello @y-watanabe Thank you for contacting us!
The call by Billing Account Balances - Get By Billing Account - REST API (Azure Consumption) | Microsoft Learn gives current month data only.
To get data for other billing periods, please use this API Balances - Get For Billing Period By Billing Account - REST API (Azure Consumption) | Microsoft Learn
Also, try using the Cost Details API: https://learn.microsoft.com/en-us/rest/api/cost-management/generate-cost-details-report see if that yields results.
Hope this helps!
----------------------------------------------------------------------------------------------------------------------
If the response helped, do "Accept Answer" and up-vote it