The list of tiers applicable for this line item.

Note: If consolidated invoicing is enabled, the attribute subscription_id is unavailable when the invoice has line items from multiple subscriptions. The individual subscription IDs are seen under line_items.subscription_id.

Columns

No match found

invoice_id string, not null
Foreign Key invoices.id
The unique ID of the invoice this table belongs to.

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.

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.

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.

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.