Skip to Content
Docs

Record numbers

How Tosven numbers deals, quotes, invoices, payments and journal entries, and how each record links to the next.

Every record in Tosven that people refer to has a number you can read aloud, search for and quote in a message. This page explains the pattern, when a number is assigned and how records point to each other.

The pattern

A record number has three parts: a prefix for the series, the year and a running sequence.

INV-2026-0418

The examples in these docs use the prefixes below. The letters in your own numbers follow the series of your company.

ExampleRecordModule
OPP-2026-0412DealCustomers
QUO-2026-0142QuoteCustomers
INV-2026-0418Sales invoiceLedger
BIL-2026-0733Purchase invoiceLedger
PAY-2026-0391PaymentLedger
JRN-2026-01284Journal entryLedger

Sales orders (ORD-2026-0193) and purchase orders (PO-2026-0077) follow the same pattern. On the way

When a number is assigned

A number is not given when a record is created. It is given at the moment the record becomes binding.

RecordNumbered whenGaps
Journal entryIt is postedNone
Sales invoiceIt is postedNone
QuoteIt is sent for the first timeNot reused, gaps allowed
Purchase invoiceKeeps the supplier's numberNot applicable
  • Drafts have no number. A draft entry or draft invoice can be edited or deleted without leaving a hole.
  • Checks first, number last. The number is taken only after every validation has passed. A refused invoice or a refused quote send does not use up a number.
  • One counter per series. Each company has its own counters, per series and per financial year. Two people posting at the same moment cannot receive the same number.

Series

Journal entries are numbered per document type: sales, purchases, bank and memo entries each have their own series. Sales invoices have their own series as well, which must be continuous.

Quotes are numbered per company and per calendar year in the company's own time zone. A new version of a quote keeps the number and adds a version, for example QUO-2026-0142 v4.

Purchase invoices are identified by the supplier and the supplier's invoice number. Tosven refuses a second invoice with the same pair, and sends one with the same number and different content to a person.

Numbers from a previous accounting system are kept as a reference on the migrated record. They never enter the live series.

The payment reference

A posted sales invoice also carries a payment reference: a Finnish reference number with a check digit, printed on the invoice. It is separate from the invoice number. The bank passes it back with the payment, and a valid reference that points at exactly one open invoice settles that invoice automatically. See Bank and reconciliation.

Records are linked to each other directly. You do not have to search for the next one.

  • Deal to quote. A quote belongs to a deal, and one quote per deal is the primary one.
  • Quote to invoice. An accepted quote becomes a draft sales invoice that keeps its link to the quote version it came from.
  • Invoice to entry. Posting an invoice creates its journal entry. The entry points back to the invoice as its voucher.
  • Payment to invoice. A matched bank line links the payment, the invoice it settles and the statement it arrived on, down to the original statement file.
  • Credit note to invoice. A credit note names the invoice it corrects.
  • Reversal to original. A reversed entry and its reversal point to each other.
  • Entry to return. Each VAT return stores the list of lines counted in each box.

For Nordlys AB the chain reads: OPP-2026-0412, QUO-2026-0142, INV-2026-0418, PAY-2026-0391 and the journal entry behind it. You can walk it in either direction. Each step checks your permissions again, so the chain shows only what you are allowed to read.

Numbers and the audit trail

Posted journal entries are chained as well as numbered. Each one stores a hash of its own content and of the entry before it. A missing number or a changed entry would break the chain, and a background check looks for both.

A person without the right to read vouchers is not shown entry numbers.

Next steps

On this page