THE LINUX FOUNDATION PROJECTS
Docs navigation
On this page

    3.4.6 Charge Category

    Dataset: Invoice Detail
    Column Type: Dimension
    Feature Level: Mandatory
    Data Type: String
    Since: 1.4

    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.4.6.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.
    • When the charge does not aggregate multiple classifications, ChargeCategory MUST adhere to the following requirements:
      • 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.
    • When the charge aggregates multiple classifications, ChargeCategory MUST adhere to the following requirements:
      • ChargeCategory MAY be "Usage" when the record aggregates charges across multiple allowed values other than "Tax" (e.g., aggregation of "Usage" and "Credit" is allowed, but not "Usage" and "Tax").

    3.4.6.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, corrections to promotional credits).
    Adjustment Positive or negative charges the service provider applies that do not fall into other category values.

    3.4.6.3 Implementation Guidance

    Unlike the CostAndUsage dataset, which requires strict categorization per row, InvoiceDetail records are designed to align with physical or electronic invoice line items. When the invoice does not provide an explicit charge category for a line item, a single line item may inherently represent a mix of charge categories (e.g., combining base usage and promotional credits). To accurately reflect the issued invoice without breaking schema validation, the InvoiceDetail dataset permits the "Usage" category to represent an aggregate of multiple charge categories, provided that "Tax" charges are kept distinctly separate.

    3.4.6.6 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