Logistiki.Projections.StatementLine (logistiki v0.1.0)

Copy Markdown View Source

A single line in an account statement.

Includes a running balance so statements read like a real account ledger.

Summary

Types

t()

The struct type. See the module documentation for field details and examples.

Types

t()

@type t() :: %Logistiki.Projections.StatementLine{
  account_code: String.t(),
  amount: Decimal.t() | nil,
  credit: Decimal.t() | nil,
  currency: String.t(),
  date: Date.t() | nil,
  debit: Decimal.t() | nil,
  description: String.t() | nil,
  event_id: String.t() | nil,
  journal_id: term() | nil,
  metadata: map(),
  posting_id: term() | nil,
  running_balance: Decimal.t() | nil,
  selected_policy: String.t() | nil,
  selected_template: String.t() | nil,
  source_id: String.t() | nil,
  source_system: String.t() | nil
}

The struct type. See the module documentation for field details and examples.