A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
Hello @Eben Roux Thank you for posting your question on the Microsoft Q&A platform. Happy to help!
From the information you provided, I understand that you have a requirement to retrieve cost data on daily basis and when tried with "today's date and subtract 2 days" the cost data is incorrect.
You should use Today's date and 3 days to get the accurate cost. It will still be an approximate. However, you will see the cost via the API which would mostly match with the Cost Management in the Portal UX. Doc reference: https://learn.microsoft.com/en-us/rest/api/cost-management/
Hope this helps. If you have any questions, please reply to this post and we will take it further.
If the response helped, do "Accept Answer" and up-vote it