Skip to main content
GET
Get statement detail for a user + period

Description

Get statement detail Returns the statement for (tenantUserId, periodStart..periodEnd). Dual-path:
  • If a persisted Statement row exists, it is returned as-is.
  • Otherwise the response is synthesized from aggregated LedgerEntries and marked readFrom='ledger_fallback'.
Artists cannot view drafts via this endpoint. Admins can. New in 4a.0 redesign §08g: the perSplit field on the response carries the per-contract breakdown for the window, sourced from UserAccountingProjection.SplitId IS NOT NULL. Empty [] when the tenant is still on the row-per-fact ledger. Authorization:
  • Required role: user or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

tenantUserId
string<uuid>
required
periodStart
string<date-time>
required
periodEnd
string<date-time>
required

Response

Statement detail fetched.

Every statements response wraps the payload in { status, message, data }. data carries the per-endpoint payload PLUS the per-tenant feature flag.

status
enum<string>
Available options:
success,
error
message
string
data
object