Customize theme to include general ledger account

The transaction lines table exposed to themes only includes minimal information required in order of relevance. The most relevant is the descriptions, if they’re missing you will get the items and if those are missing only then you well get the accounts.

You cannot change the content of the lines table manually but you can skip line descriptions and items and they should appear automatically.

Alternatively, you can add a line custom field as an alternative for descriptions. That way you can have both accounts and descriptions.