When you login into PayPal Account, click on 'Reports' button.
Then click on 'Activity download'.
You have to select 'Transaction type' - ' Balance affecting'.
Then set a 'Date range' you need to download transaction for.
And then you need to select a CSV format.
Click on 'Create Report' button. And then you'll see a new line created here.
Click 'Download' to download a CSV file.