Skip to Content
Docs

Ledger

Double-entry books with entries that cannot be edited, corrections by reversal and reports that open the voucher behind every figure.

Ledger is the accounting core of Tosven. Every sales invoice, purchase invoice and bank line becomes a balanced journal entry that nobody can change afterwards. This page explains how entries are made, how mistakes are corrected and how you get from a report figure back to the document that caused it.

What an entry is

Ledger keeps double-entry books. An entry has at least two lines, and the debit total must equal the credit total in the company's base currency. Tosven checks this when the entry is posted and refuses an entry that does not balance.

Three terms come up on every screen:

  • Voucher. The legal basis of an entry: the invoice, the bank statement line or the memo, stored with its original file.
  • Entry. The header of a posting: date, number, state and the link to its voucher.
  • Line. One debit or credit on one account. Lines carry the amount in the document currency and in the base currency, the VAT code, and the customer or supplier when the account is a receivable or a payable.

Balances are never stored as a separate figure. An account balance, the open amount of an invoice and every report total are calculated from the lines, so two screens cannot disagree about the same number.

There is no separate receivables or payables ledger. The customer or supplier sits on the line itself, which is why the open items of Nordlys AB always add up to the receivables account.

Drafts and posted entries

An entry has two working states.

StateWhat you can doNumber
DraftEdit freely or deleteNone yet
PostedRead, reverseAssigned at posting

Posting is the moment a person approves the entry. From then on it is final for everyone, including administrators and agents. The rule is enforced in the database, not only on the screen, so it applies equally to people, imports and agents.

Each posted entry takes the next number in its series and a hash calculated from its content and the entry before it. Changing or removing an old entry would break that chain, and a background check verifies the chain. See Record numbers for how series work.

Why drafts have no number

A number is assigned only after every check has passed. A refused entry does not use up a number, so the series of posted entries has no gaps.

Corrections by reversal

You correct a posted entry by reversing it and posting a new one.

Reverse the entry

The reversal uses the same accounts and the same customer or supplier, with negative amounts. Period turnover is not inflated by the correction.

Post the corrected entry

The new entry gets its own number and its own approval.

Read the history

The original and the reversal stay visible and point to each other. The journal shows what was booked, what was reversed and by whom.

If the original entry lies in a locked period, the correction is written to an open period. Tosven never moves a date silently. VAT and periods explains the locks.

Who made the entry

Every entry records three things: who created it, who approved it and which evidence it rests on. The creator can be a person or an agent. The approver is always a person.

Ledger agent prepares routine entries, for example the account and VAT code for a purchase invoice from Vesta Logistics Oy. Each proposal shows its reason, its evidence and its confidence. Sara Nyström approves it, edits it or rejects it. The agent cannot exceed the permissions of its human manager and cannot change a posted entry. See Agents.

From a figure to the voucher

Journal, general ledger, trial balance, income statement and balance sheet are read from the same posted lines. Live in the pilot

Any amount in a report opens the lines behind it, then the entry, the voucher and the source document. The trail also runs the other way: from a line to the VAT return it was counted in. When Elina Koskinen clicks the freight line in the income statement, she lands on JRN-2026-01284 and on purchase invoice BIL-2026-0733.

A person without the right to read vouchers does not see entry numbers. A missing permission is shown as no access, never as zero.

What else Ledger covers

These parts are live in the pilot and share the same journal:

  • Intercompany. An invoice between two group companies creates its mirror as a draft in the other company's books. Each company approves its own side.
  • Fixed assets. A register tied to the ledger accounts, with depreciation runs prepared as entries.
  • Migration. Opening balances and open items are rehearsed as a dry run. A clearing account must end at exactly 0,00 € and two different people sign before the migration is final. An agent cannot be one of them.

On the way

Cost centre and project dimensions with their own reports, and consolidated group statements, are not in the pilot yet.

Next steps

On this page