Why Is My Payable Amount Calculated Using Total Usage (Pricing Unit) Slightly Different from That Displayed in the Bill?
The Total Usage (Pricing Unit) field on the Bills page displays the usage in the pricing unit.
The Total Usage (Pricing Unit) value is equal to Total Usage divided by Conversion Factor and will be truncated to a maximum of 10 decimal places.
Take a resource billed by duration as an example. If the usage is displayed in second but priced in hour, the conversion factor is 3600. In this case, the Total Usage (Pricing Unit) value will be 0.0002777777 (1/3600) after being truncated.
Take a pay-per-use resource as an example. The formula of using Total Usage (Pricing Unit) to calculate the payable amount is as follows:
- Resources with the linear size:
- List price = (Total usage/Conversion factor) x Unit price x Linear size
- Payable amount = (Total usage/Conversion factor) x Unit price x Linear size – Discounted amount
You can view the linear size in the specifications of the cloud service product. For example, the linear size for an EVS (Common IO|1000 GB) is 1000 GB.
A 1-GB EVS is priced at $0.00006400 USD per hour. If you purchased a 1000-GB EVS in the pay-per-use mode without any discount and used it for 25,874 seconds, the unbilled payable amount is (25874/3600) x 0.00006400 x 1000 = 7.1872222222 x 0.00006400 x 1000 = 0.45998222. The actual payable amount on the bill is rounded off to two decimal places, that is, $0.46 USD.
- Resources without the linear size:
- List price = (Total usage/Conversion factor) x Unit price
- Payable amount = (Total usage/Conversion factor) x Unit price – Discounted amount
For such cloud service products, the linear size is not carried in their specifications. For example, there is no linear size for an ECS (General computing|s3.4xlarge.2|16vCPUs|32GB|linux).
An ECS (General computing|s3.4xlarge.2|16vCPUs|32GB|linux) is priced at $0.04650000 USD per hour. If you purchased such an ECS in the pay-per-use mode without any discount and used it for 25874 seconds, the unbilled payable amount is (25874/3600) x 0.04650000 = 7.1872222222 x 0.04650000 = 0.33420583. The actual payable amount on the bill is rounded off to two decimal places, that is, $0.33 USD.
The payable amount displayed on the page is calculated using Total Usage and Usage Unit. To ensure the data accuracy, Huawei Cloud usually uses relatively high precision for the usage unit, for example, second.
When the payable amount is calculated using Total Usage (Pricing Unit), truncation may be incurred during the usage conversion. As a result, there may be a slight difference between the the payable amount calculated using Total Usage (Pricing Unit) and that displayed in the bill.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.