I used ledger / cl-ledger for some time, but they do not correctly support multi-currency accounting, which is a show stopper for me.
Do you mean, in the sense of https://hledger.org/investments.html#a-more-correct-entry ? balancednoautoconversion validation may be relevant, if so ( https://hledger.org/hledger.html#strict-checks )
Leger printed nonsence for such roports.
I used to pay taxes in multi currency environment, and know the official rules here, in Belarus, how to calculate the indicators when converting to a single currency.
Also I once came across US guideline for that - the same simple principle.
So I guess that's a very standard aporoach in accounting.
Ledger does something strange instead.
I remember also some large blog post was circulating, where the author "explains" how to do accounting in two currencies, in some overcomplicated way, that only works for two currencies. This link was usualy shared between people as an ansver to the multi-currency question.