Mengambil ikhtisar tagihan akun untuk siklus penagihan tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:DescribeBillList |
get |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BillingCycle |
string |
Yes |
Siklus penagihan. Formatnya adalah YYYY-MM. |
2018-07 |
| ProductCode |
string |
No |
Kode produk. |
rds |
| ProductType |
string |
No |
Jenis produk. |
rds |
| SubscriptionType |
string |
No |
Jenis langganan. Nilai yang valid:
|
Subscription |
| BillOwnerId |
integer |
No |
ID akun yang menggunakan resource. |
1234 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|
||
| Code |
string |
Kode status. |
Success |
| Message |
string |
Pesan error. |
Successful! |
| RequestId |
string |
ID permintaan. |
BCB1E1BC-05BF-4217-80EE-BF09A29407BA |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Data |
object |
Data yang dikembalikan. |
|
| BillingCycle |
string |
Siklus penagihan. Formatnya adalah YYYY-MM. |
2020-03 |
| AccountID |
string |
ID akun. |
185766xxxx |
| AccountName |
string |
Nama akun. |
test@test.aliyunid.com |
| Items |
object |
|
|
| Item |
array<object> |
Detail tagihan. |
|
|
object |
|
||
| RoundDownDiscount |
string |
Jumlah diskon yang dibulatkan ke bawah. |
0 |
| Item |
string |
Metode penagihan. Nilai yang valid:
|
PayAsYouGoBill |
| Currency |
string |
Mata uang. Nilai yang valid:
|
CNY |
| SubscriptionType |
string |
Jenis langganan. Nilai yang valid:
|
Subscription |
| BillAccountName |
string |
Nama akun pemilik tagihan. |
test@test.aliyunid.com |
| BizType |
string |
Jenis bisnis. |
trusteeship |
| DeductedByCoupons |
number |
Jumlah yang dipotong oleh kupon. |
0 |
| OutstandingAmount |
number |
Jumlah yang belum diselesaikan atau jumlah yang diselesaikan dengan kredit. Ini bisa berupa pembayaran tertunda untuk pengguna reguler atau kredit yang dikonsumsi oleh pengguna berbasis kredit. |
0 |
| AfterTaxAmount |
number |
||
| PretaxAmountLocal |
number |
||
| Tax |
number |
||
| PipCode |
string |
Kode produk. Ini sama dengan kode produk pada tagihan di User Center. |
rds |
| PretaxAmount |
number |
Jumlah sebelum pajak. |
100 |
| ProductName |
string |
Nama produk. |
Nat网关 |
| CommodityCode |
string |
Kode komoditas. Ini sama dengan kode produk di User Center. |
rds |
| AdjustAmount |
number |
Jumlah yang dipotong dari pengembalian kredit. |
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 yang dibayar secara tunai. Ini termasuk jumlah yang dipotong dari pengembalian kredit. |
100 |
| BillAccountID |
string |
ID akun pemilik tagihan. |
185766xxxx |
| PretaxGrossAmount |
number |
Jumlah asli. |
100 |
| CashAmount |
number |
Jumlah yang dibayar secara tunai. Ini tidak termasuk jumlah yang dipotong dari pengembalian kredit. |
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网关",
"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.