THE LINUX FOUNDATION PROJECTS
Docs navigation
On this page

    2.32 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 a FOCUS dataset. 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.32.3 Description

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

    2.32.4 Usability Constraints

    Aggregation: When aggregating Pricing Quantity for commitment utilization calculations, it's important to exclude commitment discount purchases (i.e. when ChargeCategory is "Purchase") that are paid to cover future eligible charges (e.g., Commitment Discount). Otherwise, when accounting for all upfront or accrued purchases, it's important to exclude commitment discount usage (i.e. when ChargeCategory is "Usage"). This exclusion helps prevent double counting of these quantities in the aggregation.

    Constraints

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