Mengambil ikhtisar tagihan untuk suatu akun dalam siklus penagihan tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:DescribeBillList |
get |
*全部资源
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BillingCycle |
string |
Yes |
Siklus penagihan dalam format |
2018-07 |
| ProductCode |
string |
No |
Kode produk. |
rds |
| ProductType |
string |
No |
Jenis produk. |
rds |
| SubscriptionType |
string |
No |
Metode penagihan. Nilai yang valid:
|
Subscription |
| BillOwnerId |
integer |
No |
ID akun pemilik resource. Ini mengacu pada akun yang menggunakan resource tersebut. |
1234 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Kode status. |
Success |
| Message |
string |
Pesan respons. |
Successful! |
| RequestId |
string |
ID permintaan. |
BCB1E1BC-05BF-4217-80EE-BF09A29407BA |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil atau tidak. |
true |
| Data |
object |
Data respons. |
|
| BillingCycle |
string |
Siklus penagihan dalam format YYYY-MM. |
2020-03 |
| AccountID |
string |
ID akun. |
185766xxxx |
| AccountName |
string |
Nama akun. |
test@test.aliyunid.com |
| Items |
object |
||
| Item |
array<object> |
Rincian tagihan. |
|
|
object |
|||
| RoundDownDiscount |
string |
Diskon pembulatan ke bawah. |
0 |
| Item |
string |
Jenis tagihan. Nilai yang valid:
|
PayAsYouGoBill |
| Currency |
string |
Mata uang. Nilai yang valid:
|
CNY |
| SubscriptionType |
string |
Jenis langganan. Nilai yang valid:
|
Subscription |
| BillAccountName |
string |
Nama akun tagihan. |
test@test.aliyunid.com |
| BizType |
string |
Jenis bisnis. |
trusteeship |
| DeductedByCoupons |
number |
Jumlah yang dikurangkan oleh kupon. |
0 |
| OutstandingAmount |
number |
Jumlah yang belum dibayar, termasuk pembayaran tertunda dan jumlah yang diselesaikan dengan menggunakan batas kredit. |
0 |
| AfterTaxAmount |
number |
||
| PretaxAmountLocal |
number |
||
| Tax |
number |
||
| PipCode |
string |
Kode produk, yang sama dengan kode yang ditampilkan pada tagihan di Billing Management. |
rds |
| PretaxAmount |
number |
Jumlah sebelum pajak. |
100 |
| ProductName |
string |
Nama produk. |
NAT Gateway |
| CommodityCode |
string |
Kode komoditas, yang sama dengan kode yang ditampilkan untuk detail produk di Billing Management. |
rds |
| AdjustAmount |
number |
Jumlah yang dibayarkan menggunakan kredit pengembalian dana. |
0 |
| ProductDetail |
string |
Detail produk. |
NAT Gateway (Pay-As-You-Go) |
| PaymentCurrency |
string |
||
| OwnerID |
string |
ID pemilik tagihan. |
1222 |
| ProductType |
string |
Jenis produk. |
rds |
| InvoiceDiscount |
number |
Jumlah diskon. |
0 |
| PaymentAmount |
number |
Jumlah pembayaran, termasuk jumlah yang dibayarkan menggunakan kredit pengembalian dana. |
100 |
| BillAccountID |
string |
ID akun tagihan. |
185766xxxx |
| PretaxGrossAmount |
number |
Jumlah asli. |
100 |
| CashAmount |
number |
Jumlah yang dibayarkan secara tunai. Ini tidak termasuk jumlah yang dibayarkan menggunakan kredit pengembalian dana. |
0 |
| ProductCode |
string |
Kode produk. |
rds |
Contoh
Respons sukses
JSONformat
{
"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",
"BillAccountName": "test@test.aliyunid.com",
"BizType": "trusteeship",
"DeductedByCoupons": 0,
"OutstandingAmount": 0,
"AfterTaxAmount": 0,
"PretaxAmountLocal": 0,
"Tax": 0,
"PipCode": "rds",
"PretaxAmount": 100,
"ProductName": "NAT Gateway",
"CommodityCode": "rds",
"AdjustAmount": 0,
"ProductDetail": "NAT Gateway (Pay-As-You-Go)",
"PaymentCurrency": "",
"OwnerID": "1222",
"ProductType": "rds",
"InvoiceDiscount": 0,
"PaymentAmount": 100,
"BillAccountID": "185766xxxx",
"PretaxGrossAmount": 100,
"CashAmount": 0,
"ProductCode": "rds"
}
]
}
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.