It used to be that with a ledger entry like this:
2023-03-23 Family Mart | Ice cream
Assets:Cash -115.00 TWD
Expenses:Food 115.00 TWD
We could run the following query hledger is --pivot payee and get an income statement showing 115 TWD paid to Family Mart.
I believe that this broke starting with hledger 1.27 and it now generates an empty income statement.
The issue seems to be that Assets:Cash is not filtered out prior to replacing all account names with payee, so we get an income statement for this:
2023-03-23 Family Mart | Ice cream
Family Mart -115.00 TWD
Family Mart 115.00 TWD
As a workaround we can instead run this query: hledger bal Expenses --pivot payee which does give the expected result, but here we explicitly filter on Expenses.