# `Logistiki.Projections.TrialBalance`
[🔗](https://github.com/thanos/logistiki/blob/v0.1.0/lib/logistiki/projections/trial_balance.ex#L1)

A trial balance: debit/credit totals per account per currency.

Debits and credits must balance per currency (`balanced` flag).

# `line`

```elixir
@type line() :: %{
  account_code: String.t(),
  account_name: String.t() | nil,
  debit_total: Decimal.t(),
  credit_total: Decimal.t(),
  net: Decimal.t(),
  currency: String.t()
}
```

# `t`

```elixir
@type t() :: %Logistiki.Projections.TrialBalance{
  balanced: boolean(),
  currencies: [String.t()],
  lines: [line()]
}
```

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
