Updated on 2023-09-12 GMT+08:00

Bills

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

Bill Generation

Transaction records for yearly/monthly subscriptions are generated immediately after being paid for.

A pay-per-use DB instance is billed by the hour, day, or month, depending on the instance's usage type. The DB instance usage is billed by the hour. For details, see Bill Run for Pay-per-Use Resources

You are not charged immediately after a record is generated. For example, if a pay-per-use DB instance (which is billed on an hourly basis) is deleted at 08:30, you will still have expenditures for the 08:00 to 09:00 hour. However, but you will not likely be billed for the 08:00 to 09:00 hour until about 10:00. On the Billing page of the Billing Center, select the Expenditure Details tab. Expenditure Time in the bill indicates the time when the pay-per-use DB instance is used.

Viewing Bills of a Specific Resource

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, copy the instance name.
  5. On the top menu bar, choose Billing & Costs > Bills.
  6. On the Expenditure Details tab, select Resource Name as the filter criteria, enter the obtained instance name, and click the icon.

    Figure 1 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 DB instance at 10:37:19 on August 08, 2023 and deleted it later that day, at 12:47:11.

  • Transaction Records

    Pay-per-use DB instance usage is calculated by the second but billed on an hourly basis. You can check the transaction records against the actual usage. The billed resources are billed separately. For details, see Table 1 (taking storage as an example).

    Table 1 DB instance transaction records

    Service Type

    RDS

    Specifications

    Primary/standby storage | cloud SSD | 40 GB

    Billing Mode

    Pay-per-use

    Expenditure Time

    For the period of time from 10:37:19 to 12:47:11, 3 transaction records would be generated for the resource usage in the following periods:

    • 2023/08/08 10:37:19 - 2023/08/08 11:00:00
    • 2023/08/08 11:00:00 - 2023/08/08 12:00:00
    • 2023/08/08 12:00:00 - 2023/08/08 12:47:11

    List Price

    List price on the official website = Usage x Unit price x Capacity

    The DB instance was used for 1,361 seconds in the first period, and the storage unit price can be obtained on the RDS Pricing Details page. The list price for the first period = (1,361 ÷ 3,600) x 0.0008 x 40 = $0.01209777 USD. Similarly, you can calculate the storage 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.00209777 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.01 USD (0.01209777 - 0 - 0.00209777).

  • DB instance bill details

    Bill details can display in multiple ways. By default, the bill details of a resource are displayed by usage and by billing cycle. Table 2 illustrates the DB instance bill details, which can be used to check against the actual usage (taking storage as an example).

    Table 2 DB instance bill details

    Service Type

    RDS

    Resource Type

    DB instance

    Billing Mode

    Pay-per-use

    Resource Name/ID

    Instance name/ID

    Specifications

    Primary/standby storage | cloud SSD | 40 GB

    Usage Type

    Duration for a pay-per-use DB instance

    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 DB instances on the RDS Pricing Details page.

    Unit

    Displayed on the RDS Pricing Details page.

    Example: USD/GB/hour

    Usage

    Depends on the unit of the unit price, which is USD/GB/hour. Storage usage is billed by the hour. Example: 2.1644444444 hours

    Usage Unit

    Hour

    List Price

    List price on the official website = Usage x Unit price x Capacity

    The DB instance was used for 2.1644444444 hours in total, and the storage unit price can be obtained on the RDS Pricing Details page. The list price = 2.1644444444 x 0.0008 x 40 = $0.06926222 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.