THE LINUX FOUNDATION PROJECTS
Docs navigation
On this page

    3.1.16 Charge Category

    Dataset: Cost and Usage
    Column Type: Dimension
    Feature Level: Mandatory
    Data Type: String
    Since: 0.5

    Charge Category represents the highest-level classification of a charge based on the nature of how it is billed. Charge Category is commonly used to identify and distinguish between types of charges that may require different handling.

    3.1.16.1 Requirements

    ChargeCategory MUST adhere to the following requirements:

    • ChargeCategory MUST be of type String.
    • ChargeCategory MUST NOT be null.
    • ChargeCategory MUST be one of the allowed values.
    • ChargeCategory MUST be "Usage" when the charge represents consumption of a service or resource.
    • ChargeCategory MUST be "Purchase" when the charge represents acquisition of a service, resource, or commitment.
    • ChargeCategory MUST be "Tax" when the charge represents taxes levied by the relevant authorities.
    • ChargeCategory MUST be "Credit" when the charge represents a financial incentive or allowance unrelated to other charges.
    • ChargeCategory MUST be "Adjustment" when the charge represents a billing modification that does not fall into other ChargeCategories.

    3.1.16.2 Allowed Values

    Value Description
    Usage Positive or negative charges based on the quantity of a service or resource that was consumed over a given period of time including refunds.
    Purchase Positive or negative charges for the acquisition of a service or resource bought upfront or on a recurring basis including refunds.
    Tax Positive or negative applicable taxes that are levied by the relevant authorities including refunds. Tax charges may vary depending on factors such as the location, jurisdiction, and local or federal regulations.
    Credit Positive or negative charges granted by the service provider for various scenarios e.g., promotional credits or corrections to promotional credits.
    Adjustment Positive or negative charges the service provider applies that do not fall into other category values.

    3.1.16.5 Description

    Represents the highest-level classification of a charge based on the nature of how it is billed.

    Constraints

    Property Value
    Column Type Dimension
    Feature Level Mandatory
    Allows Nulls No
    Data Type String
    Value Format Allowed values