All Documents
Partner CenterPartner Center
-
User Guide
- Overview
- HCPN Overview and Common Operations
- Joining HCPN
- Joining the Partner Program
- Partner Account Management
- Partner Benefit Request
- Partner Training and Certification Guide
-
Solution Partners
- Transaction Models
- Sales Management
-
Customer Business
-
Customer Management
- Querying Customers
- Setting Monthly Budgets for Customers
- Freezing a Customer Account
- Managing Customer Association Relationships
- Setting Discounts for Customers
- Viewing a Customer's Resources
- Placing Orders on Customers' Behalf
- Performing Resource O&M for Customers
- Assigning an Account Manager for a Customer
- Customer Development
- Business Opportunities
- Customer Expenditures
- Assigning Customers to an Account Manager
- Customer Order Management
-
Customer Management
- Financial Information
- Operation Statistics
- Huawei Cloud Partner Service Provider
-
Resellers of Huawei Cloud Partner Service Provider
- Transaction Model
- Accepting the Huawei Cloud Partner Service Provider Cooperation Invitation
- Account Management
- Customer Business
- Operations Dashboard
- Operations of Sub-customers of Solution Partners
- Help and Feedback
- Viewing the Document Library
- Appendix
- Change History
-
Developer Guide
- Change History
- Development Scenario Introduction (Reseller Model)
- Access Configuration
- (Optional) Customizing HUAWEI CLOUD Management Console
- Product Management
- Customer Management
- Transaction Management
- Cloud Service Resource Management
- Bill Management
- Invoice Management
- Managing Service Tickets
- Appendix
-
API Reference
- Change History
- Partner Operation Capability API (Reseller Model)
- API Invoking Methods
- Product Management
- Customer Management
-
Transaction Management
- Managing Customers' Budgets
- Coupons Management
- Managing Yearly/Monthly Orders
-
Managing Yearly/Monthly Resources
- Querying Customer's Yearly/Monthly Resources
- Renewing Subscription to Yearly/Monthly Resources
- Unsubscribing from Yearly/Monthly Resources
- Enabling Automatic Subscription Renewal for Yearly/Monthly Resources
- Disabling Automatic Subscription Renewal for Yearly/Monthly Resources
- Enabling/Canceling the Change from Yearly/Monthly to Pay-per-Use upon Expiration
- Managing Resource Packages
- Managing Pay-Per-Use Resources
- Bill Management
- Invoice Management
- Managing Service Tickets
-
API to Be Brought Offline
- Product Management
- Customer Management
- Transaction Management
- Bill Management
- Appendix
-
Appendix
- Switching to the HUAWEI CLOUD Page and Binding the HUAWEI CLOUD Account
- How Do I Obtain the xaccountType Value?
- How Can I Replace a Partner Token with a Customer Token
- File Subscription
- How Do I Upload the Attachment for Real-Name Authentication?
- Support for Discounts or Coupons
- Status Code
- Error Codes
-
FAQs
- Overview
-
HUAWEI CLOUD Partner Network
- What Is a Partner Program?
- What Is a Partner Program Tier?
- What Are the Benefits for a Partner Program Tier?
- What Is the Requirements of a Partner Program Tier?
- How Do I Choose Between the HUAWEI CLOUD Partner Network (HCPN) Consulting Partner and Technology Partner?
- What Are the Differences Between HCPN Partners and Solution Partners?
- How Do I Meet the Revenue Requirements When Applying for Joining HCPN Without any Revenue for the First Time?
- How Is the Revenue of a Technology Partner Measured and Where Does the Revenue Come from?
- How Do Partners Receive Training and Take Exams?
- How Can I Obtain HCIA-Cloud Service Exam Vouchers and HCIP-Cloud Service Solutions Architect Exam Vouchers?
- Can I Start from a Premier Partner Directly?
- Are There Any Special Policies for Partners Won Back from Competitors?
- How Can I Apply to Become a Strategic Partner?
- Is Real-Name Authentication Required for Becoming a Partner?
- Does a Partner Need to Bind a Credit Card During the Application Process?
-
Solution Partners
-
Partner Policies
- What Is the Solution Partner Program?
- What Are the Requirements for Joining the Solution Partner Program?
- What Are the Benefits of Joining the Solution Partner Program?
- What Is the Solution Partner Revenue? How Do I Calculate the Revenue?
- What Are Solution Partner Incentives?
- Are Cloud Resources Used by Solution Partners Themselves Included in the Sales Revenue?
- Is the Consumption Using Coupons Issued by HUAWEI CLOUD Included in Sales Revenue?
- Is Customers' Consumption for New Resources Differentiated from That for Renewal in Partners' Revenue?
- How Can Partners Apply for Additional POC Test Coupons?
- How Are Incentive Earnings Distributed?
- How Long Is the Validity Period of the Referral and Reseller Models?
- What Is the Transaction Mode for the Referral and Reseller Model?
- How Do Partners Set Discounts for Customers?
- What Does the Account Information, Amount Due, and Account Balance of the Partner Center Mean?
- Does a Solution Partner Need Product Authorization to Sell HUAWEI CLOUD Products and Services?
- Does Each Country Has One HUAWEI CLOUD Partner Policy Designed?
- Do Solution Partners Need to Make Payment to HUAWEI CLOUD in Advance for Overstock?
- Does a Partner Need to Provide Services for Customers Associated in the Referral Model?
- Does HUAWEI CLOUD Set Budgets for Partners? What Is the Relationship Between This Function and Budget Setting by Partners for Reseller Customers?
-
Registration and Authentication
- How Do Organization Members Created by a Partner Change Their Passwords?
- How Do I View My Partner Qualification Information?
- How Do I Become a HUAWEI CLOUD Solution Partner?
- If I Want to Become a Solution Partner, What Do I Do When I Am Prompted to Bind a Credit Card During Account Registration?
- How Do I Join the HCPN Solution Partner Program When I Already Have My HUAWEI CLOUD Account Bound with a Credit Card?
- How Do I Join HCPN Solution Partner Program When My Account Has Purchased HUAWEI CLOUD Services?
- Why Can't I Purchase HUAWEI CLOUD Services Using My Solution Partner Account?
- How Does a Solution Partner Try HUAWEI CLOUD Services?
- How Do I Join the Technology Partner Program as a Solution Partner?
- Can I Try HUAWEI CLOUD Services After I Join the Technology Partner Program?
- What Can I Do If I Reject the Partner Certification Application in the CBC System by Misoperation?
- Can a Partner Account Be Deregistered?
- Can I Associate My Solution Partner Account with My Technology Partner Account?
- Can a Partner Registered in Country A Register as a HUAWEI CLOUD Solution Partner in Country B?
- Why Cannot I Bind a Credit Card to My Account If I Want to Become a Solution Partner?
- Can I Bind a Bank Card of Country B to an Account Registered in Country A?
- When Do I Need to Renew My Partner Program Certificates and How Do I Renew Them?
-
Association and Disassociation
- What Are the Precautions for Associating a Customer with a Partner?
- How Can I Change the Association Type for My Customers?
- How Does a Partner Send Invitation Links?
- How Does a Partner Create a QR Code for Developing Customers?
- Can Partners Pre-register a Project?
- What Can I Do If I Fail to Pre-register a Customer? If I Pre-register a Customer Successfully, Is the Customer Successfully Associated with Me?
- Do HUAWEI CLOUD Solution Partners Need to Pre-Register Customer Projects When Developing Customers?
- What Should I Enter for HUAWEI CLOUD BD When I Register an Opportunity?
- Consumption Quota
-
Business Information Authentication
- What Is the Relationship Between the Country/Region Specified When the Partner Account Is Registered and the Registered Country/Region of the Partner Legal Entity? Can They Be Different?
- Can I Enter My Company Name in a Language Other Than Chinese or English During Business Information Certification?
- Do All Solution Partners Need Business Information Certification?
- What Are the Differences Between Solution Partner Certification and Payment Information Authentication?
- How Can I Choose the Tax Rate for Payment Information Authentication in the HUAWEI CLOUD Partner Center?
- What Should Partners Do If Payment Information Authentication Failed When Bank Information Is Correct?
- What Can I Do If the Bank Information Is Incorrect or Has Changed?
- Why Is the Associated Information Questionnaire Is Required During Accreditation?
- Why Is Payment Information Authentication Delayed?
- Can a Solution Partner Change Its Registration Country?
-
Incentive Settlement
- What Are Partner's Revenue and Incentives?
- When Does Huawei Start Reconciliation and Settle Incentives After Customers Purchase Cloud Services?
- Where Can I View My Incentive Data?
- What Are the Differences Between Incentives from Reseller Customers and Incentives from Referral Customers?
- How Can I Confirm My Incentives? How Do I Map the Data to the Policies That I Enjoy?
- How Does HUAWEI CLOUD Distribute (or Pay) the Incentive Earnings?
- When Do Partners Need to Issue Invoices to HUAWEI CLOUD?
- Why Cannot I View the Billing List Page?
- Where Do I Mail the Invoices? What Else Is Required in Addition to the Invoices?
- What Are the Incentive Invoice Requirements?
- What Is the Settlement Currency Used If I Choose Transfer to bank account?
- What Tax Should Be Deducted When the Incentives Are Paid?
- When Can I Get the Coupons When I Choose Exchange for cash coupons?
- When Can I Get the Incentive Earnings After I Mail the Invoices?
-
Discounts and Coupons
- Can a Partner Set Discounts for Customers? What Is the Discount Range?
- Can a Product Be Bought Using a Cash Coupon Alone?
- After a Customer Associates with a Partner, Can the Customer's Account Balance Still Be Used?
- What Is a Cash Coupon Quota and How Do I Use It?
- What Are the Cash Coupon Usage Rules and Can the Coupons Be Used Together with Commercial and Promotion Discounts?
- Can I Use Multiple Cash Coupons at a Time?
- Why Can't I Find My Cash Coupon Converted from My Historical Cash Coupon Quota?
- What Are Test Coupons?
- Are There Any Limits on Using Test Coupons and How Do I Use Test Coupons?
- Will Customer Resources Be Automatically Deleted After Test Coupons Are Used Up?
- Will I Fall Into Arrears After Test Coupons Are Used Up?
- Is the Consumption Generated by Test Coupons Counted into Partner Revenue?
- How Can I Request Test Coupons as a Solution Partner?
- How Can I Request Test Coupons as a Carrier Partner?
- Is There Any Limit on the Test Coupon Amount That Can Be Requested?
- Why Is My Cash Coupon Quota Missing? How Do I Use the New Cash Coupons?
-
Other
- How Does a Partner View Customers' Unsubscription Details?
- How Does a Partner Change the Account Name?
- How Do I Change a Mobile Number?
- How Do I Change an Email Address?
- How Do I Download a Partner Program Certificate, and How Can I View the Validity Period of the Certificate?
- Why I Fail to Receive a Verification Code When Registering a Partner Account?
- How Can I Configure Email and SMS Notifications for Specific Personnel to Send Financial Information to Them?
- How Does HUAWEI CLOUD Define the Payment Deadline for Partners?
- How Do I View and Download the HCPN Certification Agreement and the Huawei Cloud Solution Partner Cooperation Agreement?
- How Do I Pay Yearly/Monthly Products?
- What Are the Impacts If a Partner Revokes Its Reseller Customers' Permission to View Bills or Cost in the Billing Center?
- What Are the Statistical Rules of the Expenditure Dashboard?
- How Do I View the Expenditure Summary After the Expenditure Summary Module Has Been Moved from the Customer Expenditure Page to the Expenditures Page?
- What Are the Impacts of Bill Run Mechanism Adjustment on Partners?
- How Do I Create a Service Ticket?
- How Do I View the Service Ticket Processing Progress?
-
Partner Policies
-
Sub-customers of Solution Partners
- Where Can a Customer View the Invitations?
- What Is the Applicable Scope of Discounts Granted by Partners?
- How Do Customers View Their Associated Partners?
- When Will a Customer Be Notified After the Customer Is Associated with a Partner?
- Can Customers Place Orders on the HUAWEI CLOUD Official Website? Do Customers Need to Ask Their Partners to Do That for Them?
- How Long Is the Validity Period of an Invitation Link Sent by Partners?
- How Can a Customer View the Discounts Set by a Partner?
- What Should I Do If I Cannot Be Associated with a Partner?
- How Can a Customer Disassociate from a Partner?
- How Do Referral Customers Use the Discount Granted by the Partner?
- Can a Reseller Customer Purchase Pay-per-Use Products If Its Partner Sets the Budget to 0? Will This Incur Overdue Payment?
- Why Are My Cash Coupons Missing?
- Service Partners
- SaaS Partners
- Marketplace Partners
- AI Partners
-
Carrier Partners
- How Can Carrier Partners Join the Carrier Partner Program?
- How Can Carrier Partners Meet the Requirements for Strategic Consulting Partners?
- Does Each Carrier Partner Need to Sign Agreements in Addition to the HUAWEI CLOUD HCPN Standard Certification Agreement?
- How Can Carrier Partners Succeed with HCPN?
- What Support Can HUAWEI CLOUD Provide for Carrier Partners?
-
Partner Training and Certification
- Some Role-based Training Courses for Partners Are Unavailable. What Should I do?
- What Is the Relationship Between the Professional Accreditation Required in the Partner Program and the Partner's Role-based Training Courses?
- Where Are the Exams for Professional Accreditation Required in the Partner Program?
- Do I Have to Pass the Professional Accreditation Before the Career Certification?
- Should I Follow Certain Sequence in Career Certification?
- How Can I Participate in HUAWEI CLOUD Career Certification?
- Does the Certification Exam Incur Any Charges?
- How Can I Obtain Exam Coupons?
- Partner Market Development Fund
- Partner Brand Marketing
Querying Customer Resource Usage
Function
This API is used to query customer resource usage.

