查詢使用者某個賬期內的賬單總覽資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
bss:DescribeBillList |
get |
*全部資源
|
|
無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| BillingCycle |
string |
是 |
賬單日期,YYYY-MM。 |
2018-07 |
| ProductCode |
string |
否 |
產品代碼。 |
rds |
| ProductType |
string |
否 |
產品類型。 |
rds |
| SubscriptionType |
string |
否 |
訂閱類型:
|
Subscription |
| BillOwnerId |
integer |
否 |
資源歸屬帳號的 ID,資源歸屬帳號是實際使用資源的帳號。 |
1234 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
string |
狀態代碼。 |
Success |
| Message |
string |
錯誤資訊。 |
Successful! |
| RequestId |
string |
請求 ID。 |
BCB1E1BC-05BF-4217-80EE-BF09A29407BA |
| Success |
boolean |
是否成功。 |
true |
| Data |
object |
返回資料。 |
|
| BillingCycle |
string |
賬期,格式:YYYY-MM。 |
2020-03 |
| AccountID |
string |
帳號 ID。 |
185766xxxx |
| AccountName |
string |
帳號。 |
test@test.aliyunid.com |
| Items |
object |
||
| Item |
array<object> |
賬單詳情。 |
|
|
object |
|||
| RoundDownDiscount |
string |
抹零優惠。 |
0 |
| Item |
string |
賬單類型,取值:
|
PayAsYouGoBill |
| Currency |
string |
幣種,取值:
|
CNY |
| SubscriptionType |
string |
訂閱類型,取值:
|
Subscription |
| DeductedByCashCoupons |
number |
代金券抵扣。 |
0 |
| BillAccountName |
string |
賬單所屬帳號名稱。 |
test@test.aliyunid.com |
| BizType |
string |
業務類型。 |
trusteeship |
| DeductedByCoupons |
number |
優惠券抵扣。 |
0 |
| OutstandingAmount |
number |
未結清金額或信用結算金額(普通使用者的欠費, 或者信用客戶信用額度消耗)。 |
0 |
| PipCode |
string |
產品 Code,與費用中心賬單產品 Code 一致 |
rds |
| PretaxAmount |
number |
應付金額。 |
100 |
| ProductName |
string |
產品名稱。 |
Nat網關 |
| CommodityCode |
string |
商品 Code,與費用中心產品明細 Code 一致 |
rds |
| AdjustAmount |
number |
信用額度退款抵扣。 |
0 |
| ProductDetail |
string |
產品明細。 |
NAT Gateway (Pay-As-You-Go) |
| OwnerID |
string |
賬單 OwnerID。 |
1222 |
| DeductedByPrepaidCard |
number |
儲值卡抵扣。 |
0 |
| ProductType |
string |
產品類型。 |
rds |
| InvoiceDiscount |
number |
優惠金額。 |
0 |
| PaymentAmount |
number |
現金支付(含信用額度退款抵扣)。 |
100 |
| BillAccountID |
string |
賬單所屬帳號 ID。 |
185766xxxx |
| PretaxGrossAmount |
number |
原始金額。 |
100 |
| CashAmount |
number |
現金支付(不包含信用額度退款抵扣)。 |
0 |
| ProductCode |
string |
產品代碼。 |
rds |
樣本
正常返回樣本
JSON格式
{
"Code": "Success",
"Message": "Successful!",
"RequestId": "BCB1E1BC-05BF-4217-80EE-BF09A29407BA",
"Success": true,
"Data": {
"BillingCycle": "2020-03",
"AccountID": "185766xxxx",
"AccountName": "test@test.aliyunid.com",
"Items": {
"Item": [
{
"RoundDownDiscount": "0",
"Item": "PayAsYouGoBill",
"Currency": "CNY",
"SubscriptionType": "Subscription",
"DeductedByCashCoupons": 0,
"BillAccountName": "test@test.aliyunid.com",
"BizType": "trusteeship",
"DeductedByCoupons": 0,
"OutstandingAmount": 0,
"PipCode": "rds",
"PretaxAmount": 100,
"ProductName": "Nat網關",
"CommodityCode": "rds",
"AdjustAmount": 0,
"ProductDetail": "NAT Gateway (Pay-As-You-Go)",
"OwnerID": "1222",
"DeductedByPrepaidCard": 0,
"ProductType": "rds",
"InvoiceDiscount": 0,
"PaymentAmount": 100,
"BillAccountID": "185766xxxx",
"PretaxGrossAmount": 100,
"CashAmount": 0,
"ProductCode": "rds"
}
]
}
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。