Ledger with two ref rows amount to credit and debit transection

Current Setup & output of results in 3 images Below:



Result I require in reference list as shown in image below:

0 3 521
3 REPLIES 3