Accounting entry in Purchase Invoice

Hello,

I want to print the accounting entries generated by the putchase invoice along with the purchase invoice.
Currently i am printing the purchase invoice seperately and the relevant entries seperately by clicking the accounting ledger button on the purchase invoice.

How could i merge the two prints.

Thanks

@Syed_Omer_Abbas you will have to write a custom format for this. Can’t be done out of the box