hledger User Cookbook

Goal for 2022: This page aims to become the comprehensive list of concrete, actionable, task-oriented advice for hledger users on how to tackle common real-world problems, using hledger where possible, but pointing to other tools if more effective, and including placeholders where we don't yet have a good answer.

See also:

The cookbook falls into two parts: the General usage of hledger, and Accounting and bookkeeping examples.

General usage

Data entry

Preserving your data

Checking for errors

Reporting techniques

Making charts


Setups and workflows

Other user interfaces

Other software

Accounting and bookkeeping

Learning accounting and bookkeeping

Borrowing and lending


Eco accounting


Inventory tracking

Investing and trading


Multiple currencies

Non-profit accounting


Time tracking

Trip expenses

Shared expenses