How to report equity sold

d Vaz (5 Points)

21 February 2021  
am holding equity shares of a company under short term and also long term. If I sell a part of it .
as pr accounting first come first go..
But upstox reports last come first go to the itax.
what is correct.