Documentation

How the Books Work

Dayne Holdings keeps real double-entry books, not a spreadsheet of ins and outs. Here's what that means in practice.

The short version

Every transaction is recorded as two or more lines that always add up to zero — one side of the entry is always matched by the other. Nothing is ever quietly edited or deleted after the fact; corrections happen by posting a new entry that reverses the old one. That gives the portal a real audit trail: what happened, when, and why every figure on a report is what it is.

Debits, credits, and why they're not "in" and "out"

It's tempting to read "debit" as money leaving and "credit" as money arriving, but that's only true for some accounts. What a debit or credit actually does depends on the account's normal balance:

  • Assets and expenses normally carry a debit balance — a debit increases them, a credit decreases them.
  • Liabilities, equity, and revenue normally carry a credit balance — a credit increases them, a debit decreases them.

So a sale increases Cash (an asset) with a debit, and increases Sales Revenue (a revenue account) with a credit — same transaction, opposite-looking entries, both increases. That's the whole trick of double-entry.

The chart of accounts

Every account on the books falls into one of five types. Dayne Holdings' chart of accounts has about thirty accounts total; here's one example of each type:

CodeAccountTypeNormal balance
1000Cash — OperatingAssetDebit
2100Wages PayableLiabilityCredit
3900Opening Balance EquityEquityCredit
4000Sales RevenueRevenueCredit
5000Payroll ExpenseExpenseDebit

The full list is visible on the portal's Chart of Accounts page, where an Owner or Accountant can also add a new account if a subsidiary needs one that isn't there yet.

How a transaction posts itself

When the portal syncs with Democracycraft, every new transaction on a connected firm account gets matched against a category rule and posted as a balanced two-line entry automatically — nobody has to type it in by hand. For example, a 40-coin ChestShop sale comes in as:

Debit  1000 Cash — Operating ................ 40.00
Credit 4000 Sales Revenue ................... 40.00

Rent going out the door works the same way in reverse — a debit to an expense account, a credit to Cash. This is what makes the Transactions page and the ledger the same source of truth: every row you see there is already a posted journal entry, not a separate record that might drift out of sync with it.

Reclassifying a transaction

Sometimes a transaction lands in the wrong account — a sale gets auto-matched as "Uncategorized Income" instead of "Rental Income," say. Moving it doesn't edit the original entry. Instead, the portal posts a reversal of the original entry, then a fresh entry to the correct account. The old entry stays on the books exactly as it was posted, with a visible link to what replaced it — visible from the Journal page.

Why bother

If entries could just be edited, two people looking at the same account at different times could see different histories for the same event. Reversing instead of editing means the books only ever grow — there's always a complete record of what was recorded and what was later corrected.

The three reports

All three read straight from the posted journal — there's no separate calculation that could disagree with the ledger:

  • Trial Balance — every account and its current balance, side by side. Total debits should always equal total credits; if they don't, something upstream is broken.
  • Profit & Loss — revenue minus expenses over a date range, i.e. what the business earned or lost in that period.
  • Balance Sheet — everything the firm owns, owes, and is worth as of right now.