View split bills by tag

更新时间:
复制 MD 格式

You can view split bills based on cost allocation tags in the Expenses and Costs console or by calling API operations.

Prerequisites

  • Tags are added to resources.

    For more information, see Add a custom tag.

  • The cost allocation tag feature is enabled, and cost allocation tags are specified.

    For more information, see cost allocation tags.

(Recommended) View split bills in the Expenses and Costs console

  • Split Bill

    On the Split Bill page, you can view resource costs by tag and export split bills in CSV format for detailed filtering.

    You must enable this feature before use. Data becomes available one day after you add tags. For more information, see Split Bill.

  • Cost Analysis

    On the Cost Analysis page, you can filter resource costs by tag and export the details in CSV format.

    You must enable Cost Analysis before use. Data becomes available one day after you add tags. For more information, see Cost Analysis.

  • Cost Center

    On the Cost Center page, you can create cost centers and allocate resources to them by tag.

    You must enable Cost Center before use. Data becomes available one day after you add tags. For more information, see Cost Center.

    On the Split Bill or Cost Analysis page, you can view cost details by Cost Center.

View split bills by using the related API operations

After you add tags to resources, you can call the following API operations to query bills. The response includes the tags attached to your resources.

  • DescribeSplitItemBill

    Queries split bills. Before you call this operation, make sure that the Split Bill feature is enabled and tags have been added to your resources for at least one day.

  • DescribeInstanceBill

    Queries instance bills. Instance bills are generated after the total bill is split. In most cases, instance bills do not include data from the last day of the billing period.