A sample Python script that collects billing information from AWS Cost Explorer for all accounts on a monthly basis. It will also get tag information from AWS Organizations service and integrate that with billing data.
Data is written into Pandas Dataframe for easier handling and optionally written out as CSV.