You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cost-management-billing/automate/understand-usage-details-fields.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Cost Management
4
4
description: This article describes the fields in the usage data files.
5
5
author: bandersmsft
6
6
ms.author: banders
7
-
ms.date: 01/07/2025
7
+
ms.date: 01/31/2025
8
8
ms.topic: conceptual
9
9
ms.service: cost-management-billing
10
10
ms.subservice: cost-management
@@ -57,6 +57,7 @@ MPA accounts have all MCA terms, in addition to the MPA terms, as described in t
57
57
| CostAllocationRuleName | EA, MCA | Name of the Cost Allocation rule that's applicable to the record. |
58
58
| CostInBillingCurrency | EA, MCA | Cost of the charge in the billing currency before credits or taxes. |
59
59
| CostInPricingCurrency | MCA | Cost of the charge in the pricing currency before credits or taxes. |
60
+
| costInUsd | MCA | Cost of the charge in USD currency before credits or taxes. |
60
61
| Currency | EA, pay-as-you-go | See `BillingCurrency`. |
61
62
| CustomerName | MPA | Name of the Microsoft Entra tenant for the customer's subscription. |
62
63
| CustomerTenantId | MPA | Identifier of the Microsoft Entra tenant of the customer's subscription. |
@@ -65,6 +66,7 @@ MPA accounts have all MCA terms, in addition to the MPA terms, as described in t
65
66
| ExchangeRateDate | MCA | Date the exchange rate was established. |
66
67
| ExchangeRatePricingToBilling | MCA | Exchange rate used to convert the cost in the pricing currency to the billing currency. |
67
68
| Frequency | All | Indicates whether a charge is expected to repeat. Charges can either happen once (**OneTime**), repeat on a monthly or yearly basis (**Recurring**), or be based on usage (**UsageBased**). |
69
+
| InstanceId | EA, pay-as-you-go | Unique identifier of the [Azure Resource Manager](/rest/api/resources/resources) resource. |
68
70
| InvoiceId | pay-as-you-go, MCA | The unique document ID listed on the invoice PDF. |
69
71
| InvoiceSection | MCA | See `InvoiceSectionName`. |
70
72
| InvoiceSectionId¹ | EA, MCA | Unique identifier for the EA department or MCA invoice section. |
@@ -83,11 +85,14 @@ MPA accounts have all MCA terms, in addition to the MPA terms, as described in t
83
85
| PartnerName | MPA | Name of the partner Microsoft Entra tenant. |
84
86
| PartnerTenantId | MPA | Identifier for the partner's Microsoft Entra tenant. |
85
87
| PartNumber¹ | EA, pay-as-you-go | Identifier used to get specific meter pricing. |
88
+
| paygCostInBillingCurrency | MCA | The amount of Pay-As-You-Go (PayG) cost before tax in billing currency. You can compute `paygCostInBillingCurrency` by multiplying `PayGPrice`, `quantity` and `exchangeRatePricingToBilling`. |
89
+
| paygCostInUsd | MCA | The amount of Pay-As-You-Go (PayG) cost before tax in USD currency. |
86
90
| PlanName | EA, pay-as-you-go | Marketplace plan name. |
91
+
| PreTaxCost| EA, pay-as-you-go | Cost of the charge before credits or taxes. You can compute `PreTaxCost` by multiplying `ResourceRate` with `UsageQuantity`. |
87
92
| PreviousInvoiceId | MCA | Reference to an original invoice if the line item is a refund. |
88
93
| PricingCurrency | MCA | Currency used when rating based on negotiated prices. |
89
94
| PricingModel | All | Identifier that indicates how the meter is priced. (Values: `OnDemand`, `Reservation`, `Spot`, and `SavingsPlan`) |
90
-
|Product| All | Name of the product. |
95
+
|ProductName| All | Name of the product. |
91
96
| ProductId¹ | MCA | Unique identifier for the product. |
92
97
| ProductOrderId | All | Unique identifier for the product order. |
93
98
| ProductOrderName | All | Unique name for the product order. |
@@ -103,21 +108,25 @@ MPA accounts have all MCA terms, in addition to the MPA terms, as described in t
103
108
| ResourceGroup | All | Name of the [resource group](../../azure-resource-manager/management/overview.md) the resource is in. Not all charges come from resources deployed to resource groups. Charges that don't have a resource group are shown as null or empty, **Others**, or **Not applicable**. |
104
109
| ResourceId¹ | All | Unique identifier of the [Azure Resource Manager](/rest/api/resources/resources) resource. |
105
110
| ResourceLocation¹ | All | The Azure region where the resource is deployed, also referred to as the datacenter location where the resource is running. For an example using Virtual Machines, see [What's the difference between MeterRegion and ResourceLocation](/azure/virtual-machines/vm-usage#what-is-the-difference-between-meter-region-and-resource-location). |
106
-
| ResourceLocationNormalized |All| Standardized format of the Azure region where the resource is deployed, also referred to as the datacenter location where the resource is running. The normalized location is used to resolve inconsistencies in region names sent by different Azure Resource Providers (RPs). |
111
+
| ResourceLocationNormalized |EA| Standardized format of the Azure region where the resource is deployed, also referred to as the datacenter location where the resource is running. The normalized location is used to resolve inconsistencies in region names sent by different Azure Resource Providers (RPs). |
107
112
| ResourceName | EA, pay-as-you-go | Name of the resource. Not all charges come from deployed resources. Charges that don't have a resource type are shown as null/empty, **Others** , or **Not applicable**. |
113
+
| ResourceRate | pay-as-you-go | The price for a given product or service that represents the actual rate that you end up paying per unit. |
108
114
| ResourceType | MCA | Type of resource instance. Not all charges come from deployed resources. Charges that don't have a resource type are shown as null/empty, **Others** , or **Not applicable**. |
109
-
| RoundingAdjustment | EA, MCA | Rounding adjustment represents the quantization that occurs during cost calculation. When the calculated costs are converted to the invoiced total, small rounding errors can occur. The rounding errors are represented as `rounding adjustment` to ensure that the costs shown in Cost Management align to the invoice. For more information, see [Rounding adjustment details](#rounding-adjustment-details). |
110
115
| ServiceFamily | MCA | Service family that the service belongs to. |
111
116
| ServiceInfo1 | All | Service-specific metadata. |
112
117
| ServiceInfo2 | All | Legacy field with optional service-specific metadata. |
118
+
| ServiceName | pay-as-you-go | The service family that the service belongs to. |
113
119
| ServicePeriodEndDate | MCA | The end date of the rating period that defined and locked pricing for the consumed or purchased service. |
114
120
| ServicePeriodStartDate | MCA | The start date of the rating period that defined and locked pricing for the consumed or purchased service. |
121
+
| ServiceTier | pay-as-you-go | Name of the service subclassification category. |
115
122
| SubscriptionId¹ | All | Unique identifier for the Azure subscription. |
116
123
| SubscriptionName | All | Name of the Azure subscription. |
117
124
| Tags¹ | All | Tags assigned to the resource. Doesn't include resource group tags. Can be used to group or distribute costs for internal chargeback. For more information, see [Organize your Azure resources with tags](https://azure.microsoft.com/updates/organize-your-azure-resources-with-tags/). |
118
125
| Term | All | Displays the term for the validity of the offer. For example: For reserved instances, it displays 12 months as the Term. For one-time purchases or recurring purchases, Term is one month (SaaS, Marketplace Support). Not applicable for Azure consumption. |
119
126
| UnitOfMeasure | All | The unit of measure for billing for the service. For example, compute services are billed per hour. |
120
127
| UnitPrice² ³| All | The price for a given product or service inclusive of any negotiated discount that you might have on top of the market price (`PayG` price column) for your contract. For more information, see [Pricing behavior in cost details](automation-ingest-usage-details-overview.md#pricing-behavior-in-cost-and-usage-details). |
128
+
| UsageDateTime | EA, pay-as-you-go | The usage date of the charge in yyyy-mm-dd format. |
129
+
| UsageQuantity | pay-as-you-go | The number of units used by the given product or service for a given day. |
121
130
122
131
¹ Fields used to build a unique ID for a single cost record. Every record in your cost details file should be considered unique.
123
132
@@ -191,6 +200,8 @@ Meter characteristics - Meters associated with IQ exhibit specific traits in the
191
200
192
201
## Rounding adjustment details
193
202
203
+
A rounding adjustment represents the quantization that occurs during cost calculation. When the calculated costs are converted to the invoiced total, small rounding errors can occur. The rounding errors are represented as `rounding adjustment` to ensure that the costs shown in Cost Management align to the invoice.
204
+
194
205
### Why do we have rounding adjustment?
195
206
196
207
Every financial system involves rounding logic, which can cause some variance. Invoices aggregate monthly costs at the meter level, with costs rounded depending on the currency. In contrast, the cost file contains costs at the resource instance level with higher precision. This difference results in a variance in the total cost between the invoice and the cost file. The rounding adjustment is provided in the cost file at an aggregated level whenever the invoice is ready, ensuring that the total costs in both files match.
Copy file name to clipboardExpand all lines: articles/cost-management-billing/dataset-schema/cost-usage-details-ea.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ The following information lists the cost and usage details (formerly known as us
69
69
| 47 |InvoiceSectionId|Unique identifier for the EA department or MCA invoice section.|
70
70
| 48 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
71
71
| 49 |PartNumber|Identifier used to get specific meter pricing.|
72
-
| 50 |PayGPrice|Retail pricefor the resource.|
72
+
| 50 |PayGPrice|The market price, also referred to as retail or list price, for a given product or service. For more information, see [Pricing behavior in cost details](../automate/automation-ingest-usage-details-overview.md#pricing-behavior-in-cost-and-usage-details).|
73
73
| 51 |PlanName|Marketplace plan name.|
74
74
| 52 |ServiceFamily|Service family that the service belongs to.|
75
75
| 53 |CostAllocationRuleName|Name of the Cost Allocation rule that's applicable to the record.|
@@ -131,7 +131,7 @@ The following information lists the cost and usage details (formerly known as us
131
131
| 47 |InvoiceSectionId|Unique identifier for the EA department or MCA invoice section.|
132
132
| 48 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
133
133
| 49 |PartNumber|Identifier used to get specific meter pricing.|
134
-
| 50 |PayGPrice|Retail pricefor the resource.|
134
+
| 50 |PayGPrice|The market price, also referred to as retail or list price, for a given product or service. For more information, see [Pricing behavior in cost details](../automate/automation-ingest-usage-details-overview.md#pricing-behavior-in-cost-and-usage-details).|
135
135
| 51 |PlanName|Marketplace plan name.|
136
136
| 52 |ServiceFamily|Service family that the service belongs to.|
137
137
| 53 |CostAllocationRuleName|Name of the Cost Allocation rule that's applicable to the record.|
@@ -188,7 +188,7 @@ The following information lists the cost and usage details (formerly known as us
188
188
| 44 |ServiceFamily|Service family that the service belongs to.|
189
189
| 45 |Frequency|Indicates whether a charge is expected to repeat. Charges can either happen once (OneTime), repeat on a monthly or yearly basis (Recurring), or be based on usage (UsageBased).|
190
190
| 46 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
191
-
| 47 |PayGPrice|Retail pricefor the resource.|
191
+
| 47 |PayGPrice|The market price, also referred to as retail or list price, for a given product or service. For more information, see [Pricing behavior in cost details](../automate/automation-ingest-usage-details-overview.md#pricing-behavior-in-cost-and-usage-details).|
192
192
| 48 |PricingModel|Identifier that indicates how the meter is priced. (Values: `On Demand`, `Reservation`, `Spot`, and `SavingsPlan`)|
193
193
| 49 |BillingPeriodStartDate|The start date of the billing period.|
194
194
| 50 |BillingPeriodEndDate|The end date of the billing period.|
@@ -210,7 +210,7 @@ The following information lists the cost and usage details (formerly known as us
210
210
| 6 |ResourceGroup|Name of the [resource group](../../azure-resource-manager/management/overview.md) the resource is in. Not all charges come from resources deployed to resource groups. Charges that don't have a resource group are shown as null or empty, `Others`, or `Not applicable`.|
211
211
| 7 |ResourceLocation|The Azure region where the resource is deployed, also referred to as the datacenter location where the resource is running. For an example using Virtual Machines, see [What's the difference between MeterRegion and ResourceLocation](/azure/virtual-machines/vm-usage#what-is-the-difference-between-meter-region-and-resource-location).|
212
212
| 8 |Date|The usage or purchase date of the charge.|
213
-
| 9 |ProductName|.|
213
+
| 9 |ProductName|Name of the product.|
214
214
| 10 |MeterCategory|Name of the classification category for the meter. For example, `Cloud services` and `Networking`. Purchases and Marketplace usage might be shown as blank or unassigned.|
215
215
| 11 |MeterSubCategory|Name of the meter subclassification category. Purchases and Marketplace usage might be shown as blank or unassigned.|
216
216
| 12 |MeterId|The unique identifier for the meter.|
@@ -251,7 +251,7 @@ The following information lists the cost and usage details (formerly known as us
251
251
| 47 |InvoiceSectionId|Unique identifier for the EA department or MCA invoice section.|
252
252
| 48 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
253
253
| 49 |PartNumber|Identifier used to get specific meter pricing.|
254
-
| 50 |PayGPrice|Retail pricefor the resource.|
254
+
| 50 |PayGPrice|The market price, also referred to as retail or list price, for a given product or service. For more information, see [Pricing behavior in cost details](../automate/automation-ingest-usage-details-overview.md#pricing-behavior-in-cost-and-usage-details).|
255
255
| 51 |PlanName|Marketplace plan name.|
256
256
| 52 |ServiceFamily|Service family that the service belongs to.|
257
257
| 53 |CostAllocationRuleName|Name of the Cost Allocation rule that's applicable to the record.|
@@ -268,7 +268,7 @@ The following information lists the cost and usage details (formerly known as us
268
268
| 6 |ResourceGroup|Name of the [resource group](../../azure-resource-manager/management/overview.md) the resource is in. Not all charges come from resources deployed to resource groups. Charges that don't have a resource group are shown as null or empty, `Others`, or `Not applicable`.|
269
269
| 7 |ResourceLocation|The Azure region where the resource is deployed, also referred to as the datacenter location where the resource is running. For an example using Virtual Machines, see [What's the difference between MeterRegion and ResourceLocation](/azure/virtual-machines/vm-usage#what-is-the-difference-between-meter-region-and-resource-location).|
270
270
| 8 |Date|The usage or purchase date of the charge.|
271
-
| 9 |ProductName| .|
271
+
| 9 |ProductName|Name of the product. |
272
272
| 10 |MeterCategory|Name of the classification category for the meter. For example, `Cloud services` and `Networking`. Purchases and Marketplace usage might be shown as blank or unassigned.|
273
273
| 11 |MeterSubCategory|Name of the meter subclassification category. Purchases and Marketplace usage might be shown as blank or unassigned.|
274
274
| 12 |MeterId|The unique identifier for the meter.|
@@ -309,7 +309,7 @@ The following information lists the cost and usage details (formerly known as us
309
309
| 47 |InvoiceSectionId|Unique identifier for the EA department or MCA invoice section.|
310
310
| 48 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
311
311
| 49 |PartNumber|Identifier used to get specific meter pricing.|
312
-
| 50 |PayGPrice|Retail pricefor the resource.|
312
+
| 50 |PayGPrice|The market price, also referred to as retail or list price, for a given product or service. For more information, see [Pricing behavior in cost details](../automate/automation-ingest-usage-details-overview.md#pricing-behavior-in-cost-and-usage-details).|
313
313
| 51 |PlanName|Marketplace plan name.|
314
314
| 52 |ServiceFamily|Service family that the service belongs to.|
315
315
@@ -324,7 +324,7 @@ The following information lists the cost and usage details (formerly known as us
324
324
| 5 |SubscriptionName|Name of the Azure subscription.|
325
325
| 6 |ResourceGroup|Name of the [resource group](../../azure-resource-manager/management/overview.md) the resource is in. Not all charges come from resources deployed to resource groups. Charges that don't have a resource group are shown as null or empty, `Others`, or `Not applicable`.|
326
326
| 7 |ResourceLocation|The Azure region where the resource is deployed, also referred to as the datacenter location where the resource is running. For an example using Virtual Machines, see [What's the difference between MeterRegion and ResourceLocation](/azure/virtual-machines/vm-usage#what-is-the-difference-between-meter-region-and-resource-location).|
327
-
| 8 |UsageDateTime|.|
327
+
| 8 |UsageDateTime|The usage date of the charge in yyyy-mm-dd format.|
328
328
| 9 |ProductName|Name of the product.|
329
329
| 10 |MeterCategory|Name of the classification category for the meter. For example, `Cloud services` and `Networking`. Purchases and Marketplace usage might be shown as blank or unassigned.|
330
330
| 11 |MeterSubcategory|Name of the meter subclassification category. Purchases and Marketplace usage might be shown as blank or unassigned.|
@@ -334,11 +334,11 @@ The following information lists the cost and usage details (formerly known as us
334
334
| 15 |UnitOfMeasure|The unit of measure for billing for the service. For example, compute services are billed per hour.|
335
335
| 16 |UsageQuantity|The number of units used by the given product or service for a given day.|
336
336
| 17 |ResourceRate|Blended unit price for the period. Blended prices average out any fluctuations in the unit price, like graduated tiering, which lowers the price as quantity increases over time.|
337
-
| 18 |PreTaxCost|.|
337
+
| 18 |PreTaxCost|Cost of the charge before credits or taxes. You can compute `PreTaxCost` by multiplying `ResourceRate` with `UsageQuantity`.|
338
338
| 19 |CostCenter|The cost center defined for the subscription for tracking costs (only available in open billing periods for MCA accounts).|
339
339
| 20 |ConsumedService|Name of the service the charge is associated with.|
340
340
| 21 |ResourceType| Type of resource instance. Not all charges come from deployed resources. Charges that don't have a resource type are shown as null or empty, `Others` , or `Not applicable`.|
341
-
| 22 |InstanceId|.|
341
+
| 22 |InstanceId|Unique identifier of the [Azure Resource Manager](/rest/api/resources/resources) resource.|
342
342
| 23 |Tags|Tags assigned to the resource. Doesn't include resource group tags. Can be used to group or distribute costs for internal chargeback. For more information, see [Organize your Azure resources with tags](../../azure-resource-manager/management/tag-resources.md).|
343
343
| 24 |OfferId|Name of the Azure offer, which is the type of Azure subscription that you have. For more information, see supported [Microsoft Azure offer details](https://azure.microsoft.com/support/legal/offer-details/).|
344
344
| 25 |AdditionalInfo|Service-specific metadata. For example, an image type for a virtual machine.|
0 commit comments