Reporting APIs for Enterprise customers - Price Sheet

The Price Sheet API provides the applicable rate for each Meter for the given Enrollment and Billing Period.

Request

Common header properties that need to be added are specified here. If a billing period isn't specified, then data for the current billing period is returned.

Method Request URI
GET https://consumption.azure.com/v2/enrollments/{enrollmentNumber}/pricesheet
GET https://consumption.azure.com/v2/enrollments/{enrollmentNumber}/billingPeriods/{billingPeriod}/pricesheet

Note

To use the preview version of API, replace v2 with v1 in the above URL.

Response

	[
		{
		  	"id": "enrollments/57354989/billingperiods/201601/products/343/pricesheets",
	  		"billingPeriodId": "201704",
			"meterId": "dc210ecb-97e8-4522-8134-2385494233c0",
	  		"meterName": "A1 VM",
	  		"unitOfMeasure": "100 Hours",
	 	 	"includedQuantity": 0,
	  		"partNumber": "N7H-00015",
	  		"unitPrice": 0.00,
	  		"currencyCode": "USD"
		},
		{
	  		"id": "enrollments/57354989/billingperiods/201601/products/2884/pricesheets",
	  		"billingPeriodId": "201404",
			"meterId": "dc210ecb-97e8-4522-8134-5385494233c0",
	  		"meterName": "Locally Redundant Storage Premium Storage - Snapshots - AU East",
	  		"unitOfMeasure": "100 GB",
	  		"includedQuantity": 0,
	  		"partNumber": "N9H-00402",
	  		"unitPrice": 0.00,
	  		"currencyCode": "USD"
		},
		...
	]

Note

If you are using the Preview API, meterId field isn't available.

Response property definitions

Property Name Type Description
id string The unique ID represents a PriceSheet item (meter by billing period)
billingPeriodId string The unique ID that represents a particular Billing period
meterId string The identifier for the meter. It can be mapped to the usage meterID.
meterName string The meter name
unitOfMeasure string The Unit of Measure for measuring the service
includedQuantity decimal Quantity that's included
partNumber string The part number that's associated with the Meter
unitPrice decimal The unit price for the meter
currencyCode string The currency code for the unitPrice

See also