API Version
Product Catalog
Library
When the operation_type of a quote is onetime_invoice, the quoted_charges resource contains the details of the invoice that is eventually created once the quote is invoiced. It is always returned along with the quote.

Sample quoted charge [ JSON ]

{ "object": "quoted_charge", "invoice_items": [ { "item_price_id": "charge-USD", "quantity": 1, "quantity_in_decimal": "1", "unit_price": 10000, "unit_price_in_decimal": "100.00", "service_period_days": 11, "object": "item_price" } ], "charges": [ { "amount": 2100, "amount_in_decimal": "21.00", "description": "Initial Hardware", "object": "charge", "service_period_in_days": 11 } ] }

API Index URL GET

https://{site}.chargebee.com/api/v2/quoted_charges

Model Class

optional, list of charge
Provides details of all the ad-hoc charges added to the quote.
invoice_items
Show attributes [+]
optional, list of item_price
Details of individual item prices that are part of this subscription
optional, list of item_tier
The pricing details of subscription_items which have pricing_model as tiered, volume or stairstep. Learn more about pricing models.
optional, list of coupon
List of coupons for this charge
optional, list of discount
List of discounts for the charges in this quote.
coupon_applicability_mappings
Show attributes [+]
optional, list of coupon_applicability_mapping

This is a list of the event types we currently support. We will continue to add more events moving forward. All events follow a uniform pattern - <resource>_<event_name>. The resources that will be present in the event content are provided beneath each event type's description.

Note: If consolidated invoicing is enabled, the attributes invoice.subscription_id and credit_note.subscription_id should not be used (as it will not be present if the invoice / credit note has lines from multiple subscriptions). Instead to know the related subscriptions, their line_items' subscription_id attribute should be referred.

charges
optional, list of charge
Provides details of all the ad-hoc charges added to the quote.
invoice_items
optional, list of item_price
Details of individual item prices that are part of this subscription
item_tiers
optional, list of item_tier
The pricing details of subscription_items which have pricing_model as tiered, volume or stairstep. Learn more about pricing models.
coupons
optional, list of coupon
List of coupons for this charge
discounts
optional, list of discount
List of discounts for the charges in this quote.
coupon_applicability_mappings
optional, list of coupon_applicability_mapping