credit_note_id string, not null
The unique ID of the credit note for this record.
ending_unit null
The upper limit of a range of units for the tier.
ending_unit_in_decimal string, null
The decimal representation of the highest value of quantity in this tier. This attribute is not applicable for the highest tier. For all other tiers, it must be equal to the starting_unit_in_decimal
of the next higher tier. Returned only when the line_items.pricing_model
is tiered
, volume
, or stairstep
and multi-decimal pricing is enabled.
line_item_id string, null
Uniquely identifies a line item.
quantity_used not null
The number of units purchased in a range.
quantity_used_in_decimal string, null
The decimal representation of the quantity purchased from this tier. Returned when the line_item
is quantity-based and multi-decimal pricing is enabled.
starting_unit not null
The lower limit of a range of units for the tier.
starting_unit_in_decimal string, null
The decimal representation of the lowest value of quantity in this tier. This is zero for the lowest tier. For all other tiers, it is the same as ending_unit_in_decimal
of the next lower tier. Returned only when the line_items.pricing_model
is tiered
, volume
, or stairstep
and multi-decimal pricing is enabled.
unit_amount long, not null
The price of the tier if the charge model is stairstep
pricing, or the price of each unit in the tier if the charge model is tiered
or volume
pricing.
unit_amount_in_decimal string, null
The decimal representation of the per-unit price for the tier when the pricing_model
is tiered
or volume
. When the pricing_model
is stairstep
, it is the decimal representation of the total price for the line_item
. The value is in major units of the currency. Returned when the line_item
is quantity-based and multi-decimal pricing is enabled.