Skip to content

Double-Billing and Discrepancy in COA Cost Allocation #201

@Srikar-Kotra-UTD

Description

@Srikar-Kotra-UTD

Description

There is a critical issue in how costs are allocated for users with a custom Chart of Accounts (COA) string. When a user chats under a specific COA account, the cost of the interaction is incorrectly recorded in both the user's custom COA account and the user's general account.

Furthermore, the cost that is added to the general account does not match the cost attributed to the custom COA string, creating a billing discrepancy.

Steps to Reproduce

  1. A user selects a custom COA string as the default account for their session.
  2. The user initiates a chat that incurs a measurable cost.
  3. The cost allocation data is reviewed.
  4. Observe that the cost has been added to both the specific COA string's total and the general account's total.

Behavior
The cost of the chat is reflected in two separate places: the custom COA account and the general account. The amounts added to each account are unequal, which leads to inaccurate and inflated cost reporting.

Impact
This bug causes significant confusion for billing and makes it impossible to accurately charge back costs to other groups and departments. It undermines the reliability of the platform's cost allocation feature and requires manual intervention to resolve billing disputes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions