How do you calculate STCG & Intraday charges for tax purpose?

I am using Zerodha. They provide me with three types of information:

  • STCG P&L

  • Intraday P&L

  • Charges (STT, Brokerage, GST, SEBI etc).

But for tax purpose, I need the following things:

  • STCG P&L

  • Intraday P&L

  • STCG Charges (STT, Brokerage, GST, SEBI etc).

  • Intraday Charges (STT, Brokerage, GST, SEBI etc).

Basically, STCG & Intraday charges seperately. I have been attempting to calculate these charges on my own using the tradebook provided by Zerodha, but I encounted a slight discrepancy of 1-2% between my calculations and Zerodha’s calculations.

I am wondering, how you guys calculate these things?