有奖:语音产品征文挑战赛火热进行中> HOT

1. 接口描述

接口请求域名: billing.tencentcloudapi.com 。

查询分账账单月概览

默认接口请求频率限制:20次/秒。

推荐使用 API Explorer
点击调试
API Explorer 提供了在线调用、签名验证、SDK 代码生成和快速检索接口等能力。您可查看每次调用的请求内容和返回结果以及自动生成 SDK 调用示例。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数

参数名称 必选 类型 描述
Action String 公共参数,本接口取值:DescribeAllocationMonthOverview。
Version String 公共参数,本接口取值:2018-07-09。
Region String 公共参数,此参数为可选参数。
Month String 账单月份,格式为2024-02,不传默认当前月
示例值:2024-02

3. 输出参数

参数名称 类型 描述
Detail Array of AllocationOverviewNode 分账账单月概览详情
注意:此字段可能返回 null,表示取不到有效值。
Total AllocationOverviewTotal 分账账单概览金额汇总
注意:此字段可能返回 null,表示取不到有效值。
RequestId String 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 查询分账报表月概览

输入示例

POST / HTTP/1.1
Host: billing.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAllocationMonthOverview
<公共请求参数>

{
    "Month": "2022-11-01 00:00:00"
}

输出示例

{
    "Response": {
        "Detail": [
            {
                "Id": 616417,
                "Name": "集团",
                "TreeNodeUniqKey": "xxxx-63871c5ede811",
                "Symbol": 0,
                "Children": [
                    {
                        "Id": 835454,
                        "Name": "财务产品",
                        "TreeNodeUniqKey": "xxxx-6391da70528fb",
                        "Symbol": 0,
                        "Children": [
                            {
                                "Id": 835457,
                                "Name": "核算组",
                                "TreeNodeUniqKey": "xxxx-6391da9ae376c",
                                "Symbol": 1,
                                "Children": null,
                                "Detail": {
                                    "AllocateCashPayAmount": "0.00000000",
                                    "AllocateIncentivePayAmount": "0.00000000",
                                    "AllocateRealCost": "0.00000000",
                                    "AllocateTransferPayAmount": "0.00000000",
                                    "AllocateVoucherPayAmount": "0.00000000",
                                    "GatherCashPayAmount": "0.00000000",
                                    "GatherIncentivePayAmount": "0.00000000",
                                    "GatherRealCost": "0.00000000",
                                    "GatherTransferPayAmount": "0.00000000",
                                    "GatherVoucherPayAmount": "0.00000000",
                                    "RealTotalCost": "0.00000000",
                                    "TotalCashPayAmount": "0.00000000",
                                    "TotalIncentivePayAmount": "0.00000000",
                                    "TotalTransferPayAmount": "0.00000000",
                                    "TotalVoucherPayAmount": "0.00000000",
                                    "Ratio": "0.00",
                                    "Trend": null,
                                    "TrendType": "none"
                                }
                            },
                            {
                                "Id": 835458,
                                "Name": "核算组(新)",
                                "TreeNodeUniqKey": "xxxx-6391dab1d770f",
                                "Symbol": 2,
                                "Children": null,
                                "Detail": {
                                    "AllocateCashPayAmount": "0.00000000",
                                    "AllocateIncentivePayAmount": "0.00000000",
                                    "AllocateRealCost": "0.00000000",
                                    "AllocateTransferPayAmount": "0.00000000",
                                    "AllocateVoucherPayAmount": "0.00000000",
                                    "GatherCashPayAmount": "38.31000000",
                                    "GatherIncentivePayAmount": "0.00000000",
                                    "GatherRealCost": "38.31000000",
                                    "GatherTransferPayAmount": "0.00000000",
                                    "GatherVoucherPayAmount": "0.00000000",
                                    "RealTotalCost": "38.31000000",
                                    "TotalCashPayAmount": "0.00000000",
                                    "TotalIncentivePayAmount": "0.00000000",
                                    "TotalTransferPayAmount": "0.00000000",
                                    "TotalVoucherPayAmount": "0.00000000",
                                    "Ratio": "0.10",
                                    "Trend": null,
                                    "TrendType": "none"
                                }
                            },
                            {
                                "Id": 835459,
                                "Name": "资金组",
                                "TreeNodeUniqKey": "xxxx-6391dabf3a789",
                                "Symbol": 1,
                                "Children": null,
                                "Detail": {
                                    "AllocateCashPayAmount": "153.09000000",
                                    "AllocateIncentivePayAmount": "0.00000000",
                                    "AllocateRealCost": "154.70000000",
                                    "AllocateTransferPayAmount": "0.00000000",
                                    "AllocateVoucherPayAmount": "1.61000000",
                                    "GatherCashPayAmount": "191.03800000",
                                    "GatherIncentivePayAmount": "0.00000000",
                                    "GatherRealCost": "191.03800000",
                                    "GatherTransferPayAmount": "0.00000000",
                                    "GatherVoucherPayAmount": "0.00000000",
                                    "RealTotalCost": "345.73800000",
                                    "TotalCashPayAmount": "0.00000000",
                                    "TotalIncentivePayAmount": "0.00000000",
                                    "TotalTransferPayAmount": "0.00000000",
                                    "TotalVoucherPayAmount": "0.00000000",
                                    "Ratio": "0.94",
                                    "Trend": null,
                                    "TrendType": "none"
                                }
                            },
                            {
                                "Id": 835460,
                                "Name": "结算组",
                                "TreeNodeUniqKey": "xxxx-6391dac6c4f72",
                                "Symbol": 1,
                                "Children": null,
                                "Detail": {
                                    "AllocateCashPayAmount": "33.30600000",
                                    "AllocateIncentivePayAmount": "0.00000000",
                                    "AllocateRealCost": "33.57000000",
                                    "AllocateTransferPayAmount": "0.00000000",
                                    "AllocateVoucherPayAmount": "0.26400000",
                                    "GatherCashPayAmount": "71.34000000",
                                    "GatherIncentivePayAmount": "0.00000000",
                                    "GatherRealCost": "71.34000000",
                                    "GatherTransferPayAmount": "0.00000000",
                                    "GatherVoucherPayAmount": "0.00000000",
                                    "RealTotalCost": "104.91000000",
                                    "TotalCashPayAmount": "0.00000000",
                                    "TotalIncentivePayAmount": "0.00000000",
                                    "TotalTransferPayAmount": "0.00000000",
                                    "TotalVoucherPayAmount": "0.00000000",
                                    "Ratio": "0.28",
                                    "Trend": null,
                                    "TrendType": "none"
                                }
                            }
                        ],
                        "Detail": {
                            "AllocateCashPayAmount": "186.39600000",
                            "AllocateIncentivePayAmount": "0.00000000",
                            "AllocateRealCost": "188.27000000",
                            "AllocateTransferPayAmount": "0.00000000",
                            "AllocateVoucherPayAmount": "1.87400000",
                            "GatherCashPayAmount": "300.68800000",
                            "GatherIncentivePayAmount": "0.00000000",
                            "GatherRealCost": "300.68800000",
                            "GatherTransferPayAmount": "0.00000000",
                            "GatherVoucherPayAmount": "0.00000000",
                            "RealTotalCost": "488.95800000",
                            "TotalCashPayAmount": "0.00000000",
                            "TotalIncentivePayAmount": "0.00000000",
                            "TotalTransferPayAmount": "0.00000000",
                            "TotalVoucherPayAmount": "0.00000000",
                            "Ratio": "1.32",
                            "Trend": null,
                            "TrendType": "none"
                        }
                    },
                    {
                        "Id": 835455,
                        "Name": "营销产品",
                        "TreeNodeUniqKey": "xxxx-6391da78a09a4",
                        "Symbol": 0,
                        "Children": [
                            {
                                "Id": 835461,
                                "Name": "主数据组",
                                "TreeNodeUniqKey": "xxxx-6391dad853206",
                                "Symbol": 2,
                                "Children": null,
                                "Detail": {
                                    "AllocateCashPayAmount": "0.00000000",
                                    "AllocateIncentivePayAmount": "0.00000000",
                                    "AllocateRealCost": "0.00000000",
                                    "AllocateTransferPayAmount": "0.00000000",
                                    "AllocateVoucherPayAmount": "0.00000000",
                                    "GatherCashPayAmount": "295.95000000",
                                    "GatherIncentivePayAmount": "0.00000000",
                                    "GatherRealCost": "298.67000000",
                                    "GatherTransferPayAmount": "0.00000000",
                                    "GatherVoucherPayAmount": "2.72000000",
                                    "RealTotalCost": "298.67000000",
                                    "TotalCashPayAmount": "0.00000000",
                                    "TotalIncentivePayAmount": "0.00000000",
                                    "TotalTransferPayAmount": "0.00000000",
                                    "TotalVoucherPayAmount": "0.00000000",
                                    "Ratio": "0.81",
                                    "Trend": null,
                                    "TrendType": "none"
                                }
                            },
                            {
                                "Id": 835462,
                                "Name": "客户应用组",
                                "TreeNodeUniqKey": "xxxx-6391dae9802da",
                                "Symbol": 1,
                                "Children": null,
                                "Detail": {
                                    "AllocateCashPayAmount": "1047.14500000",
                                    "AllocateIncentivePayAmount": "0.00000000",
                                    "AllocateRealCost": "1047.14500000",
                                    "AllocateTransferPayAmount": "0.00000000",
                                    "AllocateVoucherPayAmount": "0.00000000",
                                    "GatherCashPayAmount": "54.32717665",
                                    "GatherIncentivePayAmount": "0.00000000",
                                    "GatherRealCost": "54.37717665",
                                    "GatherTransferPayAmount": "0.00000000",
                                    "GatherVoucherPayAmount": "0.05000000",
                                    "RealTotalCost": "1101.52217665",
                                    "TotalCashPayAmount": "0.00000000",
                                    "TotalIncentivePayAmount": "0.00000000",
                                    "TotalTransferPayAmount": "0.00000000",
                                    "TotalVoucherPayAmount": "0.00000000",
                                    "Ratio": "2.98",
                                    "Trend": null,
                                    "TrendType": "none"
                                }
                            }
                        ],
                        "Detail": {
                            "AllocateCashPayAmount": "1047.14500000",
                            "AllocateIncentivePayAmount": "0.00000000",
                            "AllocateRealCost": "1047.14500000",
                            "AllocateTransferPayAmount": "0.00000000",
                            "AllocateVoucherPayAmount": "0.00000000",
                            "GatherCashPayAmount": "350.27717665",
                            "GatherIncentivePayAmount": "0.00000000",
                            "GatherRealCost": "353.04717665",
                            "GatherTransferPayAmount": "0.00000000",
                            "GatherVoucherPayAmount": "2.77000000",
                            "RealTotalCost": "1400.19217665",
                            "TotalCashPayAmount": "0.00000000",
                            "TotalIncentivePayAmount": "0.00000000",
                            "TotalTransferPayAmount": "0.00000000",
                            "TotalVoucherPayAmount": "0.00000000",
                            "Ratio": "3.79",
                            "Trend": null,
                            "TrendType": "none"
                        }
                    },
                    {
                        "Id": 835456,
                        "Name": "数据产品",
                        "TreeNodeUniqKey": "xxxx-6391da8abb3c7",
                        "Symbol": 0,
                        "Children": [
                            {
                                "Id": 835467,
                                "Name": "数据产品-自动创建",
                                "TreeNodeUniqKey": "xxxx-63929e07089d0",
                                "Symbol": 1,
                                "Children": null,
                                "Detail": {
                                    "AllocateCashPayAmount": "1124.85900000",
                                    "AllocateIncentivePayAmount": "0.00000000",
                                    "AllocateRealCost": "1125.47500000",
                                    "AllocateTransferPayAmount": "0.00000000",
                                    "AllocateVoucherPayAmount": "0.61600000",
                                    "GatherCashPayAmount": "13.31482335",
                                    "GatherIncentivePayAmount": "0.00000000",
                                    "GatherRealCost": "13.31482335",
                                    "GatherTransferPayAmount": "0.00000000",
                                    "GatherVoucherPayAmount": "0.00000000",
                                    "RealTotalCost": "1138.78982335",
                                    "TotalCashPayAmount": "0.00000000",
                                    "TotalIncentivePayAmount": "0.00000000",
                                    "TotalTransferPayAmount": "0.00000000",
                                    "TotalVoucherPayAmount": "0.00000000",
                                    "Ratio": "3.08",
                                    "Trend": null,
                                    "TrendType": "none"
                                }
                            },
                            {
                                "Id": 835468,
                                "Name": "1",
                                "TreeNodeUniqKey": "xxxx-63929e0706e81",
                                "Symbol": 0,
                                "Children": null,
                                "Detail": {
                                    "AllocateCashPayAmount": "0.00000000",
                                    "AllocateIncentivePayAmount": "0.00000000",
                                    "AllocateRealCost": "0.00000000",
                                    "AllocateTransferPayAmount": "0.00000000",
                                    "AllocateVoucherPayAmount": "0.00000000",
                                    "GatherCashPayAmount": "0.00000000",
                                    "GatherIncentivePayAmount": "0.00000000",
                                    "GatherRealCost": "0.00000000",
                                    "GatherTransferPayAmount": "0.00000000",
                                    "GatherVoucherPayAmount": "0.00000000",
                                    "RealTotalCost": "0.00000000",
                                    "TotalCashPayAmount": "0.00000000",
                                    "TotalIncentivePayAmount": "0.00000000",
                                    "TotalTransferPayAmount": "0.00000000",
                                    "TotalVoucherPayAmount": "0.00000000",
                                    "Ratio": "0.00",
                                    "Trend": null,
                                    "TrendType": "none"
                                }
                            }
                        ],
                        "Detail": {
                            "AllocateCashPayAmount": "1124.85900000",
                            "AllocateIncentivePayAmount": "0.00000000",
                            "AllocateRealCost": "1125.47500000",
                            "AllocateTransferPayAmount": "0.00000000",
                            "AllocateVoucherPayAmount": "0.61600000",
                            "GatherCashPayAmount": "13.31482335",
                            "GatherIncentivePayAmount": "0.00000000",
                            "GatherRealCost": "13.31482335",
                            "GatherTransferPayAmount": "0.00000000",
                            "GatherVoucherPayAmount": "0.00000000",
                            "RealTotalCost": "1138.78982335",
                            "TotalCashPayAmount": "0.00000000",
                            "TotalIncentivePayAmount": "0.00000000",
                            "TotalTransferPayAmount": "0.00000000",
                            "TotalVoucherPayAmount": "0.00000000",
                            "Ratio": "3.08",
                            "Trend": null,
                            "TrendType": "none"
                        }
                    }
                ],
                "Detail": {
                    "AllocateCashPayAmount": "2358.40000000",
                    "AllocateIncentivePayAmount": "0.00000000",
                    "AllocateRealCost": "2360.89000000",
                    "AllocateTransferPayAmount": "0.00000000",
                    "AllocateVoucherPayAmount": "2.49000000",
                    "GatherCashPayAmount": "664.28000000",
                    "GatherIncentivePayAmount": "0.00000000",
                    "GatherRealCost": "667.05000000",
                    "GatherTransferPayAmount": "0.00000000",
                    "GatherVoucherPayAmount": "2.77000000",
                    "RealTotalCost": "3027.94000000",
                    "TotalCashPayAmount": "0.00000000",
                    "TotalIncentivePayAmount": "0.00000000",
                    "TotalTransferPayAmount": "0.00000000",
                    "TotalVoucherPayAmount": "0.00000000",
                    "Ratio": "8.20",
                    "Trend": "0.00",
                    "TrendType": "upward"
                }
            },
            {
                "Id": null,
                "Name": "未分配",
                "TreeNodeUniqKey": "",
                "Symbol": 0,
                "Children": null,
                "Detail": {
                    "AllocateCashPayAmount": "0.00000000",
                    "AllocateIncentivePayAmount": "0.00000000",
                    "AllocateRealCost": "0.00000000",
                    "AllocateTransferPayAmount": "0.00000000",
                    "AllocateVoucherPayAmount": "0.00000000",
                    "GatherCashPayAmount": "33882.13000000",
                    "GatherIncentivePayAmount": "0.00000000",
                    "GatherRealCost": "33888.87000000",
                    "GatherTransferPayAmount": "0.00000000",
                    "GatherVoucherPayAmount": "6.74000000",
                    "RealTotalCost": "33888.87000000",
                    "TotalCashPayAmount": "0.00000000",
                    "TotalIncentivePayAmount": "0.00000000",
                    "TotalTransferPayAmount": "0.00000000",
                    "TotalVoucherPayAmount": "0.00000000",
                    "Ratio": "91.80",
                    "Trend": "5096.05",
                    "TrendType": "upward"
                }
            }
        ],
        "Total": {
            "RealTotalCost": "36916.81000000",
            "CashPayAmount": "36904.81000000",
            "IncentivePayAmount": "0.00000000",
            "VoucherPayAmount": "12.00000000",
            "TransferPayAmount": "0.00000000"
        },
        "RequestId": "xxxx"
    }
}

5. 开发者资源

腾讯云 API 平台

腾讯云 API 平台 是综合 API 文档、错误码、API Explorer 及 SDK 等资源的统一查询平台,方便您从同一入口查询及使用腾讯云提供的所有 API 服务。

API Inspector

用户可通过 API Inspector 查看控制台每一步操作关联的 API 调用情况,并自动生成各语言版本的 API 代码,也可前往 API Explorer 进行在线调试。

SDK

云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。

命令行工具

6. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码

错误码 描述
InvalidParameter 参数错误。