All Products
Search
Document Center

QueryBillOverview

Last Updated: Jun 18, 2019

API Name

QueryBillOverview

Overview

You can call this operation to query the monthly bill overview information in a specified billing cycle.

Request parameters

Name Type Required Description
BillingCycle String Yes The billing cycle. Format: YYYY-MM. Example: 2018-07
ProductCode String No The code of the specified product.
ProductType String No The type of the specified product.
SubscriptionType String No The type of billing method. Valid values: Subscription and PayAsYouGo.

Response parameters

Name Type Description
BillingCycle String The billing cycle. Format: YYYY-MM.
AccountID String Account unique ID
AccountName String Account name
Items Item The billing details of Alibaba Cloud services.

Item:

Name Type Description
Item String The type of bill. Valid values: SubscriptionOrder, PayAsYouGoBill, Refund, and Adjustment.
ProductCode String The code of the specified product.
ProductName String The name of the specified product.
ProductType String The type of the specified product.
ProductDetail String Product detail information
SubscriptionType String The type of billing method. Valid values: Subscription and PayAsYouGo.
PretaxGrossAmount Double The pretax gross amount.
InvoiceDiscount Double The invoice discount amount.
RoundDownDiscount Double RoundDownDiscount
DeductedByCoupons Double The amount deducted with coupons.
PretaxAmount Double The pretax amount, which is the total refunded amount when the system handles a refund request.
PaymentAmount Double The amount paid with cash.
OutstandingAmount Double The outstanding amount of a common user or the amount of credit used by a credit customer.
Currency String CNY/USD/JPY
PretaxAmountLocal Double Amount after discount(with local currency)
Tax Double Tax(with local currency)
PaymentCurrency String The amount with cash(with local currency)

Error codes

Sample requests

Sample responses