Magidoc

TrialBalanceReport
Object

Every account's balance read at one date, with the control totals that prove the ledger balances. Accounts whose balance nets to zero at that date are not carried: they state nothing at it.

Read in the year-end view: income, expense and year-end-closing equity accounts state the current fiscal year only, and what they held at the prior fiscal year-end is carried once on a captioned "Prior years' earnings" row with no account number. Every other account, retained earnings included, prints its ledger balance.

Fields

#

accountingMethod

Non-null

The statement's fixed accrual basis: posted ledger balances, without cash-basis settlement adjustments.

generatedAt

Non-null

When the server finished generating these balances. Cached results retain this timestamp.

rows

Non-null

debitTotal

Non-null

creditTotal

Non-null

balanced

Non-null

The sum of the debit-balance rows equals the sum of the credit-balance rows — false on a ledger whose posted lines do not net to zero.

glCompanyLabel

The books this statement covers — the named company's code and name, or null when it is the whole workspace's.

A balance check states that one set of books adds up, and on a workspace keeping several it is the first thing a reader has to know about it: the same figures under a different scope are a different statement. Null is the unscoped read, which is admitted only to a reader who holds every company, so it always means all of them.

asOf

Non-null

The day the balances are read at: the asOf argument resolved to the end of the day it names, or now where it named none. Echoed because a statement read at one date is only checkable against that date, and the surfaces that render this check outside the report header had no other way to say which one it was.

Usages

#

References

#

  • Field getTrialBalanceReport from Query