5
0
mirror of https://git.coop/cotech/fund.git synced 2024-12-18 09:33:05 +00:00

Add some instructions for generating reports with hledger.

This commit is contained in:
Chris Lowis 2022-08-11 14:21:27 +01:00
parent cdc7890d14
commit d2877bc26c

View File

@ -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"
```