Domain name for API request: billing.intl.tencentcloudapi.com.
This API is used to get bill download URLs for L0, L1, L2, and L3 bills and bill packs.
A maximum of 20 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: DescribeBillDownloadUrl. |
| Version | Yes | String | Common Params. The value used for this API: 2018-07-09. |
| Region | No | String | Common Params. This parameter is not required. |
| FileType | Yes | String | Billing mode. Enumeration values billOverview=L0-PDF Bill Bill Summary=L1-Summary Bill billResource=L2-Resource bill billDetail=L3-Detailed Bill billPack |
| Month | Yes | String | Billing month Earliest start month supported is 2021-01 L0-PDF&bill package does not support download for the current month. Please download the monthly bill after billing on the 1st of next month at 19:00. |
| ChildUin.N | No | Array of String | Downloaded account ID list. By default, the query returns the account statement of the current account. If the group management account needs to download the self-pay bills of member accounts, enter the member account UIN in this field. |
| Parameter Name | Type | Description |
|---|---|---|
| Ready | Integer | Whether the bill file is ready. 0: file generating, 1: file generated |
| DownloadUrl | String | Billing file download link, valid for 1 day Note: This field may return null, indicating that no valid values can be obtained. |
| 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 get bill download URLs.
POST / HTTP/1.1
Host: billing.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillDownloadUrl
<Common request parameters>
{
"FileType": "billPack",
"Month": "2023-08"
}
{
"Response": {
"DownloadUrl": "http://xxxxxxxxxxxxxxxxx",
"Ready": 1,
"RequestId": "3efd37d8-68aa-4bfc-8f8c-f8a0197f9931"
}
}
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 |
|---|---|
| InternalError | Internal error. |
| InternalError.GatewayError | Gateway error. |
| InvalidParameter | Invalid parameter. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários