export_amazon_transactions_csv
Export Amazon payment transactions to CSV for record-keeping or analysis. Extracts transaction details including date, order ID, amount, and payment method from order history.
Instructions
Export Amazon payment transactions to CSV file. Extracts transaction data from each order's detail page. CSV columns include: date, order ID, amount, payment method, card info. For faster bulk transaction export, consider get_amazon_transactions which scrapes the dedicated transactions page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year to export (defaults to current year) | |
| region | Yes | Amazon region code | |
| end_date | No | End date in ISO format (YYYY-MM-DD) | |
| max_orders | No | Maximum number of orders to process | |
| start_date | No | Start date in ISO format (YYYY-MM-DD) | |
| output_path | No | Full path to save CSV file. Defaults to ~/Downloads/amazon-{region}-transactions-{year}-{date}.csv |