Import Amazon order exports into You Need A Budget (YNAB) with AI-powered categorization and duplicate detection.
- Web app: ynab-automation.vercel.app — upload CSV, convert or import to YNAB
- CLI: Python scripts for local workflow (see docs/README_YNAB_IMPORT.md)
- Setup:
pip install -r requirements.txtand copy.env.exampleto.env - Get IDs:
python get_ynab_ids.py— lists budgets, accounts, categories - Convert:
python amazon_csv_to_ynab.py ~/Downloads/amazon_export.csv— AI categorizes, outputsamazon_ynab_ready.csv - Import:
YNAB_CSV_FILE=amazon_ynab_ready.csv python ynab_import.py— imports to YNAB (duplicates skipped)
Requires ANTHROPIC_API_KEY in .env for AI categorization. Use --no-ai to skip.
| Path | Purpose |
|---|---|
amazon_csv_to_ynab.py |
Amazon CSV → YNAB-ready CSV (AI categorization) |
ynab_import.py |
Import CSV into YNAB |
ynab_apply_csv_categories.py |
Match YNAB tx to CSV and fix Uncategorized |
ynab_cleanup_amazon.py |
Dedupe and verify categories in YNAB |
get_ynab_ids.py |
List budgets/accounts/categories |
app/, lib/ |
Next.js web app (Vercel) |
docs/ |
Instructions and deployment docs |
- docs/OPTION_A_INSTRUCTIONS.md — Amazon Chrome extension + normalizer workflow
- docs/README_YNAB_IMPORT.md — Import setup and commands
- docs/WEB_DEPLOY.md — Vercel deployment
Use as you like.