Balance export in ledger format [Second attempt]