beankeeper
This skill should be used when interacting with the beankeeper accounting system via the `bk` CLI. Use when the user asks to "record a transaction", "post an entry", "check a balance", "generate a report", "create a company", "set up accounts", "import bank statements", "set a budget", "compare budget vs actual", "reconcile entries", "verify the ledger", "export data", "attach a receipt", or any financial bookkeeping task. Also use when piping structured JSON output from `bk` into other tools or agents. --- # Beankeeper (`bk`) -- Double-Entry Accounting CLI Beankeeper is a double-entry accounting system operated entirely through the `bk` command-line interface. It stores data in a local SQLite database (optionally encrypted via SQLCipher). All output supports three formats: human-readable tables, machine-readable JSON, and CSV. ## Core Concepts - **Double-entry**: Every transaction has balanced debits and credits. Total debits always equal total credits. - **Companies**: Multi-tenant -- each company has its own chart of accounts and ledger. Specified via `--company SLUG` or `BEANKEEPER_COMPANY` env var. - **Accounts**: Five types: `asset`, `liability`, `equity`, `revenue`, `expense`. Each has a code (e.g. `1000`) and a normal balance direction (debit or credit). - **Amounts**: Always specified in **major units** (dollars, not cents) on the CLI. Stored internally as minor units (cents). Example: `2500` means $2,500.00. - **Append-only ledger**: Transactions cannot be edited or deleted after posting. Corrections are made via reversing entries. - **Idempotency**: Use `--reference KEY` with `--on-conflict skip` for safe retry of duplicate posts. For detailed accounting concepts and account types, see [`references/accounting.md`](references/accounting.md). ## Agent Integration **Always use `--json` for programmatic access.** Every JSON response uses a uniform envelope: ```json { "ok": true, "meta": { "command": "...", "company": "...", "timestamp": "..." }, "data": { ...
Changelog: Source: GitHub https://github.com/Govcraft/beankeeper
No comments yet. Be the first one!