Download sales and trends report
asc_download_sales_reportDownload a Sales and Trends report (sales, subscriptions, subscription events, installs, ...) and return it as parsed rows. The vendor number is under Payments and Financial Reports in App Store Connect.
Instructions
Download a Sales and Trends report (sales, subscriptions, subscription events, installs, ...) and return it as parsed rows. The vendor number is under Payments and Financial Reports in App Store Connect. Reports are usually available a day after the reporting date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saveTo | No | Save the full decoded report as a new .tsv file; a bare name goes to ~/Downloads/appstore-connect; never overwrites | |
| maxRows | No | Rows to return inline (default 200) | |
| version | No | Report format version, e.g. 1_0 (sales) or 1_4 (subscription). Usually omit it: if Apple requires one, the right version is filled in automatically. | |
| frequency | Yes | ||
| reportDate | No | YYYY-MM-DD for daily/weekly, YYYY-MM for monthly, YYYY for yearly. Defaults to the latest available. | |
| reportType | No | Default SALES | |
| vendorNumber | Yes | ||
| reportSubType | No | Default SUMMARY |