Consulte la vue d'ensemble de la facture d'un utilisateur pour un cycle de facturation spécifique.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
bss:DescribeBillList |
get |
*All Resource
|
|
Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| BillingCycle |
string |
Oui |
La date de facturation au format AAAA-MM. |
2018-07 |
| ProductCode |
string |
Non |
Le code du produit. |
rds |
| ProductType |
string |
Non |
Le type de produit. |
rds |
| SubscriptionType |
string |
Non |
Le type d'abonnement. Valeurs valides :
|
Subscription |
| BillOwnerId |
integer |
Non |
L'identifiant du compte propriétaire de la ressource. Le compte propriétaire de la ressource est le compte qui utilise réellement la ressource. |
1234 |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| Code |
string |
Le code d'état. |
Success |
| Message |
string |
Le message d'erreur. |
Successful! |
| RequestId |
string |
L'identifiant de la requête. |
BCB1E1BC-05BF-4217-80EE-BF09A29407BA |
| Success |
boolean |
Indique si la requête a réussi. |
true |
| Data |
object |
Les données renvoyées. |
|
| BillingCycle |
string |
Le cycle de facturation au format AAAA-MM. |
2020-03 |
| AccountID |
string |
L'identifiant du compte. |
185766xxxx |
| AccountName |
string |
Le nom du compte. |
test@test.aliyunid.com |
| Items |
object |
||
| Item |
array<object> |
The bill details. |
|
|
object |
|||
| RoundDownDiscount |
string |
The round-down discount. |
0 |
| Item |
string |
The bill type. Valid values:
|
PayAsYouGoBill |
| Currency |
string |
The currency. Valid values:
|
CNY |
| SubscriptionType |
string |
The subscription type. Valid values:
|
Subscription |
| BillAccountName |
string |
The name of the account to which the bill belongs. |
test@test.aliyunid.com |
| BizType |
string |
The business type. |
trusteeship |
| DeductedByCoupons |
number |
The amount deducted by coupons. |
0 |
| OutstandingAmount |
number |
The outstanding amount or credit settlement amount. This is the overdue payment for regular users or the credit limit consumption for credit customers. |
0 |
| AfterTaxAmount |
number |
Le montant après taxes dans la devise locale. |
0 |
| PretaxAmountLocal |
number |
Le montant après remises dans la devise locale. |
0 |
| Tax |
number |
Le montant de la taxe dans la devise locale. |
0 |
| PipCode |
string |
The product code, which is the same as the product code in User Center bills. |
rds |
| PretaxAmount |
number |
The payable amount. |
100 |
| ProductName |
string |
The product name. |
NAT Gateway |
| CommodityCode |
string |
The commodity code, which is the same as the product detail code in User Center. |
rds |
| AdjustAmount |
number |
The amount deducted by credit refunds. |
0 |
| ProductDetail |
string |
The product details. |
NAT Gateway (Pay-As-You-Go) |
| PaymentCurrency |
string |
La devise utilisée pour le paiement. |
USD |
| OwnerID |
string |
The owner ID of the bill. |
1222 |
| ProductType |
string |
The product type. |
rds |
| InvoiceDiscount |
number |
The discount amount. |
0 |
| PaymentAmount |
number |
The cash payment amount, including credit refund deductions. |
100 |
| BillAccountID |
string |
The ID of the account to which the bill belongs. |
185766xxxx |
| PretaxGrossAmount |
number |
The original amount. |
100 |
| CashAmount |
number |
The cash payment amount, excluding credit refund deductions. |
0 |
| ProductCode |
string |
The product code. |
rds |
Exemples
JSON format
{
"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": "USD",
"OwnerID": "1222",
"ProductType": "rds",
"InvoiceDiscount": 0,
"PaymentAmount": 100,
"BillAccountID": "185766xxxx",
"PretaxGrossAmount": 100,
"CashAmount": 0,
"ProductCode": "rds"
}
]
}
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.