Domain name for API request: intlpartnersmgt.intl.tencentcloudapi.com.
Description: External API for L1 billing of Sub-customer billing center.
Callable role: End-customer.
A maximum of 1 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeBillSummary. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-28. |
Region | No | String | Common Params. This parameter is not required. |
Month | Yes | String | The month to which the bill belongs, formatted as YYYY-MM. |
GroupType | Yes | String | Billing dimension. Optional parameters: product, project, tag |
TagKey.N | No | Array of String | Tag value list |
Parameter Name | Type | Description |
---|---|---|
SummaryDetail | Array of SummaryDetails | Detailed summary by billing dimension. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to perform API statistics on the L1 bill of the sub-customer billing center by tag dimension.
POST / HTTP/1.1
Host: intlpartnersmgt.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
<Common request parameters>
{
"Month": "2023-10",
"GroupType": "tag",
"TagKey": [
"dev_tag_key"
]
}
{
"Response": {
"SummaryDetail": [
{
"Business": [
{
"BusinessCodeName": "CVM Dedicated Host",
"BusinessCode": "p_cdh",
"OriginalCost": "12.11",
"VoucherPayAmount": "1.1",
"RICost": "0.1",
"TotalCost": "12.1"
}
],
"OriginalCost": "12.1",
"VoucherPayAmount": "1.1",
"RICost": "1.1",
"TotalCost": "2.2",
"GroupKey": "dev_tag_key",
"GroupValue": "default"
}
],
"RequestId": "abc123"
}
}
This example shows you how to perform API statistics on the L1 bill of the sub-customer billing center by project dimension.
POST / HTTP/1.1
Host: intlpartnersmgt.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
<Common request parameters>
{
"Month": "2023-10",
"GroupType": "project"
}
{
"Response": {
"SummaryDetail": [
{
"Business": [
{
"BusinessCodeName": "cloud block storage",
"BusinessCode": "p_cbs",
"OriginalCost": "148.40000000",
"VoucherPayAmount": "129.70000000",
"RICost": "0.00000000",
"TotalCost": "18.70000000"
}
],
"OriginalCost": "148.40000000",
"VoucherPayAmount": "129.70000000",
"RICost": "0.00000000",
"TotalCost": "18.70000000",
"GroupKey": "0",
"GroupValue": "default"
}
],
"RequestId": "abc123"
}
}
This example shows you how to perform API statistics on the L1 bill of the sub-customer billing center by product dimension.
POST / HTTP/1.1
Host: intlpartnersmgt.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
<Common request parameters>
{
"Month": "2023-10",
"GroupType": "product"
}
{
"Response": {
"SummaryDetail": [
{
"Business": [],
"OriginalCost": "148.40000000",
"VoucherPayAmount": "129.70000000",
"RICost": "0.00000000",
"TotalCost": "18.70000000",
"GroupKey": "p_cbs",
"GroupValue": "cloud block storage"
}
],
"RequestId": "abc123"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
AuthFailure | CAM signature/authentication error. |
FailedOperation | Operation failed. |
InternalError | Internal error. |
InvalidParameter | Invalid parameter |
InvalidParameterValue.InvalidDimension | The dimension data entered is incorrect. |
InvalidParameterValue.InvalidMonth | Incorrect month value |