Skip to main content
Some providers do not answer a billing API; they write the bill to storage on a schedule. AWS Data Exports writes Parquet to S3, Azure Cost Management writes to Azure Blob Storage, and STACKIT publishes part_000X.csv.gz to its own Object Storage. The Object Store integration reads any of them: the rows are already FOCUS when they arrive, so nothing is normalized - the exporter reads, repairs the deviations it knows about, and pushes. This integration runs in your environment via the exporter - your storage credentials never reach CostGraph, and only the finished FOCUS records do.

Where the bill can live

.csv, .csv.gz and .parquet are all read. Credentials are read-only by intent: the exporter never writes to your bucket, so give it a key that cannot either.

Which files make up a period

OBJECTSTORE_LAYOUT answers one question: given all the files in the bucket, which ones belong to a billing period? Prefer manifest where the export publishes one: nothing is guessed from file names, and a run that lands while the exporter is reading cannot be read half-written.

Import only some accounts or projects

A bill often covers more than one tenant’s spend. STACKIT’s FOCUS report covers every project in the organization, and an AWS export can cover every account. To import part of the bill, set OBJECTSTORE_SUB_ACCOUNT_IDS to the values in the bill’s SubAccountId column that belong to this connection, separated by commas. The exporter skips every other row:
To give each tenant its own share, create a connection in each tenant. Run the exporter for each one against the same bucket, with that tenant’s IDs. The filter changes what each connection imports in three ways:
  • Charges the bill doesn’t tie to an account or project, such as some fees, credits or tax, are skipped by every filtered connection, so the tenants’ totals can add up to less than the invoice.
  • If the bill has charges for other accounts or projects but none for the ones you listed, the run fails with an error naming them and leaves the costs already imported in place. Check the IDs against the SubAccountId column.
  • Every connection reads the whole file with the key you give it. The filter decides what CostGraph imports. It doesn’t limit what that key can read.

Connect

  1. Open Settings -> Integrations and choose Object Store. Pick the tenant the charges belong to and copy the connection id (fpc_...).
  2. Create an API key with the focus:write scope - and deployment:register if you will run the exporter’s container.
  3. Run the exporter where the bill is reachable:
Run the exporter covers the container, the Helm chart, and the binary; the provider reference lists every variable. Without --month the current month is read, which is what a schedule wants; a month can be pushed again at any time - a push replaces the window it covers rather than doubling it.

Cost processing

Records land as raw billing rows, are normalised into line items, and roll up into daily cost. One connection carries one provider’s rows - the provider is stamped on first push - so exporting bills from two providers means two connections.