The resource usage data has a latency. Therefore, the data cannot be used when there are high requirements on data accuracy, such as for usage monitoring or budget control.
File
A partner can subscribe to the customer resource usage in HUAWEI CLOUD Partner Center to learn the resource usage of the customer. For details, see File Subscription.

The system generates the customer resource usage file containing the data generated till the previous day from 12:00 to 20:00 (GMT+8:00) (not later than 24:00) every day. Therefore, configure a schedule task in the partner sales platform to obtain the customer resource usage file at 24:00 every day.
- Link to obtain the file
https://bucketname.obs.Endpoint.myhuaweicloud.com/customerUsage/filename
Table 1 Parameter description Parameter
Description
bucketname
Name of the OBS bucket created by the partner. Only OBS buckets purchased on HUAWEI CLOUD in the Hong Kong region can be used. For details about how to create an OBS bucket, see Creating a Bucket.
Endpoint
Domain name or IP address of the server bearing the REST service endpoint. Obtain this value from Regions and Endpoints.
customerUsage
Name of the folder for storing the customer resource usage details uploaded by the system.
filename
File name.
The file name format is customerUsageV2_YYYYMM_YYYYMMDD.tar.gz.
- The file is a compressed package.
- YYYYMM indicates the month of the data to be exported. For example, if the data for February 2019 is exported, YYYYMM should be 201902.
- YYYYMMDD specifies the date when the customer resource usage data is exported. For example, if the file name is customerUsageV2_201902_20190301.tar.gz, the data generated from February 1, 2019 to February 28, 2019 is exported on March 1, 2019.
Files in the package are in the format of customerUsageV2_YYYYMM_YYYYMMDD_XXXXXXXX.csv. Each .csv file contains 100,000 records.
- Generation time of the resource usage details
The resource usage data is summarized by month. The monthly usage details contain incremental data starting from the first day of each month. The usage details may change after being generated. Therefore, obtain the latest data.
- The system generates the resource usage details from 12:00 to 20:00 (GMT+8:00) (not later than 24:00) every day.
- The usage details of each month are generated on the first day of the following month. For example, the usage details of July are generated on August 1.
- The month-to-date usage details of the current month and all usages details of the last month are generated on the second to fourth day of the current month. For example, the usage details of August 1 and August 2 and of July are generated on August 3.
- The usage details of this month are generated on the fifth day to the end of this month. For example, the usage details from August 1 to August 5 are generated on August 6.
- File fieldsFile: customerUsageV2_YYYYMM_YYYYMMDD_XXXXXXXX.csv
Parameter
Type
Maximum Length of Characters
Description
Billing Cycle
String
256
Billing cycle of the consumption record
Customer ID
String
256
Domain ID of a customer
Transaction Time
String
256
Transaction time in the format of UTC
Billing Mode
String
8
Billing mode. The options are as follows:
- 1: Yearly/monthly
- 3: Pay-per-use
- 10: Reserved instances
Bill Type
String
8
Bill type:
- 1: Expenditure - purchase
- 2: Expenditure - renewal
- 3: Expenditure - change
- 4: Refund - unsubscription
- 5: Expenditure - use
- 8: Expenditure - auto-renewal
- 9: Adjustment - compensation
- 12: Expenditure - hourly billing
- 13: Expenditure - unsubscription handling fee
- 14: Expenditure - month-end deduction for support plan
- 15: Expenditure - tax
- 16: Adjustment - deduction
- 17: Expenditure - difference amount (min. guaranteed-actual)NOTE:
Expenditure-difference amount (min. guaranteed-actual) determines the fees that a customer needs to pay if the customer does not reach the minimum expenditure limit stipulated in the signed contract. This rule is applicable to direct sales customers and referral customers who use postpaid method.
- 20: Refund - change
- 100: Refund - unsubscription tax
- 101: Adjustment - tax compensation
- 102: Adjustment - tax deduction
Resource ID
String
256
Resource instance ID If the resource is a reserved instance, the value is the reserved instance ID.
Resource Name
String
256
Resource name entered when a customer creates a resource instance.
NOTE:If the entered character strings are risky, such as {"=", "+", "-", "@"}, followed by non-pure numbers, then double quotation marks will be added for that field, one at the beginning of the field and the other at the end.
Resource Tag
String
11,000
Resource tag. Customers can set tags when managing resources.
If a customer purchases a resource package product that is not specific to a certain resource, this field is left empty.
NOTE:If the entered character strings are risky, such as {"=", "+", "-", "@"}, followed by non-pure numbers, then double quotation marks will be added for that field, one at the beginning of the field and the other at the end.
Service Type Code
String
64
Cloud service type code. For example, the cloud service type code of OBS is hws.service.type.obs. To obtain a specific service type, call the API in Querying Cloud Service Types.
Resource Type Code
String
100
Resource type code. For example, the VM resource type code of ECS is hws.resource.type.vm. To obtain a specific resource type, call the API in Querying Resource Types.
Product ID
String
256
Product ID.
Product Name
String
256
Product name
Specifications
String
256
Product specifications.
Example: General Computing|s2.small.1|1vCPUs|1GB|linux
Region Code
String
64
Cloud service region code, for example, ap-southeast-1. Obtain the value from the Region column in Regions and Endpoints.
Project ID
String
256
ID of the project to which a resource belongs. You can select a project when purchasing a resource.
Order ID/Transaction ID
String
256
Order ID generated when a customer places the order. This parameter is available only for yearly/monthly products. In other cases, this parameter is left empty.
Order Type
String
256
Order type. This parameter is available only for yearly/monthly products. This parameter is left empty in the following cases:
- 1: New purchase
- 2: Renewal
- 3: Change
- 4: Unsubscription
- 11: Pay-per-use to yearly/monthly
- 13: Trial
- 14: Commercial use
- 15: Price adjustment
Period Number
String
256
Duration of a yearly/monthly subscription.
NOTE:- This parameter is available only for yearly/monthly products. In other cases, this parameter is left empty.
- The value can be an integer, or a decimal.
Period Type
String
256
Period type for yearly/monthly products. This parameter is available only for yearly/monthly products. In other cases, this parameter is left empty.
- 0: Daily
- 2: Monthly
- 3: Yearly
- 4: Hourly
- 99: Unknown
Usage Type
String
256
Usage type, which can be obtained by calling the API described in Querying Usage Types.
Usage
String
256
Total resource usage
Usage Unit
String
256
Usage unit
To obtain the unit, call the API in Querying Measurement Units.
Package Usage
String
256
Used amount of the package. The used resources are not calculated using the pay-per-use price.
Unit (Package Usage)
String
256
Unit of the usage in the package
To obtain the unit, call the API in Querying Measurement Units.
Reserved Instance Usage
String
256
Used reserved instance. The used resources are not calculated using the pay-per-use price.
Unit (Reserved Instance Usage)
String
256
Usage unit for reserved instance
To obtain the unit, call the API in Querying Measurement Units.
Expenditure Amount
String
256
Transaction price listed on the HUAWEI CLOUD official website, excluding the commercial discount provided by HUAWEI CLOUD for partners
The unit is US Dollar.
NOTE:If HUAWEI CLOUD writes off the outstanding amount as required or refunds the over-deducted amount, a record with the negative amount will be generated.
Unit Price
String
256
Unit price of a pay-per-use product. This parameter has a value only when the price is the same. For tiered billing, this parameter is left empty.
Unit
String
256
Unit of the product.
- The unit of linear products is USD/{linear unit}/month or USD/{linear unit}/hour.
- The unit of non-linear products is USD/month or USD/hour.
NOTE:The linear unit is the unit of linear products (those come in sizes). For example, the linear unit of the hard disk is GB, and that of the bandwidth is Mbit/s.
For example, 0.6 USD/10,000 times. The unit price is 0.6, the price unit is dollar, and the step is 10,000 times. The unit price is 0.6 and the price unit is USD/10,000 times.
- File example
Billing Cycle,Customer ID,Transaction Time,Billing Mode,Bill Type,Resource ID,Resource Name,Resource Tag,Service Type Code,Resource Type Code,Product ID,Product Name,Specifications,Region Code,Project ID,Order ID/Transaction ID,Order Type,Period Number,Period Type,Usage Type,Usage,Usage Unit,Package Usage,Unit (Package Usage),Reserved Instance Usage,Unit (Reserved Instance Usage),Expenditure Amount,Unit Price,Unit
Apr-21,4FB84D6C27DB4C768B0940560C2AB2CE,2021-04-26 16:13:35 GMT+08:00,1,1,34ae3e78-d93e-4d46-9bc7-aa8532e44d18,FALSE,111,hws.service.type.ebs,hws.resource.type.volume,5797403154426640,GD3 linear EVS Monthly package,GD3 linear EVS Monthly package1,cn-north-1,ab7eb17368654ff4b1bb3c63c6a478e0,CS20012416121ADNL2,1,1,99,Duration-1,12312.125,1,123,3,120,1,8400,12312.123,1