From d2877bc26cf8044747fc7d5729d6a93efea00655 Mon Sep 17 00:00:00 2001 From: Chris Lowis Date: Thu, 11 Aug 2022 14:21:27 +0100 Subject: [PATCH] Add some instructions for generating reports with hledger. --- ADMINISTRATION.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ADMINISTRATION.md b/ADMINISTRATION.md index f72c39d..79189cd 100644 --- a/ADMINISTRATION.md +++ b/ADMINISTRATION.md @@ -21,3 +21,11 @@ The invoices should be generated in `invoices/sent/2022/`. The ruby script can be edited to change the start of the range of invoice numbers and to generate the output in a different directory. The data used to generate the invoices is in `members.csv`. + +## Running reports + +We keep a plain-text ledger of transactions in ~cotech.journal~. Using the [hledger](https://hledger.org/) tool we can generate reports. A typical one is the (financial) year-by-year break down of income and expenses which we report occasionally on the [discourse forum](https://community.coops.tech/c/cotech/fund/25). + +``` +hledger -f cotech.journal is -p "yearly from 2019-04-06" +```