Security deposit accounting

Riya Jain (8 Points)

28 September 2019  
what is the entry when security deposit of employee is deducted from his salary?

Salary Dr
Security deposit Dr
To salary payable

Is the treatment correct ?