Skip to content

Commit 1aad71a

Browse files
Merge pull request #293914 from bandersmsft/cm-fields-sync2
MCM - Sync data fields for JoJo
2 parents a5df934 + c4d4efa commit 1aad71a

File tree

6 files changed

+79
-68
lines changed

6 files changed

+79
-68
lines changed

articles/cost-management-billing/automate/understand-usage-details-fields.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Cost Management
44
description: This article describes the fields in the usage data files.
55
author: bandersmsft
66
ms.author: banders
7-
ms.date: 01/07/2025
7+
ms.date: 01/31/2025
88
ms.topic: conceptual
99
ms.service: cost-management-billing
1010
ms.subservice: cost-management
@@ -57,6 +57,7 @@ MPA accounts have all MCA terms, in addition to the MPA terms, as described in t
5757
| CostAllocationRuleName | EA, MCA | Name of the Cost Allocation rule that's applicable to the record. |
5858
| CostInBillingCurrency | EA, MCA | Cost of the charge in the billing currency before credits or taxes. |
5959
| 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. |
6061
| Currency | EA, pay-as-you-go | See `BillingCurrency`. |
6162
| CustomerName | MPA | Name of the Microsoft Entra tenant for the customer's subscription. |
6263
| 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
6566
| ExchangeRateDate | MCA | Date the exchange rate was established. |
6667
| ExchangeRatePricingToBilling | MCA | Exchange rate used to convert the cost in the pricing currency to the billing currency. |
6768
| 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. |
6870
| InvoiceId | pay-as-you-go, MCA | The unique document ID listed on the invoice PDF. |
6971
| InvoiceSection | MCA | See `InvoiceSectionName`. |
7072
| 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
8385
| PartnerName | MPA | Name of the partner Microsoft Entra tenant. |
8486
| PartnerTenantId | MPA | Identifier for the partner's Microsoft Entra tenant. |
8587
| 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. |
8690
| 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`. |
8792
| PreviousInvoiceId | MCA | Reference to an original invoice if the line item is a refund. |
8893
| PricingCurrency | MCA | Currency used when rating based on negotiated prices. |
8994
| 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. |
9196
| ProductId¹ | MCA | Unique identifier for the product. |
9297
| ProductOrderId | All | Unique identifier for the product order. |
9398
| 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
103108
| 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**. |
104109
| ResourceId¹ | All | Unique identifier of the [Azure Resource Manager](/rest/api/resources/resources) resource. |
105110
| 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). |
107112
| 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. |
108114
| 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). |
110115
| ServiceFamily | MCA | Service family that the service belongs to. |
111116
| ServiceInfo1 | All | Service-specific metadata. |
112117
| ServiceInfo2 | All | Legacy field with optional service-specific metadata. |
118+
| ServiceName | pay-as-you-go | The service family that the service belongs to. |
113119
| ServicePeriodEndDate | MCA | The end date of the rating period that defined and locked pricing for the consumed or purchased service. |
114120
| 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. |
115122
| SubscriptionId¹ | All | Unique identifier for the Azure subscription. |
116123
| SubscriptionName | All | Name of the Azure subscription. |
117124
| 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/). |
118125
| 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. |
119126
| UnitOfMeasure | All | The unit of measure for billing for the service. For example, compute services are billed per hour. |
120127
| 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. |
121130

122131
¹ Fields used to build a unique ID for a single cost record. Every record in your cost details file should be considered unique.
123132

@@ -191,6 +200,8 @@ Meter characteristics - Meters associated with IQ exhibit specific traits in the
191200

192201
## Rounding adjustment details
193202

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+
194205
### Why do we have rounding adjustment?
195206

196207
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.

articles/cost-management-billing/dataset-schema/cost-usage-details-ea.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The following information lists the cost and usage details (formerly known as us
6969
| 47 |InvoiceSectionId|Unique identifier for the EA department or MCA invoice section.|
7070
| 48 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
7171
| 49 |PartNumber|Identifier used to get specific meter pricing.|
72-
| 50 |PayGPrice|Retail price for 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).|
7373
| 51 |PlanName|Marketplace plan name.|
7474
| 52 |ServiceFamily|Service family that the service belongs to.|
7575
| 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
131131
| 47 |InvoiceSectionId|Unique identifier for the EA department or MCA invoice section.|
132132
| 48 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
133133
| 49 |PartNumber|Identifier used to get specific meter pricing.|
134-
| 50 |PayGPrice|Retail price for 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).|
135135
| 51 |PlanName|Marketplace plan name.|
136136
| 52 |ServiceFamily|Service family that the service belongs to.|
137137
| 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
188188
| 44 |ServiceFamily|Service family that the service belongs to.|
189189
| 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).|
190190
| 46 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
191-
| 47 |PayGPrice|Retail price for 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).|
192192
| 48 |PricingModel|Identifier that indicates how the meter is priced. (Values: `On Demand`, `Reservation`, `Spot`, and `SavingsPlan`)|
193193
| 49 |BillingPeriodStartDate|The start date of the billing period.|
194194
| 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
210210
| 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`.|
211211
| 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).|
212212
| 8 |Date|The usage or purchase date of the charge.|
213-
| 9 |ProductName| .|
213+
| 9 |ProductName| Name of the product.|
214214
| 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.|
215215
| 11 |MeterSubCategory|Name of the meter subclassification category. Purchases and Marketplace usage might be shown as blank or unassigned.|
216216
| 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
251251
| 47 |InvoiceSectionId|Unique identifier for the EA department or MCA invoice section.|
252252
| 48 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
253253
| 49 |PartNumber|Identifier used to get specific meter pricing.|
254-
| 50 |PayGPrice|Retail price for 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).|
255255
| 51 |PlanName|Marketplace plan name.|
256256
| 52 |ServiceFamily|Service family that the service belongs to.|
257257
| 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
268268
| 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`.|
269269
| 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).|
270270
| 8 |Date|The usage or purchase date of the charge.|
271-
| 9 |ProductName| .|
271+
| 9 |ProductName| Name of the product. |
272272
| 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.|
273273
| 11 |MeterSubCategory|Name of the meter subclassification category. Purchases and Marketplace usage might be shown as blank or unassigned.|
274274
| 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
309309
| 47 |InvoiceSectionId|Unique identifier for the EA department or MCA invoice section.|
310310
| 48 |IsAzureCreditEligible|Indicates if the charge is eligible to be paid for using Azure credits (Values: `True` or `False`).|
311311
| 49 |PartNumber|Identifier used to get specific meter pricing.|
312-
| 50 |PayGPrice|Retail price for 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).|
313313
| 51 |PlanName|Marketplace plan name.|
314314
| 52 |ServiceFamily|Service family that the service belongs to.|
315315

@@ -324,7 +324,7 @@ The following information lists the cost and usage details (formerly known as us
324324
| 5 |SubscriptionName|Name of the Azure subscription.|
325325
| 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`.|
326326
| 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.|
328328
| 9 |ProductName|Name of the product.|
329329
| 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.|
330330
| 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
334334
| 15 |UnitOfMeasure|The unit of measure for billing for the service. For example, compute services are billed per hour.|
335335
| 16 |UsageQuantity|The number of units used by the given product or service for a given day.|
336336
| 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`.|
338338
| 19 |CostCenter|The cost center defined for the subscription for tracking costs (only available in open billing periods for MCA accounts).|
339339
| 20 |ConsumedService|Name of the service the charge is associated with.|
340340
| 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.|
342342
| 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).|
343343
| 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/).|
344344
| 25 |AdditionalInfo|Service-specific metadata. For example, an image type for a virtual machine.|

0 commit comments

Comments
 (0)