PlatformSubscriptionInvoiceObject
An invoice issued by Stripe Billing against the Sessions platform subscription.
Fields
idID!numberStringStripe's human-readable invoice number (e.g. SES-0042), null while the invoice is still a draft.
totalInt!The full invoice amount in currency subunits — the canonical "what this invoice was for" number to display in lists. Mirrors Stripe's invoice.total, which stays stable after the invoice is paid (unlike amount_due, which drops to zero on payment).
amountDueInt!amountPaidInt!currencyString!ISO 4217 currency code, lowercase.
createdAtDateTime!hostedInvoiceUrlURL!Stripe-hosted invoice page URL. Surfaced on internal admin views; not used in the business admin (which renders our own invoice page).
pdfUrlURLDirect link to the Stripe-rendered PDF for this invoice.
lines[PlatformSubscriptionInvoiceLine!]!Per-line breakdown shown on the invoice detail page.
Used in
PlatformSubscriptionInvoice