Combining valuation with filtration is subtle and error-prone (see e.g. #1625).
We have to do in in both MultiBalanceReport and PostingsReport, where it
is done in slightly different ways. This refactors this functionality
into separate functions which are called in both reports, for uniform
behaviour.
The command-line interface for the hledger accounting system. Its
basic function is to read a plain text file describing financial
transactions and produce useful reports.