Sales orders represent the contractual agreement and commitment for services between a seller and a buyer. They act as a seamless interface connecting any sales system (such as CPQ, CRM, or Customer Portal) with Chargebee Billing. The sales order captures the following essential components
{}charge_on_option option is set to on_event, this parameter specifies the event at which the charge-item is applied to the subscription. This parameter only applies to charge-items. active or non-renewing state. Also includes reactivations of canceled subscriptions.charge_on_event occurs. This parameter only applies to charge-items. state_code as AZ (not US-AZ). For Tamil Nadu (India), set as TN (not IN-TN). For British Columbia (Canada), set as BC (not CA-BC). Brexit
If you have enabled EU VAT in 2021 or later, or have manually enable the Brexit configuration, then XI (the code for United Kingdom - Northern Ireland) is available as an option.
type, amount, and currency_code of the discount. For example, it can be 10% off or 10$ off. sub_total.specific_item_priceThe discount is applied to the invoice.line_item.amount that corresponds to the item price specified by item_price_id.period and period_unit.discount.type is percentage. discount.type is fixed_amount. period_units. Applicable only when duration_type is limited_period. period. Applicable only when duration_type is limited_period. apply_on = specific_item_price. state_code as AZ (not US-AZ). For Tamil Nadu (India), set as TN (not IN-TN). For British Columbia (Canada), set as BC (not CA-BC). Brexit
If you have enabled EU VAT in 2021 or later, or have manually enable the Brexit configuration, then XI (the code for United Kingdom - Northern Ireland) is available as an option.
line_items which have pricing_model as tiered, volume or stairstep. Learn more about pricing models.pricing_model is tiered or volume. The total cost for the item price when the pricing_model is stairstep. The value is in the minor unit of the currency. pricing_type will be set to flat_fee by default. For example, if the flat fee for a tier is $100, the customer pays $100 whether they consume 1 unit or the maximum number of units within that tier.packageIndicates that the tier pricing is based on a package of units. Customers are charged for each block or package of units. For example, if the package size is 100 units and the cost per block is $20 consuming 400 units will result in a charge of $80 (4 × $20).package. Specify the number of units that make up one package. For example, if 1000 API hits are grouped into a single package, set the package size to 1000. Setting this attribute to true would invoice the overages for the metered item during subscription changes
renewal_billing_cycles.end_of_term_action for the new contract term is set to renew.line_items which have pricing_model as tiered, volume or stairstep. Learn more about pricing models.