Delivery Note to reflect the Transporter Details with amount and accounting impact

While creating the Delivery Note I’m mentioning the transporter details but I want to hit my ledger added to the transporter with amount mentioned.

So my DN is of 15 MT and amount is of 20000 which is item and tax based. I wanted to add transporter rate per MT is 300 thus i need to pay him 15*300= 4500 at the end of the delivery. In the DN I want two amount 20000 against my customer which would hit the creditor accounts and 4500 which should hit my transporter account without changing the DN amount.