Skip to content
GitHub
Browse the docs

Build with Booki

Booki gives people and agents the same controls. Start with a button in a React app, then use the catalog for workflows such as editing documents, managing a sales pipeline or preparing a voucher.

Accounting and approval rules

Money is whole minor units
Amounts are integers of øre or cents. A fraction is rejected at the action, before it reaches a voucher.
A voucher balances or it is not posted
Debit and credit are summed on every change. assertBalance fails with the exact difference.
Codes come from a closed list
Tax codes, accounts, periods and currencies only accept listed values. The error names the valid ones.
People approve what leaves the account
Use personOnly for decisions such as payment release or sign-off. The bridge refuses actions marked this way even when the app allows other confirmed steps.
Bank details stay unread
Account numbers, IBAN and KID read as [redacted] in snapshots, results and change events.
Agent edits are attributable
Every change reports whether an agent or a person made it, so your audit log can name the actor.

Every component page shows what the agent reads beside what the person sees, so you can check each rule against the real control.

Packages

@booki-aui/core
Integer money, country profiles, validators and voucher helpers. No framework.
@booki-aui/react
Unstyled React controls that agents operate through typed actions.
@booki-aui/styles
Optional default look: CSS variables and data-slot selectors.