Cloud Bill Spikes

Cloud Bill Spikes

Drop an Azure Actual Cost CSV and your service-to-cost-center map. Get a finance-ready CSV that assigns charges without a resource group, and the balance still unassigned in each currency.

Azure Actual Cost CSV

In Azure Cost Management, export Actual cost for the month. If the export came in parts, combine them into one CSV with a single header row. Up to 25 MiB.

Drop the cost CSV hereor

Service map CSV

Two columns, ConsumedService and CostCenter, in either order. Export it from your spreadsheet as CSV UTF-8. Up to 1 MiB.

Drop the service map hereor

Map format
ConsumedService,CostCenter
Microsoft.Compute,CC-1040 Platform
Microsoft.Storage,CC-1040 Platform
Microsoft.Sql,CC-2210 Data

Add the cost CSV and the service map, then press Allocate charges.

Charges with no resource group are matched to a cost center by service. You get one CSV for finance and the balance still unassigned in each currency.

What it does

This page reads your Actual Cost export and your existing map of Azure services to cost centers. A charge keeps any assignment in its CostCenter column. A charge with a resource group and no assignment goes to your resource-group process. A charge with neither is matched by its ConsumedService. What is left is listed per currency as an exact signed balance, and the full export comes back with two new columns, ResolvedCostCenter and AllocationStatus, ready to hand to finance.

How to use it

  1. In Azure Cost Management, export Actual cost for the month as CSV. If it arrived in parts, combine them into one file with one header row.
  2. Export your service map from a spreadsheet as CSV UTF-8 with the columns ConsumedService and CostCenter.
  3. Drop both files, press Allocate charges, and check the unassigned balance.
  4. Download azure-cost-allocation.csv and filter AllocationStatus for unassigned to see the charges that still need a cost center.

What it does not do

Questions

Why do some Azure charges have no resource group?

Marketplace purchases, reservations, support plans and some tenant-level services are billed outside any resource group, so tags and resource-group rules never reach them. Mapping by ConsumedService is a practical way to give them an owner.

What do the AllocationStatus values mean?

existing: the row already had a cost center. resource_group: it has a resource group, so your resource-group process assigns it. mapped: the map matched its service. unassigned: none of these, and it still needs a cost center.

Why is the balance not rounded?

It is the exact sum of the amounts in your file, credits included, so it reconciles to the cent and beyond with the export.

Will the CSV open safely in Excel?

Yes. Text that a spreadsheet might run as a formula is prefixed with an apostrophe, and amounts stay numbers, negative ones included.

Are my files uploaded?

No. They are read and processed inside this tab. Closing it clears everything.

See it work

Three currencies reconciled: 0.275 USD still unassigned, a EUR credit, and nothing left in GBP.
Three currencies reconciled: 0.275 USD still unassigned, a EUR credit, and nothing left in GBP.
A conflicting map is stopped before anything is allocated, with the rows to fix.
A conflicting map is stopped before anything is allocated, with the rows to fix.
On a phone, the unassigned balance per currency reads at a glance.
On a phone, the unassigned balance per currency reads at a glance.

More pictures, and how Cloud Bill Spikes works