Please find below a very useful link on that
https://kgaccountants.freshdesk.com/support/solutions/articles/43000582212-accounting-treatment-for-...