getting your aws/azure/gcp spend into your own database sounds easy, just export it and load it. the annoying part is the cloud keeps rewriting the current month's numbers, so if you're not careful you end up double-counting and your totals don't match the actual bill.
decent writeup on doing it without that mess. worth a read if you're building your own cost reporting.
dev.to/…/cloud-cost-api-pulling-reconciled-aws-azure-and-gcp-spend-into-your-own-warehouse-csv-json…