Equity Contract note

I downloaded today Contract Note in XML format.
I found that under each scrip, detailed breakup of purchases are given, which is difficult to handle and store in our database.
Instead, I suggest to give consolidated / total quantity of scrips traded under each scrip, as indicated in Holdings with average price, which will reduce DB space as well.