How will the same reflect in the ledger?

How will the same reflect in the ledger?

Every EOD after computation of deficiency in cash Margin (50%), a Margin bill will be raised towards it and an attempt to pay in the amount will be done. A receipt will be booked to the extent of the amount received. The Margin Bill raise on T day will be reversed on T+1 and a new Margin bill will be passed again. The process will continue till the open position is kept.