InvoiceLine
Individual line item that contributes to the invoice total.
- amountType: integer · amountWithCurrencyPrecisionFormat: int64required
Line amount in the smallest currency unit.
- currencyType: stringrequired
ISO 4217 currency codes (alpha3) supported for payments
- descriptionType: stringrequired
Human-readable description of the line item.
- idType: stringmax length:100required
Unique identifier for the invoice line.
- invoiceType: stringmax length:100required
Invoice that contains this line.
- objectenumconst:invoice_line_itemrequired
String representing the object's type.
values- invoice
_line _item
- parentType: objectrequired
Resource that produced the invoice line.
- typeenumconst:subscription_item_detailsrequired
Resource type that produced the invoice line.
values- subscription
_item _details Line was generated from a subscription item.
- subscriptionType: object · InvoiceSubscriptionItemParentDetails nullable
_item _details Subscription item context for an invoice line.
- periodType: objectrequired
Billing period covered by this line item.
- endType: stringFormat: date-timerequired
End of the billing period covered by the invoice.
- startType: stringFormat: date-timerequired
Start of the billing period covered by the invoice.
- quantityType: integerFormat: int64required
Quantity billed for the line item.
- metadata
Merchant-defined metadata attached to this line item.
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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to
metadata.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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to
metadata.- propertyType: string
Name
- pricingType: object · InvoicePricingSnapshot nullable
Price and product snapshot used to calculate this line. Null when the line is not price-backed.
- priceType: stringmax length:100required
Price used for this invoice line.
- productType: stringmax length:100required
Product associated with the price.

