Finance dashboards and reports

The finance overview, profit and loss, a tax summary with GST F5 boxes, ageing, stock at an earlier date and printing to PDF.

See it in the tour: Finance dashboards and reports

On this page

Insight › Finance shows how the money is doing for any period and store, and Insight › Reports gains a Finance group. Everything is worked out live from what Stater already records: sales, refunds, cash-ups, invoices, the stock ledger and rosters. There is nothing to set up and nothing to import.

Finance dashboards and reports are part of the Business plan (licence feature finance; see Plans and licences). The tax summary, cash-up differences and the discounts, refunds and cancellations report stay open on every plan: they are tax and loss-prevention basics. Today's stock valuation stays open too; valuing stock at an earlier day's close needs the feature.

Who sees what#

Overview Profit and loss Tax summary, cash-up differences, discounts Ageing
Owner every store, rostered pay included yes yes yes
Finance every store yes, without rostered pay yes yes
Store manager their store yes yes their store and company-wide invoices
Viewer their store, without cost figures no yes their store
Sales assistant, stockroom no no no no

Sales by period needs only insight.view, so the stockroom role sees it in the Finance group too, with cost and profit (stockroom staff have stock.cost).

Cost figures (cost of goods, gross profit, margin, stock value) need stock.cost and are left out on the server, not only hidden. Rostered pay is in the profit and loss only for someone who sees everyone's pay (in practice the owner), so a total never hides pay its reader cannot see.

What each figure means#

  • Net revenue is sales less tax and refunds. A sale counts on the day it was placed, once it is paid in full or handed over. A refund counts on the day it was given.
  • Cost of goods is the average cost when each item sold. Refunded goods put back on the shelf take their cost back off; damaged ones do not.
  • Gross profit is net revenue less cost of goods; gross margin is that as a share of net revenue.
  • Stock written off is what counts, adjustments and damage took off the shelves, at cost (stock found counts back).
  • Payouts and petty cash come out of tills. Other supplier bills are supplier invoices not raised from a purchase order, ex. tax.
  • Cash-up differences are counted less expected cash: negative when a till was short.
  • Owed to you and You owe are invoices still owing today, in five buckets: not yet due, 1–30, 31–60, 61–90 and over 90 days overdue. An invoice due today is not yet due.
  • Cash in tills is what each till still open today should hold, plus what was counted in tills counted but not yet closed. Bank balances are not kept in Stater.
  • Loyalty points held is what customers' points are worth, company-wide.

The profit and loss is a trading statement, not a set of accounts: rent, utilities, card fees, pay outside rosters, accruals and voucher liability are not in it. Budgets and a general ledger are out of scope.

Tax summary#

The summary uses the accrual basis: sales by the day they were placed, refunds by the day they were given, supplier bills by the day they were issued. It lists sales by tax rate, zero-rated or exempt sales, refunds, customer invoices not raised from an order, purchases for stock, other bills and the net to pay (or to claim back).

Each order line keeps the rate it was sold at. Lines sold before that was recorded take today's product rate, or the store's; the report says so when any are in the period. The tax amounts are always exact.

When the company works in Singapore dollars and calls its tax GST, the lines carry GST F5 box numbers (1, 2 and 3, 4 and 6, 5 and 7, 8). Stater does not tell zero-rated sales from exempt ones, so split boxes 2 and 3 yourself.

Periods#

The financial year start and the length of a tax return (1, 2, 3, 6 or 12 months) are set by an owner from Insight › Finance › Periods (PUT /api/v1/settings/finance, audited as settings.finance). Tax periods start with the financial year. They drive the "This tax period", "Last tax period" and "Financial year" choices on the overview and finance reports.

Stock at an earlier date#

The stock valuation report takes As at: stock at the close of that day, rebuilt from the stock ledger (today's on hand less every movement since). Units are exact; values use today's costs and prices, so the report marks them as estimated. The overview's "change since the period began" uses the same rule. While a stock count is running, people who count blind do not see on hand here either.

Keeping up to date#

The overview refreshes when a sale, refund, cash-up, invoice, delivery, stock change or count is announced, and at least once a minute.

Printing and PDF#

Every report and the overview have Print. Pages print on the light theme without the menus, with a header naming the company, store, period, and who printed it and when; tables repeat their headings on every page. Choose "Save as PDF" in the browser's print dialog for a PDF.

API#

Call Needs
GET /api/v1/finance/overview?store_id&range&from&to&compare money.view, insight.view, Business
GET /api/v1/finance/periods?store_id money.view
GET /api/v1/settings/finance money.view
PUT /api/v1/settings/finance admin.settings, company-wide
GET /api/v1/insight/reports/{key} and /export the report's own permissions

range is one of mtd, last_month, qtd, tax_period, last_tax_period, fytd, last_fy, 7d, 30d, 90d, 12m; from and to (YYYY-MM-DD, two years at most) win over it. compare is prev (the same number of days straight before, the default), year or none.

Finance report keys: profit_loss (compare), sales_by_period (group: day, week or month), tax_summary, ar_ageing, ap_ageing, cash_variances, discounts_refunds_voids; and stock_valuation takes as_of. Statement rows carry _style (heading, subtotal, total, memo), _key and sometimes _kind (a row of percentages among money). Money is in cents and percentages in basis points; CSV headers name the company's currency. The AI assistant reads the same figures through lookups named finance_*, always as the person asking.

Settings#

Variable Default
STATER_FINANCE_QUERY_TIMEOUT 20s How long working out one finance page or report may take in all, every query in it together (2s to 5m). A period that takes longer says so and suggests a shorter one.

Every finance read runs in a read-only transaction on one snapshot of the data. Finance reads take turns for all but two of the server's database connections, so a few long ones cannot hold up the counter. Migration 085 adds the indexes these reads need; it builds them in the upgrade's transaction, which briefly blocks writes to orders, payments and invoices on a large database, so upgrade out of trading hours.

Not included yet#

A nightly rollup of daily figures and nightly stock snapshots (live queries are quick enough for the shops Stater serves today), bank reconciliation, scheduled or emailed reports, XLSX export and server-side PDF rendering.