To show these details in the ledger, please check the steps below.
Step 1: Go to Settings.
Step 2: Go to Preferences >> Documents >> Select Ledger >> Turn on the options >> Save the changes.