Updated on 2024-12-19 GMT+08:00

Bills

You can view the resource usage and bills for a different billing cycles on the Bills page in the Billing Center.

Billing Generation

  • Yearly/Monthly: Transaction records for yearly/monthly subscriptions are generated immediately after being paid for.
  • Pay-per-use: A pay-per-use resource is billed by the hour, day, or month, depending on the resource's usage type. The ECS usage is billed by the hour. For details, see Bill Run for Pay-per-Use Resources.
  • Spot pricing: ECSs billed on a spot pricing basis are settled by hour.

The expenditure deduction time of pay-per-use and spot resources may be later than the settlement period. For example, if a pay-per-use ECS (settled by hour) is deleted at 08:30, the expenditure generated during 08:00 to 09:00 is usually deducted at about 10:00. In the Billing Center, choose Billing > Expenditure Items in the left navigation pane, Expenditure Time in the bill indicates the time when the pay-per-use or spot pricing resource is used.

Viewing Bills of a Specific Resource

  1. Log in to the management console and choose Compute > Elastic Cloud Server.

    The Elastic Cloud Server page is displayed.

  2. Click the icon shown in the figure below to copy the resource ID.

    Figure 1 Copying the resource ID

  3. On the top menu bar, choose Billing > Bills.

    The Bills page is displayed.

  4. Choose Billing > Expenditure Details in the left navigation pane. Select Resource ID as the filter criteria, enter the resource ID obtained in 2, and click the icon.

    Figure 2 Searching for a bill

    By default, the bill details are displayed by usage and billing cycle. You can choose other display options as required. For details, see Bills.

Checking the Consistency of the Actual Usage and Billed Usage

Assume that you purchased a pay-per-use ECS (c6.large.2, 2 vCPUs | 4 GiB memory) at 10:09:06 on April 8, 2023 and deleted it later that day, at 12:09:06.

  • ECS expenditure items

    Pay-per-use ECS usage is calculated by the second and billed on an hourly basis. You can check the expenditure items against the actual usage. For details, see Table 1.

    Table 1 ECS expenditure items

    Service Type

    ECS

    Resource Type

    ECS

    Billing Mode

    Pay-per-Use

    Expenditure Time

    For the period of time from 10:09:06 to 12:09:06 on April 8, 2023, three transaction records would be generated for the resource usage in the following periods:

    • 2023/04/08 10:09:06 - 2023/04/08 11:00:00
    • 2023/04/08 11:00:00 - 2023/04/08 12:00:00
    • 2023/04/08 12:00:00 - 2023/04/08 12:09:06

    List Price

    List price on the official website = Usage x Unit price

    The ECS was used for 3,054 seconds in the first period, and the unit price can be obtained on the ECS Pricing Details page. For example, if the unit price is $0.0866 USD/hour, the list price for the first period = (3054 ÷ 3600) x 0.0866 = $0.07346567 USD. Similarly, you can calculate the ECS list price for the other periods.

    Discounted Amount

    Discounts offered for cloud services, for example, commercial discounts, partner authorized discounts, and promotional discounts. It is the discounted amount based on the list price.

    Truncated Amount

    Huawei Cloud billing is calculated to the 8th decimal place. However, the amount due is truncated to the 2nd decimal place. The third and later decimal places are referred to as the truncated amounts.

    Take the first period as an example. The truncated amount is $0.00046567 USD.

    Amount Due

    Amount due = List price – Discount amount – Truncated amount

    Take the first period as an example. If the discount amount is 0, the amount due is $0.073 USD (0.07346567 – 0 – 0.00046567).

  • ECS expenditure details

    Expenditure details can be displayed in multiple ways. By default, the bill details of a resource are displayed by usage and by billing cycle. Table 2 illustrates the ECS bill details, which can be used to check against the actual usage.

    Table 2 ECS expenditure details

    Service Type

    ECS

    Resource Type

    ECS

    Billing Mode

    Pay-per-Use

    Resource Name/ID

    ECS name and ID

    Example: ecs-8e89, 5770765b-f1ee-40ba-ba7e-0f01a093e8ee

    Specifications

    ECS specifications

    Example: c6.large.2, 2 vCPUs | 4 GiB memory

    Usage Type

    Duration for a pay-per-use ECS

    Unit Price

    When pay-per-use billing is used, the unit price is only provided if the amount is equal to the usage multiplied by the unit price. No unit price is provided in other pricing modes, for example, tiered pricing.

    You can search for the unit price for pay-per-use ECSs on the ECS Pricing Details page.

    Unit

    Displayed on the ECS Pricing Details page.

    Example: USD/hour

    Usage

    Depends on the unit of the unit price, which, for an ECS, is USD/hour. ECS usage is billed by the hour. Example: 2 hours (from 10:09:06 on April 8, 2023 to 12:09:06 on April 8, 2023)

    Usage Unit

    Hour

    List Price

    List price on the official website = Usage x Unit price

    The ECS is used for 2 hours in total, and the unit price is obtained on the ECS Pricing Details page. For example, if the unit price is $0.0866 USD/hour, the list price = 2 x 0.0866 = $0.1732 USD.

    Discounted Amount

    Discounts offered for cloud services, for example, commercial discounts, partner authorized discounts, and promotional discounts. It is the discounted amount based on the list price.

    Amount Due

    Amount that should be paid for used cloud services after discounts are applied.