Updated on 2024-01-23 GMT+08:00

Bills

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

A pay-per-use DRS task is billed by the hour, day, or month, depending on the DRS task's usage type. The DRS task 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 DRS task (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 DRS task 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 and choose Databases > Data Replication Service.
  4. On the task management page, copy the task 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 task 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.

Scenario Example: Checking the Consistency of the Actual Usage and Billed Usage

Assume that a user started a pay-per-use single-AZ synchronization task from MySQL to MySQL with the medium specifications at 16:03:02 on July 20, 2023 and stopped it later that day, at 18:53:52.

  • DRS transaction records

    Pay-per-use DRS task 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 DRS replication server as an example).

    Table 1 DRS transaction records

    Service Type

    Data Replication Service (DRS)

    Resource Type

    DRS Replication Server

    Billing Mode

    Pay-per-use

    Expenditure Time

    For the period of time from 16:03:02 to 18:53:52 on July 20, 2023, 3 transaction records would be generated for the resource usage in the following periods:

    • 2023/07/20 16:03:02 ~ 2023/07/20 17:00:00
    • 2023/07/20 17:00:00 ~ 2023/07/20 18:00:00
    • 2023/07/20 18:00:00 ~ 2023/07/20 18:53:52

    List Price

    List price on the official website = Usage x Unit price

    The DRS resource was used for 3,418 seconds in the first period, and the unit price can be obtained on the DRS Price Calculator page. The list price for the first period = (3,418 ÷ 3,600) x 0.35 = $0.33230556 USD. Similarly, you can calculate the resource 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.00230556 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.33 USD (0.33230556 - 0 - 0.00230556).

  • DRS 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 DRS task bill details, which can be used to check against the actual usage (taking DRS replication server as an example).

    Table 2 DRS bill details

    Service Type

    Data Replication Service (DRS)

    Resource Type

    DRS Replication Server

    Billing Mode

    Pay-per-use

    Resource Name/ID

    Specifies DRS task name and ID.

    Specifications

    Medium (y2y)

    Usage Type

    Duration for a pay-per-use DRS task

    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 DRS tasks on the DRS Price Calculator page.

    Unit

    Displayed on the DRS Price Calculator page. Example: USD/hour

    Usage

    Depends on the unit of the unit price, which is USD/hour. Usage is billed by the hour. Example: 2.8472222222 hours.

    Usage Unit

    Hour

    List Price

    List price on the official website = Usage x Unit price

    The DRS task is used for 2.8472222222 hours in total, and the unit price is obtained on the DRS Price Calculator page. The list price = 2.8472222222 x 0.35 = $0.99652777777 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.