QuerySplitItemBill - 查询分账账单
查询分账账单。分账账单API已升级,请使用新版API:DescribeSplitItemBill。
接口说明
分账账单 API 已升级,请使用新版 API: DescribeSplitItemBill 。此 API 不再提供 50000 行以后数据的查询。
与费用中心-分账账单账期数据一致
分账账单提供 12 月内账期数据查询
本数据需要用户在控制台分账账单页面开通后才可提供
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
bssapi:QuerySplitItemBill |
get |
*全部资源
|
bssapi:ProductCode
bssapi:ProductType
|
无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
BillingCycle |
string |
是 |
账单日期,YYYY-MM。 |
2020-03 |
ProductCode |
string |
否 |
产品代码。 |
rds |
ProductType |
string |
否 |
产品类型。 |
rds |
SubscriptionType |
string |
否 |
订阅类型。取值: Subscription:预付费。 PayAsYouGo:后付费。 说明:必须和 ProductCode 参数一起使用。 |
PayAsYouGo |
PageNum |
integer |
否 |
页码,默认值为 1。 |
1 |
PageSize |
integer |
否 |
每页数量,默认值:20,最大值:300。 |
20 |
BillOwnerId |
integer |
否 |
资源归属账号的 ID,资源归属账号是实际使用资源的账号。 |
123 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
Code |
string |
状态码。 |
Success |
Message |
string |
错误信息。 |
Successful! |
RequestId |
string |
请求 ID。 |
79EE7556-0CFD-44EB-9CD6-B3B526E3A85F |
Success |
boolean |
是否成功。 |
true |
Data |
object |
返回数据 |
|
PageNum |
integer |
页码,默认值为 1。 |
1 |
BillingCycle |
string |
账单日期,格式:YYYY-MM。 |
2020-03 |
AccountID |
string |
账号 ID。 |
185xxxx3489 |
PageSize |
integer |
每页数量,默认值:20,最大值:300。 |
20 |
TotalCount |
integer |
总记录数。 |
2 |
AccountName |
string |
用户账号。 |
test@test.aliyunid.com |
Items |
object |
||
Item |
array<object> |
账单详情。 |
|
object |
|||
SplitAccountID |
string |
分拆项所属账号 AccountID。 |
122 |
SubscriptionType |
string |
订阅类型,取值: Subscription:预付费。 PayAsYouGo:后付费。 说明:必须和 ProductCode 参数一起使用。 |
PayAsYouGo |
InstanceSpec |
string |
实例规格。 |
ecs.sn1ne.3xlarge |
DeductedByCoupons |
number |
优惠券优惠金额。 |
0 |
Region |
string |
地域。 |
cn-hangzhou |
OutstandingAmount |
number |
未结清金额。 |
0 |
PipCode |
string |
产品 Code,与费用中心账单产品 Code 一致 |
rds |
CommodityCode |
string |
商品 Code,与费用中心产品明细 Code 一致 |
rds |
NickName |
string |
实例昵称。 |
test |
ProductDetail |
string |
产品明细。 |
云数据库RDS |
Usage |
string |
用量, 仅当 isBillingItem 为 true 时有效。 |
100 |
IntranetIP |
string |
内网 IP。 |
192.xx.xx.xx |
UsageUnit |
string |
用量单位, 仅当 isBillingItem 为 true 时有效。 |
GB |
SplitCommodityCode |
string |
分拆项商品 Code。 |
rds |
ProductType |
string |
产品类型。 |
rds |
DeductedByResourcePackage |
string |
资源包抵扣。 |
NULL |
PaymentAmount |
number |
现金支付。 |
0 |
SplitBillingCycle |
string |
分账月。 |
2020-06 |
ServicePeriod |
string |
服务周期。 |
10 |
SplitItemName |
string |
分拆项名称。 |
iZ28bycvyb4Z |
ListPrice |
string |
单价, 仅当 isBillingItem 为 true 时有效。 |
100 |
Zone |
string |
可用区。 |
cn-hangzhou-h |
PretaxGrossAmount |
number |
原始金额。 |
0 |
CashAmount |
number |
现金支付(不包含信用额度退款抵扣)。 |
0 |
InstanceConfig |
string |
实例详细配置。 |
CPU:12 |
BillingDate |
string |
账单日期,格式 YYYY-MM-DD。 |
2020-01-20 |
InternetIP |
string |
公网 IP。 |
34.xx.x.x |
Item |
string |
账单类型: SubscriptionOrder (预付订单)。 PayAsYouGoBill (后付账单)。 Refund (退款)。 Adjustment (调账)。 |
PayAsYouGoBill |
SplitItemID |
string |
分拆项 ID。 |
i-28bycvyb4 |
InstanceID |
string |
实例 ID。 |
i-kjhdskjgshfdlkjfdh |
Tag |
string |
标签。 |
tag |
Currency |
string |
币种,取值: CNY。 USD。 JPY。 |
CNY |
DeductedByCashCoupons |
number |
代金券抵扣。 |
0 |
BillingItem |
string |
计费项。 |
其他 |
CostUnit |
string |
财务单元。 |
未分配 |
ListPriceUnit |
string |
单价单位, 仅当 isBillingItem 为 true 时有效。 |
元 |
ResourceGroup |
string |
资源组。 |
默认资源组 |
PretaxAmount |
number |
应付金额。 |
0 |
ServicePeriodUnit |
string |
服务时长单位。 |
秒 |
ProductName |
string |
产品名称。 |
云数据库RDS |
SplitProductDetail |
string |
分拆项产品明细名称。 |
rds |
AdjustAmount |
number |
信用额度退款抵扣。 |
0 |
OwnerID |
string |
子账号 AccountID(多账号代付场景)。 |
169***013 |
DeductedByPrepaidCard |
number |
储值卡抵扣。 |
0 |
InvoiceDiscount |
number |
优惠金额。 |
0 |
SplitAccountName |
string |
分拆项所属账号名称。 |
12@test.com |
BillingType |
string |
计费方式。 |
其它 |
ProductCode |
string |
产品代码。 |
rds |
示例
正常返回示例
JSON
格式
{
"Code": "Success",
"Message": "Successful!",
"RequestId": "79EE7556-0CFD-44EB-9CD6-B3B526E3A85F",
"Success": true,
"Data": {
"PageNum": 1,
"BillingCycle": "2020-03",
"AccountID": "185xxxx3489",
"PageSize": 20,
"TotalCount": 2,
"AccountName": "test@test.aliyunid.com",
"Items": {
"Item": [
{
"SplitAccountID": "122",
"SubscriptionType": "PayAsYouGo",
"InstanceSpec": "ecs.sn1ne.3xlarge",
"DeductedByCoupons": 0,
"Region": "cn-hangzhou",
"OutstandingAmount": 0,
"PipCode": "rds",
"CommodityCode": "rds",
"NickName": "test",
"ProductDetail": "云数据库RDS",
"Usage": "100",
"IntranetIP": "192.xx.xx.xx",
"UsageUnit": "GB",
"SplitCommodityCode": "rds",
"ProductType": "rds",
"DeductedByResourcePackage": "NULL",
"PaymentAmount": 0,
"SplitBillingCycle": "2020-06",
"ServicePeriod": "10",
"SplitItemName": "iZ28bycvyb4Z",
"ListPrice": "100",
"Zone": "cn-hangzhou-h",
"PretaxGrossAmount": 0,
"CashAmount": 0,
"InstanceConfig": "CPU:12",
"BillingDate": "2020-01-20",
"InternetIP": "34.xx.x.x",
"Item": "PayAsYouGoBill",
"SplitItemID": "i-28bycvyb4",
"InstanceID": "i-kjhdskjgshfdlkjfdh",
"Tag": "tag",
"Currency": "CNY",
"DeductedByCashCoupons": 0,
"BillingItem": "其他",
"CostUnit": "未分配",
"ListPriceUnit": "元",
"ResourceGroup": "默认资源组",
"PretaxAmount": 0,
"ServicePeriodUnit": "秒",
"ProductName": "云数据库RDS",
"SplitProductDetail": "rds",
"AdjustAmount": 0,
"OwnerID": "169***013",
"DeductedByPrepaidCard": 0,
"InvoiceDiscount": 0,
"SplitAccountName": "12@test.com",
"BillingType": "其它",
"ProductCode": "rds"
}
]
}
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。