BillingStatement

@Serializable
data class BillingStatement(val id: String, val totals: BillingStatementTotals, val status: BillingStatementStatus = BillingStatementStatus.UNKNOWN, val timestamp: Long, val groups: List<BillingStatementGroup> = emptyList())

A billing statement for a user or Organization.

Constructors

Link copied to clipboard
constructor(id: String, totals: BillingStatementTotals, status: BillingStatementStatus = BillingStatementStatus.UNKNOWN, timestamp: Long, groups: List<BillingStatementGroup> = emptyList())

Properties

Link copied to clipboard

Statement groups, where each group contains payment items organized by timestamp.

Link copied to clipboard
val id: String

The unique identifier for the statement.

Link copied to clipboard

The current status of the statement. Statements can be open (still accumulating charges) or closed (finalized).

Link copied to clipboard

The date and time when the statement was created or last updated, as Unix milliseconds.

Link copied to clipboard

Financial totals for the statement, including subtotal, grand total, and tax total.