cos_* columns. This lets you query, filter, and group costs across providers using a single schema — no need to learn each provider’s billing format.
Columns are organized into the following categories:
| Category | Description |
|---|---|
| Invoice | Fields sourced directly from the provider billing export (accounts, charges, services, regions, resources, Kubernetes labels) |
| Costory | Fields enriched by Costory (standardized region names, compute metadata, pricing model, marketplace flag) |
| Datasources | The Costory datasource that produced the row |
Datasource & Provider Identification
Invoice Issuer
The legal entity issuing the invoice, it also helps identifying marketplace purchases.- AWS
- GCP
- Azure
- Datadog
Sourced from
line_item_legal_entity.Account & Billing
Billing Account Id
The top-level billing or payer account.- AWS
- GCP
- Azure
- Datadog
bill_payer_account_idSub Account ID / Project ID
The sub-account, project, or subscription under which the cost is incurred.- AWS
- GCP
- Azure
- Datadog
line_item_usage_account_nameCharge Classification
Charge Category
Classifies the type of charge. Normalized to one of:Usage, Purchase, Tax, Adjustment.
- AWS
- GCP
- Azure
- Datadog
Mapped from
line_item_line_item_type: - Usage,
SavingsPlanCoveredUsage, SavingsPlanNegation, DiscountedUsage,
BundledDiscount, Discount, PrivateRateDiscount, EdpDiscount →
Usage - Fee, SavingsPlanUpfrontFee, RIFee,
SavingsPlanRecurringFee → Purchase - Credit, Refund →
Adjustment - Tax → TaxCharge Description
A human-readable description of the charge line item.- AWS
- GCP
- Azure
- Datadog
line_item_line_item_descriptionCharge Frequency
How often the charge recurs. Normalized to:One-Time, Recurring, Usage-Based.
- AWS
- GCP
- Azure
- Datadog
Based on
bill_bill_type: - Refund or Purchase → One-Time -
Anniversary → RecurringService & SKU
Category
A high-level cost category such as Compute, Storage, or Networking. Mapped from a defined list of services.Service Name
The name of the cloud service.- AWS
- GCP
- Azure
- Datadog
line_item_product_code for first-party services. For marketplace,
extracted from product.key_value (product_name).SKU ID
The SKU identifier.- AWS
- GCP
- Azure
- Datadog
product_sku for first-party services; marketplace product name otherwise.SKU Description
A human-readable SKU description.- AWS
- GCP
- Azure
- Datadog
CONCAT(product_operation, "_", product_product_family) for first-party
services; marketplace product name otherwise.Location & Infrastructure
Availability Zone
The availability zone of the resource.- AWS
- GCP
- Azure
- Datadog
line_item_availability_zoneRegion ID
The raw, provider-specific region identifier.- AWS
- GCP
- Azure
- Datadog
product.key_value["region"] or product_region_codeRegion
The standardized, human-readable region name. Costory maps each provider’s raw region identifier to a common name via an internal region mapper.- AWS
- GCP
- Azure
- Datadog
StandardRegionName joined on product_region_code.Resource
Resource Id
The unique identifier of the resource.- AWS
- GCP
- Azure
- Datadog
line_item_resource_idResource Name
A human-readable name for the resource.- AWS
- GCP
- Azure
- Datadog
line_item_resource_id (same as Resource Id).Commitment Discounts
Commitment Discount Category
The type of commitment discount.Usage indicates a resource-based commitment (Reserved Instances, resource-based CUDs). Spend indicates a dollar-based commitment (Savings Plans, dollar-based CUDs).
- AWS
- GCP
- Azure
- Datadog
- Savings Plan ARN present → Spend - Reservation ARN present → Usage
Commitment Discount Id
The identifier of the commitment discount (ARN, CUD name, or benefit ID).- AWS
- GCP
- Azure
- Datadog
savings_plan_savings_plan_a_r_n or reservation_reservation_a_r_nCompute Enrichment
These fields are enriched by Costory to provide deeper visibility into compute spend.Machine Type
The instance or machine type (e.g.,m5.xlarge, n2-standard-4).
- AWS
- GCP
- Azure
- Datadog
Extracted from
line_item_usage_type after the : separator.Machine Family
The machine family (e.g.,m5, n2, Dv3).
- AWS
- GCP
- Azure
- Datadog
First part of the machine type (split on
.).Pricing Model (Spot / On Demand)
How the resource is priced. Normalized to:On Demand, Spot, Reservation, Savings Plan.
- AWS
- GCP
- Azure
- Datadog
DiscountedUsage→ Reservation -SavingsPlanCoveredUsage→ Savings Plan - Usage type containsSpotUsage→ Spot -Usage→ On Demand
Marketplace Purchase
Whether the charge is a marketplace purchase. This field is not populated directly by billing converters — it is derived downstream by Costory.Line Item Usage Type
The raw usage type from the provider. Not populated as acos_* column in converters — available via provider-specific labels (e.g., aws_line_item_usage_type for AWS).
- AWS
- GCP
- Azure
- Datadog
line_item_usage_typeKubernetes
These fields provide Kubernetes-level cost attribution. For GCP, most are populated natively from GKE billing labels. For AWS and Azure, they are typically enriched downstream via Costory’s K8s integration.K8s Cluster Name
The name of the kubernetes cluster.- AWS
- GCP
- Azure
- Datadog
NULL (populated downstream via K8s enrichment).K8s Namespace
The kubernetes namespace for that cost.- AWS
- GCP
- Azure
- Datadog
NULLK8s Namespace Reallocated
Namespace reallocated: is a view over namespace with the waste cost reallocated to each namespace depending on their usage: this is only available on AWS EKS.K8s Workload Name
The name of the workload, it’s the name of pod it can contain ids.- AWS
- GCP
- Azure
- Datadog
NULLK8s Workload Type
The Kubernetes workload type (Deployment, StatefulSet, DaemonSet, etc.).- AWS
- GCP
- Azure
- Datadog
NULLK8s Node Pool Name
The name of the node pool (node group in AWS).- AWS
- GCP
- Azure
- Datadog
Resource tag matching
nodegroup_name.