Plans and licences

Stater's plans by stores, staff and features, how a signed licence is checked offline and installed, and what happens when one lapses.

See it in the tour: Production licences

On this page

Stater follows the KazLabs licensing model used by Dendrite: a signed licence document, verified by the server, enforced without ever holding a business's data hostage. The pricing page compares the plans.

Plans#

Plan Stores Staff accounts Adds
Starter (no licence) 1 5 Everything for one shop: counter, orders, customers, loyalty, stock, buying, cash-ups, rosters, reports, email, database checks and backups
Growth 3 25 API tokens, deals pipeline, promotions, counter menu layouts, offline counter, off-site backups (S3), accounting exports and sync (Xero, QuickBooks, MYOB, Dynamics 365, Sage and others)
Business 10 100 Everything in Growth, plus wholesale and account customers, webhooks, advanced reports, finance dashboards and reports, audit export, SIEM forwarding, single sign-on (Microsoft, Google, OpenID) and the AI assistant
Enterprise unlimited unlimited Everything in Business, plus directory sign-in (LDAP and Active Directory) and threat intelligence (TAXII)

Each plan has everything the plan below it has. A licence can override the store and staff limits of its tier.

The feature keys, as a licence lists them:

Key Feature First plan
api API tokens Growth
pipeline Deals pipeline Growth
promotions Promotions Growth
touch_menu Counter menu layouts Growth
offline_counter Offline counter Growth
offsite_backups Off-site backups (S3) Growth
accounting Accounting exports and sync Growth
wholesale Wholesale and account customers Business
webhooks Webhooks Business
advanced_reports Advanced reports Business
finance Finance dashboards and reports Business
audit_export Audit export Business
siem SIEM forwarding Business
sso Single sign-on (Microsoft, Google, OpenID) Business
ai_assistant AI assistant Business
directory Directory sign-in (LDAP and Active Directory) Enterprise
taxii Threat intelligence (TAXII) Enterprise

Never paid extras: sending email (receipts, password resets), database checks and setup, and local, scheduled and manual backups and restores. Safety and basic email work on every plan, Starter included.

Features come from the licence, not the plan#

The features in force are exactly the ones signed into the licence. They are never added from its tier: a Business licence issued before finance existed does not gain finance when the Business plan does. This keeps a trimmed or add-on licence possible and means a licence cannot be widened without a new signature. A licence issued today has all of its tier's current features.

When a licence lapses#

Creating or changing something a feature gates needs the feature in force. Things already set up mostly keep working after the licence lapses, as tokens and webhooks always have. Off-site backups and the offline counter are never stopped by the licence: only saving a new S3 destination needs offsite_backups. SIEM forwarding, TAXII polling and webhooks may stop when a licence is restricted or withdrawn; each feature's page says what it does (webhooks, SIEM and TAXII). Accounting sync keeps sending through a lapse, so bookkeeping is not cut off mid-month; it stops (with token refresh) only on a licence without accounting at all, and turning it off, disconnecting and marking days done never need the licence (Accounting).

The licence#

STATER1.<payload>.<signature>: the payload is JSON (id, customer, licensee, tier, limits, features, issued, start, expires, grace days, key id), the signature Ed25519 over the payload bytes. The server checks it against public keys compiled into the binary. Nothing calls home.

Stater reads a licence in any of these forms:

  • the bare STATER1.… text;
  • a .lic file as KazLabs issues it: lines starting with # describe the licence and are skipped;
  • the text wrapped over several lines by an email client (spaces and line breaks are removed);
  • JSON with a licence field.

A licence with a start date is version 2; one without stays version 1, so older Stater versions still read it. A Stater version refuses a licence newer than it understands and says to update.

Installing#

In Admin › Licence an owner pastes the licence or chooses the file, then Check licence. The check verifies it offline and shows what would change (plan, stores, staff, features, end date) and any warnings, without installing anything. Install licence then puts it in force. Installing asks for confirmation when the licence:

  • ends sooner than the one in force;
  • leaves out features the one in force has (anything already set up for them stops: webhooks pause and API tokens stop working; nothing is deleted);
  • allows fewer stores or staff accounts than are active. Nobody is deactivated and no store is closed, but nothing can be added or reactivated until usage is back within the limit.

A licence whose grace days are over, or which KazLabs has withdrawn, is refused. Over the API, POST /api/v1/licence/check previews and PUT /api/v1/licence installs (with "confirm": true when the preview's needs_confirm is set; otherwise it answers 409 with the first warning).

The licence can also be installed with stater licence install <file>, or with STATER_LICENCE_FILE at start, which installs the file only when it runs longer than the licence installed (or that licence was withdrawn or has ended), so a renewal made in Admin › Licence survives a restart. A licence file Stater refuses is logged as an error and the server starts anyway. It is stored in the database, so every replica sees it within 30 seconds.

Renewals#

A licence issued with a start date that is still ahead is queued as the renewal instead of replacing the licence in force. It takes over on its start date by itself, on every replica, without anything being written. Admin › Licence shows the queued renewal, and an owner can remove it. Installing another licence that starts later replaces the queued one.

History#

Every install is kept in Admin › Licence › History (who, when, from where, and whether it is in force, queued, replaced or removed), and in the audit log as licence.install, licence.remove_next and licence.revocations_install. The audit log holds the licence's id, tier and limits, never its text or any key.

States#

State When Effect
Unlicensed no licence, or one whose start date is still ahead Starter limits
Valid before expiry the licence's limits and features; caution from 30 days before expiry, and in the shell for owners from 14 days
Grace after expiry, within its grace days still the licence's limits and features; a warning to owners
Restricted grace is over Starter limits; tokens and webhooks set up under the licence keep working
Revoked KazLabs withdrew the licence with a revocation list Starter limits; nothing the licence set up keeps its feature

Restricted and Revoked never delete data or lock anyone out. Existing stores, staff and records keep working; what stops is adding past Starter limits and the features Starter does not include. Revoked differs only in that tokens and webhooks made under the withdrawn licence stop too. Off-site backups and the offline counter are never stopped by a licence state. Renewing restores everything at once.

What counts against the limits#

  • Stores: every open store of any kind (shop, warehouse, online store). Closed stores do not count.
  • Staff accounts: every active staff account, whatever its role. Deactivated staff and API tokens do not count.

Adding someone in People, reactivating them, stater user add and directory sign-in all take the same lock and count under it, so two adds at once can never both take the last account.

Revocation lists#

KazLabs can withdraw a licence (a refund, a breach) or retire a signing key with a signed, numbered revocation list, STATERRL1.<payload>.<signature>. Lists are cumulative: each holds every entry of the one before. A server refuses a list whose number is not above the one in force, one that leaves out or postpones an entry it already has, and one signed by a key that a list in force retires, even when the retirement only takes effect later. Once a key is retired, every list it signed stops counting, so the holder of a leaked key cannot undo its retirement or block later lists with a huge number. A withdrawal can take effect later; until then the licence stays valid with a warning to owners.

Install a list in Admin › Licence › Revocation list, with stater licence revocations install <file>, or with STATER_LICENCE_REVOCATIONS_FILE at start (installed only when it is newer; a list Stater refuses is logged as an error and the server starts anyway, as with STATER_LICENCE_FILE). Every Stater version also carries the list current when it was built, a floor that removing rows from the database cannot undo.

Nothing calls home: lists reach a server only when someone installs one.

Checking keys and licence files#

stater licence keys lists the keys a build trusts with their SHA-256 fingerprints. stater licence show <file> verifies and prints a licence or a list. A release build refuses licences signed with the development key (Upgrading).