Use the Autoingestion tool to download sales reports on Itunes Connect.
- ReportType: Sales or Newsstand
- ReportSubType: Summary, Detailed, or Opt-In
- DateType: Daily, Weekly, Monthly, Yearly
- ReportDate: YYYYMMDD (Daily or Weekly),YYYYMM (Monthly) or YYYY (Yearly)
$autoingestion = new ItunesAutoIngestion(MY_USERNAME, MY_PASSWORD, MY_VENDOR_ID);
$data = $autoingestion->getData(Sales, Summary, Daily, 20160228);
$data contains the summary reports of sales for Feb. 28, 2016
On Itunes Connect website, click on the Sales and Trends section, and your vendor ID will be displayed in the upper-left corner next to your developer name.
https://www.apple.com/itunesnews/docs/AppStoreReportingInstructions.pdf