Defines the object schema located at components.schemas.line_item in the specification.
Constructors
LineItemlineItemAmount :: Intamount: The amount, in %s.
lineItemAmountExcludingTax :: Maybe (Nullable Int)amount_excluding_tax: The integer amount in %s representing the amount for this line item, excluding all tax and discounts.
lineItemCurrency :: Textcurrency: Three-letter ISO currency code, in lowercase. Must be a supported currency.
lineItemDescription :: Maybe (Nullable Text)description: An arbitrary string attached to the object. Often useful for displaying to users.
Constraints:
Maximum length of 5000
lineItemDiscountAmounts :: Maybe (Nullable [DiscountsResourceDiscountAmount])discount_amounts: The amount of discount calculated per discount for this line item.
lineItemDiscountable :: Booldiscountable: If true, discounts will apply to this line item. Always false for prorations.
lineItemDiscounts :: Maybe (Nullable [LineItemDiscounts'NonNullableVariants])discounts: The discounts applied to the invoice line item. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.
lineItemId :: Textid: Unique identifier for the object.
Constraints:
Maximum length of 5000
lineItemInvoiceItem :: Maybe Textinvoice_item: The ID of the invoice item associated with this line item if any.
Constraints:
Maximum length of 5000
lineItemLivemode :: Boollivemode: Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
lineItemMetadata :: Objectmetadata: Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription` this will reflect the metadata of the subscription that caused the line item to be created.
lineItemPeriod :: InvoiceLineItemPeriodperiod:
lineItemPrice :: Maybe (Nullable LineItemPrice'NonNullable)price: The price of the line item.
lineItemProration :: Boolproration: Whether this is a proration.
lineItemProrationDetails :: Maybe (Nullable LineItemProrationDetails'NonNullable)proration_details: Additional details for proration line items
lineItemQuantity :: Maybe (Nullable Int)quantity: The quantity of the subscription, if the line item is a subscription or a proration.
lineItemSubscription :: Maybe (Nullable Text)subscription: The subscription that the invoice item pertains to, if any.
Constraints:
Maximum length of 5000
lineItemSubscriptionItem :: Maybe Textsubscription_item: The subscription item that generated this invoice item. Left empty if the line item is not an explicit result of a subscription.
Constraints:
Maximum length of 5000
lineItemTaxAmounts :: Maybe [InvoiceTaxAmount]tax_amounts: The amount of tax calculated per tax rate for this line item
lineItemTaxRates :: Maybe [TaxRate]tax_rates: The tax rates which apply to the line item.
lineItemType :: LineItemType'type: A string identifying the type of the source of this line item, either an `invoiceitem` or a `subscription`.
lineItemUnitAmountExcludingTax :: Maybe (Nullable Text)unit_amount_excluding_tax: The amount in %s representing the unit amount for this line item, excluding all tax and discounts.