OptionalamountAmount in the smallest currency unit (e.g. cents). Mutually exclusive with priceId.
OptionalcurrencyISO currency code (required with amount)
Customer the item is billed to
OptionaldescriptionArbitrary description shown on the line item
OptionalidempotencyIdempotency key (defaults to a generated UUID)
OptionalinvoiceAttach to a specific draft invoice. When omitted, the item is pending and is drawn onto the customer's next invoice.
OptionalmetadataKey/value metadata attached to the invoice item
OptionalpriceExisting Price to bill. Mutually exclusive with amount.
OptionalquantityQuantity (used with priceId)
Options for adding an invoice item.
Provide either
amount(+currency) for an ad-hoc charge, orpriceIdto bill an existing Price.