Balances
Every account in Lilury maintains a running balance that is updated automatically whenever a journal is posted. Balances are tracked at two levels of granularity: by accounting period (monthly activity) and by financial year (opening anchor). Both levels support multiple currencies — an account that receives entries in several currencies holds a separate balance for each one.Period balance
A period balance captures an account’s activity within a single accounting period.| Concept | Description |
|---|---|
| Debit total | Sum of all debit amounts posted to this account in this period |
| Credit total | Sum of all credit amounts posted to this account in this period |
| Closing balance | The account’s balance at the end of this period |
Closing balance formula
The formula depends on whether the account’s natural balance is a debit or a credit. Debit accounts (assets and expenses):| Period | Opening | Debits | Credits | Closing |
|---|---|---|---|---|
| January | 0 | 5,000 | 2,000 | 3,000 |
| February | 3,000 | 1,000 | 500 | 3,500 |
| March | 3,500 | 0 | 1,000 | 2,500 |
| Period | Opening | Debits | Credits | Closing |
|---|---|---|---|---|
| January | 0 | 0 | 8,000 | 8,000 |
| February | 8,000 | 500 | 3,000 | 10,500 |
| March | 10,500 | 0 | 2,000 | 12,500 |
Posting into earlier periods
If a journal is posted into an earlier period — say February — after March already has a closing balance, March’s closing is automatically recalculated to stay consistent with the updated February closing. This cascade applies to all periods after the posting date within the same financial year.Closed periods
Once an accounting period is closed, its balances are frozen. No further postings can affect them. Reporting against a closed period always returns the same figures.Year opening balance
Each financial year has an opening balance for every account. This is the account’s balance on the first day of the year — the starting point from which the first period’s closing balance is calculated. For a new company or a newly created account, the opening balance is zero. For all subsequent years, it is populated automatically during the year-end close (see Year-end carry-forward below).Multi-currency balances
An account can receive journal entries in different currencies. When this happens, Lilury tracks a separate balance for each currency in addition to the base-currency total. This lets you see both the converted base-currency figure and the original transaction-currency figure side by side in reports. Example — a USD-base company with entries in multiple currencies on the same account:Year-end carry-forward
When a financial year is closed, Lilury automatically sets the opening balances for the next financial year. The rule depends on the account’s nature.Permanent accounts — balance sheet
Accounts with nature Assets, Liabilities, or Equity carry their closing balance forward. The closing balance of the last period in the closing year becomes the opening balance for the next year.Temporary accounts — income statement
Accounts with nature Revenue or Expenses are reset to zero each year. They measure performance for a single period and are cleared into retained earnings through a closing journal at year-end.Multi-currency carry-forward
Every currency that appeared on an account during the closing year is carried forward by the same rule:- Permanent account: each currency’s closing balance becomes that currency’s opening balance in the next year.
- Temporary account: each currency’s opening balance is set to zero.
