Skip to main content

lim journals

Manage journal entries directly from the CLI. List, inspect, create structured entries, reverse, and delete. All destructive operations (reverse, delete, update-tax-code) show a preview and require confirmation before executing. Use --dry-run for preview-only, --yes to skip confirmation (for scripting / AI agents).

journals list

List journal entries with optional filters.

Filters

journals show

Show full detail for a single journal entry.

journals create

Create a journal entry with explicit debit/credit lines. For natural language input, use lim add instead.
Total debits must equal total credits. The command will fail with an error if they don’t balance.

journals edit

Edit a draft journal entry. Only draft entries can be edited — posted entries must be reversed and re-created.
When updating lines, both --debit and --credit must be provided. Lines are fully replaced, not merged. Only draft entries can be edited. For posted entries, use lim journals reverse then lim journals create.

journals reverse

Create reversing entries for specific journal entries. Shows a preview and asks for confirmation before executing.
You must specify at least one --id or filter flag. Running lim journals reverse with no arguments will show an error — it will NOT reverse all entries.

journals delete

Delete draft journal entries. Only draft entries can be deleted — posted entries must be reversed instead.
Deletion is irreversible. Only draft entries can be deleted. For posted entries, use lim journals reverse instead.

journals update-tax-code

Update the tax code for journal lines matching a filter. Useful after a tax code change or correction.