InvoiceLineDetail
One line of the invoice, and why it did or did not reach a tenant. Present on every breakdown response, so an invoice that splits cleanly and one that attributes to nobody are read the same way.
- amountType: integer · Amount Cents
_cents requiredThis line's amount in the smallest currency unit. Negative for credits and discounts applied as their own line.
- descriptionType: string · Descriptionnullable
Stripe's description for the line, as it appears on the PDF
- periodType: string · Period EndFormat: date-timenullable
_end End of the period this line covers (UTC)
- periodType: string · Period StartFormat: date-timenullable
_start Start of the period this line covers (UTC)
- quantityType: integer · Quantitynullable
Units billed on this line, e.g. seats
- tenantType: string · Tenant Entity Idnullable
_entity _id The tenant this line was attributed to, or null when it landed in unallocated_cents. Exactly one of this and unallocated_reason is ever set.
- unallocatedType: string · Unallocated Reasonenumnullable
_reason Why this line is not attributed to a tenant.
no_subscription_item— not tied to a subscription item; one-off charges, credits and inline tax genuinely have no tenant, but metered usage and overage lines also land here and often name a tenant in their description.unmapped_subscription_item— tied to one, but no license on your account holds that item. Null when attributed, so exactly one of this and tenant_entity_id is ever set.values- no
_subscription _item - unmapped
_subscription _item