@Gaurav Singh - Welcome to Microsoft Q&A and thanks for reaching out to us.
It looks like you are trying to retrieve the billing details for the entire billing account, including per subscription billing, other purchases, and other Microsoft purchases. To retrieve the billing details for the entire billing account, please take a look at below:
here are the details for the same: https://learn.microsoft.com/en-us/rest/api/billing/invoices/list-by-billing-subscription?view=rest-billing-2020-05-01&tabs=HTTP
Hope this helps. and please feel free to reach out if you have any further questions.
If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.