THE LINUX FOUNDATION PROJECTS
Docs navigation
On this page

    2.28 Pricing Quantity

    Dataset: Cost and Usage
    Column Type: Metric
    Feature Level: Mandatory
    Data Type: Decimal
    Since: 1.0-preview

    The Pricing Quantity represents the volume of a given SKU associated with a resource or service used or purchased, based on the Pricing Unit. Distinct from Consumed Quantity (complementary to Consumed Unit), it focuses on pricing and cost, not resource and service consumption.

    The PricingQuantity column MUST be present in the billing data. This column MUST be of type Decimal and MUST conform to Numeric Format requirements. The value MAY be negative in cases where ChargeClass is "Correction". This column MUST NOT be null when ChargeClass is not "Correction" and ChargeCategory is "Usage" or "Purchase", MUST be null when ChargeCategory is "Tax", and MAY be null for all other combinations of ChargeClass and ChargeCategory. When unit prices are not null, multiplying PricingQuantity by a unit price MUST produce a result equal to the corresponding cost metric, except in cases of ChargeClass "Correction", which may address PricingQuantity or any cost discrepancies independently.

    2.28.3 Description

    The volume of a given SKU associated with a resource or service used or purchased, based on the Pricing Unit.

    Constraints

    Property Value
    Column Type Metric
    Feature Level Mandatory
    Allows Nulls Yes
    Data Type Decimal
    Value Format Numeric Format