Accounting treatment of compensation to client

prasad reddy (Student CA IPC / IPCC) (24 Points)

06 January 2014  
we sold our products to one client.On using our products our client's machine got damaged.now we are replacing that damaged part of the machine, by purchasing that part and ggiving the same to them.now what is theacounting treatment for that transaction in our books of accounts