Accounting

A real double-entry ledger

Not invoices with a report bolted on. Every movement of value in this system is a balanced voucher against a chart of accounts, which is why the trial balance is derived rather than stored — there is no second copy of the truth to drift.

What is in it

What accounting covers

Vouchers, not documents

Sales, purchase, receipt, payment, contra, journal, credit and debit note, each posting through one code path with one set of rules. A voucher that does not balance is rejected before it reaches the database — and rejected again by the database, because the constraint is not something an application bug can talk its way past.

Multi-company, kept apart

Each company keeps its own chart of accounts, numbering series, financial years and opening balances. Every query is scoped to your business, and an id that belongs to somebody else is answered as if it did not exist. Row-level security in the database adds a second lock on writes and on posting today; extending it to every read is in progress.

Cost centres, projects and budgets

Allocate a line to a cost centre or a project and see the same figure by department, project or branch. Budgets are compared against the same postings the statements use — never against a separately maintained plan.

Period close that means something

Closing a period locks it. Posting into a closed period is refused, not warned about; correcting one is an explicit reopen with a reason, recorded in the audit trail. A close that a determined user can post through is not a close.

Corrections by reversal, never by editing

A posted voucher is never edited. It is corrected by a reversal, a credit or debit note, or a fresh journal, and reversing one also reverses what it caused — the bill allocations it consumed and the stock it moved — so the ledger and the stock report keep agreeing.

Checkable

What backs each claim

Where in the product, or in the repository, you can go and see it for yourself.

Trial balance ties at 100,000 vouchers
scripts/load-test.ts
26 integrity rules run over the whole ledger
Books → Integrity findings
Money held as exact decimals, never floats
numeric(20,4) throughout

Guides

Step by step: accounting

Try accounting against real books.

Create an account and try it with made-up figures first. Free while in preview, with no card.

A real double-entry ledger · Falcon