Appendix
Updated at:2025-10-27
Definition of model object
ResourceMonthInstanceBill
| Parameter name | Types | Description |
|---|---|---|
| vendor | String | Supplier name: Default to Baidu AI Cloud |
| accountId | String | The ID of the account to which the bill belongs |
| serviceType | String | Product name |
| serviceTypeName | String | The Chinese name of the product |
| productType | String | Bill type: Prepay/postpay |
| region | String | Region |
| instanceId | String | Resource ID |
| orderId | String | Prepay field - Resource purchase order ID |
| orderType | String | Prepay field - Order type |
| orderTypeDesc | String | Prepay field - Order type (Chinese) |
| orderPurchaseTime | String | Prepay field - Order payment time, UTC time |
| startTime | String | Order creation time (prepay) / resource bill start time (postpay), UTC time |
| endTime | String | Resource bill end time (postpay), UTC time |
| configurationCH | String | Product Chinese configuration |
| tag | String | Resource tag information |
| duration | String | Prepay service duration |
| chargeItem | String | Postpay billing item name (English) |
| chargeItemDesc | String | Postpay billing item name (Chinese) |
| amount | String | Usage quantity |
| amountUnit | String | Usage unit |
| discountAmount | String | Discounted usage quantity |
| unitPrice | String | Product unit price |
| pricingUnit | String | Price unit |
| discountUnit | String | Discount rate: If multiple discounts apply, separate them with "/" |
| tex | BigDecimal | Tax rate |
| catalogPrice | BigDecimal | Original price |
| originPrice | BigDecimal | Bill amount |
| financePrice | BigDecimal | Need-pay amount |
| cash | BigDecimal | Cash payment amount |
| rebate | BigDecimal | Rebate payment amount |
| creditCost | BigDecimal | Unpaid credit period amount |
| creditRefund | BigDecimal | Credit refund amount |
| debt | BigDecimal | Arrears amount |
| noPaidPrice | BigDecimal | Nopaid amount |
| couponPrice | BigDecimal | Coupon paid |
| discountCouponPrice | BigDecimal | Discount coupon amount |
| discountPrice | BigDecimal | Discount amount |
| sysGold | BigDecimal | Write-off amount |
ResourceChargeItemBill
| Parameter name | Types | Description |
|---|---|---|
| vendor | String | Supplier name: Default to Baidu AI Cloud |
| serviceType | String | Product name |
| serviceTypeName | String | The Chinese name of the product |
| productType | String | Bill type: Prepay/postpay; currently only postpay is supported |
| region | String | Region |
| instanceId | String | Resource long ID |
| shortId | String | Resource short ID |
| startTime | String | Billing item bill start time (postpay), UTC time |
| endTime | String | Charge item bill end time (postpay), UTC time |
| configurationCH | String | Product Chinese configuration |
| chargeItem | String | Postpay billing item name (English) |
| chargeItemDesc | String | Postpay billing item name (Chinese) |
| amount | String | Usage quantity |
| amountUnit | String | Usage unit |
| discountAmount | String | Discounted usage quantity |
| unitPrice | String | Product unit price |
| pricingUnit | String | Price unit |
| catalogPrice | BigDecimal | Original price |
| originPrice | BigDecimal | Bill amount |
| financePrice | BigDecimal | Need-pay amount |
| couponPrice | BigDecimal | Coupon paid |
| discountCouponPrice | BigDecimal | Discount coupon amount |
| discountPrice | BigDecimal | Discount amount |
| cashEquivalentCouponPrice | BigDecimal | Cash discount coupon amount |
| sysGold | BigDecimal | Write-off amount |
Notes:
- For fields of string type with no actual value, the default value is "/".
- To align with the logic of [Enterprise Organizational Financial Management](Reference/Enterprise Organization/Financial Management.md), when a sub-account added to the financial group queries the details of resource monthly bills independently, all amount fields (except coupon paid and discount coupon amount) are defaulted to 0.
- Formulas related to amounts:
Need-pay amount = Cash payment amount + Rebate payment amount + Unpaid credit period amount + Credit refund amount + Arrears amount
Nopaid amount = Coupon deduction amount + Discount coupon deduction amount + Discount amount + Write-off amount
Bill amount = Need-pay amount + Nopaid amount`
