Automate your Arizona ESA reimbursements and direct vendor payments in ClassWallet. Reduce submission time from 20-40 minutes to 5-25 minutes.
ESA Helper is a comprehensive desktop application that automates Empowerment Scholarship Account (ESA) reimbursement submissions and direct vendor payments through ClassWallet. Perfect for Arizona families using ESA funds for tutoring, curriculum, and educational services. Includes tools for managing student profiles, vendor information, reusable submission templates, and invoice generation.
Keywords: Arizona ESA | Empowerment Scholarship Account | ClassWallet Automation | ESA Reimbursement | Arizona Educational | Direct Pay Automation
IMPORTANT: Please read this carefully before using ESA Helper.
This tool is not affiliated with, endorsed by, or officially connected to:
- ClassWallet (the payment platform)
- The State of Arizona
- The Arizona Department of Education
- The Arizona ESA program or any government agency
This is an independent, third-party automation tool created to help families manage their ESA submissions.
USE AT YOUR OWN RISK. This software is provided "as-is" with:
- No warranty of any kind, express or implied
- No guarantee it will work with future versions of ClassWallet
- No liability for any loss, damage, or incorrect submissions
- No support beyond community help
You are entirely responsible for:
- Verifying that all submissions are correct before they're processed
- Ensuring you comply with all Arizona ESA program rules and requirements
- Checking your ClassWallet account after submissions to confirm they worked
- Keeping your credentials and data secure
- Backing up your data regularly
- ClassWallet updates may break the tool - If ClassWallet changes their interface, this tool may stop working until selectors are updated
- Always verify submissions manually - Don't assume the tool worked correctly; check ClassWallet to confirm
- Test with small amounts first - Use templates and test submissions before processing large amounts
- Keep records - Maintain your own records of all submissions independent of this tool
The creator of this tool:
- Uses it personally with their own ESA account and family
- Has tested thoroughly across multiple submission types and scenarios
- Made significant efforts to ensure reliability and security
- Maintains the code and fixes issues as they're discovered
- Shares the code openly so you can audit it and understand what it does
If the tool fails to submit or submits incorrectly:
- Check ClassWallet immediately - See what was actually submitted
- Correct any errors manually - Don't rely on the tool to fix itself
- Report the issue - Open a GitHub issue with details so it can be fixed
- Contact ClassWallet support - They are the authority on account issues
- Automated ClassWallet Submissions - Submit reimbursement requests and direct pay vendor payments with one click
- Direct Pay Automation - Automated vendor payment workflow with vendor search and category selection
- Invoice Generation - Create professional Excel and PDF invoices from templates with vendor and student data
- Multi-Family Support - Run on multiple computers with different ESA accounts and student data
- Student/Vendor Management - Easily manage student profiles and vendor information
- Reimbursement Templates - Create templates for recurring expenses (e.g., weekly lessons)
- Smart File Handling - Auto-load direct file paths or browse directories for attachments
- Intelligent Automation - Selenium-powered browser automation with fallback selectors
- Submission History - Track all submitted reimbursements and payments with complete details
-
Curriculum Generator - Generate curriculum documents using ChatGPT templates
- Create templates with dynamic placeholders
- Auto-generate ChatGPT prompts
- One-click copy-to-clipboard
- Paste ChatGPT response and generate PDFs
-
Data Migration - Export/import all your data for backup or transfer
- Complete data backup to JSON
- Import previously exported files
- Share data with family members
-
Setup Wizard - First-time configuration for non-technical users
- ESA credentials setup
- System requirements overview
- OS-specific installation guide
Perfect for Arizona families who use Empowerment Scholarship Accounts for:
- 👩🏫 Tutoring Services - Automate reimbursements for tutors and tutoring centers
- 📚 Curriculum Purchases - Submit receipts for textbooks, workbooks, and educational materials
- 🖥️ Technology & Software - Track computer equipment and educational software expenses
- 🎨 Enrichment Activities - Manage payments for music lessons, sports, coding classes
- 📋 Vendor Payments - Direct vendor payments with automatic invoice generation
- 📊 Batch Processing - Handle multiple submissions efficiently with templates
- 📁 Documentation - Professional invoice generation and expense tracking
Supports these Arizona ESA features:
- ClassWallet Reimbursement requests (personal reimbursement)
- ClassWallet Direct Pay (vendor payments)
- Multiple expense categories
- Arizona ESA purse selection
- Receipt and invoice documentation
Want to get up and running in 5 minutes? 👉 See QUICKSTART.md for step-by-step instructions including:
- Installation & setup
- Creating your first submission
- Setting up background automation (macOS/Windows/Linux)
- Troubleshooting
-
Install Python 3.11+
- Download Python
- macOS:
brew install [email protected] - Windows: Use official installer
- Linux:
sudo apt-get install python3.11
-
Install uv (Python Package Manager)
- macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh - Windows PowerShell:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" - Or use Homebrew:
brew install uv
- macOS/Linux:
-
Install Google Chrome
- ESA Helper uses Selenium with Chrome for automation
- Download Chrome or
brew install --cask google-chrome
-
Install LibreOffice (Optional)
- Needed for Excel to PDF conversion
- macOS:
brew install libreoffice - Windows: Download Installer
- Linux:
sudo apt-get install libreoffice
-
Download and Run
git clone https://github.com/petermandy/ESA-Helper-AZ.git cd ESA-Helper-AZ uv run main.pyThe app will open automatically in your browser at
http://127.0.0.1:5000Note: The default port is 5000. To use a different port, set the
PORTenvironment variable:PORT=8080 uv run main.py
Or edit
.envfile and changePORT=5000to your desired port.
| Requirement | Details |
|---|---|
| OS | macOS, Windows, or Linux |
| Python | 3.11 or higher |
| Browser | Google Chrome (required for automation) |
| LibreOffice | Optional (for PDF conversion) |
| Disk Space | ~500MB (including dependencies) |
| Internet | Required for ClassWallet submission |
- Run
uv run main.py - App opens to setup page automatically
- Enter your ESA ClassWallet credentials
- (Optional) Add student profiles and vendors
- Click "Save & Continue"
- Select Student - Choose which child the expense is for
- Choose Request Type - Select "Reimbursement"
- Choose Template (optional) - Use a saved template to auto-fill
- Enter Details - Store name, amount, expense category, comment
- Upload Files - Add receipts, invoices, and attestations
- Request Invoice (optional) - Generate invoice from template
- Review & Submit - See summary and submit via ClassWallet
- Select Student - Choose which child the payment is for
- Choose Request Type - Select "Direct Pay"
- Select Vendor - Choose the vendor to pay (payment is sent directly to them)
- Enter Amount - Specify the payment amount
- Select Category - Choose the ESA expense category
- Choose Account - Select which ESA purse to charge (e.g., "Arizona - ESA")
- Add Details (optional) - Add comments and invoice/quote number
- Review & Submit - Review details and submit via ClassWallet
Note: Direct Pay requires vendors to be configured with their ClassWallet search term for automatic lookup.
Different expense categories require different documentation. Make sure you have the right files before submitting:
| Category | Receipt | Invoice | Attestation | Curriculum |
|---|---|---|---|---|
| Computer Hardware | ✓ | |||
| Curriculum | ✓ | |||
| Tutoring (Facility) | ✓ | ✓ | ||
| Tutoring (Individual) | ✓ | ✓ | ✓ | |
| Supplemental Materials | ✓ | ✓ |
Missing documents will cause your submission to be rejected. Make sure all required files are selected before submitting.
- Go to Settings → Manage Templates
- Select a student
- Fill in template details (store name, amount, category, etc.)
- Add file paths (direct files auto-load, directories allow browsing)
- Save template
- Go to Help → Curriculum Generator
- Select student and create template with placeholders:
Create a {CURRICULUM_TYPE} curriculum for a {AGE} year old girl named [STUDENT_NAME] with student ID [STUDENT_ID] that requires: {MATERIALS_LIST} - Fill in field values in the form
- Review generated prompt and copy to clipboard
- Paste in ChatGPT and get response
- Paste response back to generate PDF
- Go to Help → Data Backup & Migration
- Click "Download Backup File" to export all data
- Store safely for recovery or sharing with family
ESA-Helper-AZ/
├── app/
│ ├── __init__.py # Flask app setup
│ ├── routes.py # All API routes
│ ├── utils.py # Utility functions
│ ├── invoice_generator.py # Excel/PDF invoice generation
│ ├── classwallet.py # Selenium automation
│ ├── automation.py # Main orchestration
│ ├── static/
│ │ ├── css/style.css # Custom styles
│ │ └── js/app.js # Frontend JavaScript
│ └── templates/
│ ├── index.html # Main form
│ ├── setup.html # First-time setup
│ ├── requirements.html # Installation guide
│ ├── manage-students.html # Student management
│ ├── manage-vendors.html # Vendor management
│ ├── manage-templates.html # Template management
│ ├── data-migration.html # Backup/restore
│ └── curriculum-generator.html # Curriculum tool
├── data/
│ ├── students_detailed.json # Student profiles
│ ├── vendors_detailed.json # Vendor profiles
│ └── templates/
│ ├── student_b.json
│ ├── taylor.json
│ └── evie.json
├── main.py # Entry point
├── pyproject.toml # Python dependencies
└── README.md # This file
{
"email": "[email protected]",
"password": "your_classwallet_password",
"students": {
"Student A": "student_a_id",
"Student B": "student_b_id",
"Student C": "student_c_id"
}
}Note: Keep this file private! Never share it. It contains your ClassWallet credentials.
It's recommended to keep ESA Helper running continuously so you can submit reimbursements anytime.
See QUICKSTART.md - Keep the App Running Continuously for detailed instructions for:
- macOS: Using LaunchAgent (auto-start on login)
- Windows: Using Task Scheduler (auto-start on login)
- Linux: Using systemd (auto-start service)
The guide also includes quick restart scripts for each platform if you need to restart the app manually.
A: Yes! ESA Helper is specifically designed for Arizona ESA families using ClassWallet. It automates both reimbursement requests and direct vendor payments (Direct Pay) through ClassWallet.
A: All Arizona ESA expense categories including: tutoring services, curriculum, computer hardware, supplemental materials, enrichment activities, and more. The app dynamically adapts to available categories in your ClassWallet account.
A: Yes! ESA Helper is perfect for tutoring reimbursements. It automates the entire process from file upload to submission, and can create templates for recurring tutoring expenses.
A: Most families reduce submission time from 20-40 minutes to 5-25 minutes per submission. With templates for recurring expenses, you can save 70%+ of time.
A: Your ClassWallet credentials are stored locally in config.json on your computer. They are never sent to external servers. However, treat this file like a password - keep it private and don't share it.
A: Yes! Download the app on multiple computers and configure each with different ESA credentials. You can also export data from one installation and import on another.
A: Yes! Full Direct Pay automation is supported. Configure vendors with their ClassWallet search terms for automatic vendor lookup and payment processing.
A: PDF generation will be skipped, but the Excel invoice will still be created. You can convert to PDF manually using Excel or another tool.
A: Go to Help → Data Backup & Migration and click "Download Backup File". Store it safely or share with family members.
A: Yes! Go to Settings → Manage Templates. You can create templates for common expenses like weekly lessons, monthly subscriptions, or regular curriculum purchases.
A: Yes! It works on all major operating systems. Just make sure Python, Chrome, and uv are installed.
- Install LibreOffice:
brew install libreoffice - Or download from libreoffice.org
- PDF conversion will be skipped if not installed (Excel still works)
- Install Chrome:
brew install --cask google-chrome - Or download from google.com/chrome
- ESA Helper looks for Chrome in standard locations
- Another app is using port 5000
- Use a different port via the
PORTenvironment variable:PORT=8080 uv run main.py
- Or edit the
.envfile and changePORT=5000to your desired port (e.g.,PORT=8080)
- Make sure you're using
uv runnotpython uv runautomatically installs dependencies
- This is intentional - app doesn't keep browser window open to save resources
- Check submission in ClassWallet manually if needed
- Create templates for recurring expenses - Save 5+ minutes per submission
- Use direct file paths - Auto-loaded files save time on file selection
- Batch similar submissions - Process similar requests together
- Keep CSV of expenses - Track what you've submitted
- HTML selectors are brittle - If ClassWallet updates their interface, selectors may break
- Multiple selector fallbacks - The app tries 8 different selector combinations to find form elements
- Network dependent - Requires stable internet connection during submission
- Browser integration - Uses Selenium WebDriver; some ClassWallet features may require manual interaction
- Your document files must be accessible on your local filesystem
- Network drives (Synology, Google Drive, etc.) must be mounted as local folders
- Relative paths not supported - use absolute paths
This app stores all data locally on your computer:
- Student/vendor profiles:
data/students.json,data/vendors.json - Templates:
data/esa_templates/directory - Credentials:
config.jsonin project root
Keep backups of important data in data/ directory!
- Requires Google Chrome/Chromium browser
- Browser window opens and closes during submission
- Cannot run multiple submissions simultaneously
- AutoFill and saved passwords may interfere with automation
- Image editor popup during file upload - App detects this popup and automatically clicks Save (implemented Nov 2025)
- Category selection requires multiple attempts - Some forms may take 2-3 clicks to register selection
- LibreOffice PDF conversion - May fail silently if LibreOffice not installed (but Excel still works)
- Special characters in file paths - May cause issues with file browsing
- Backend Routes →
app/routes.py - Frontend UI →
app/templates/ - Styles →
app/static/css/style.css - JavaScript →
app/static/js/app.js
We welcome contributions! Areas that could use help:
- PDF generation from ChatGPT responses
- Recurring invoice templates
- Email invoice to vendor
- Multi-language support
- Dark mode
- Mobile app version
- Direct ChatGPT API integration
- Automatic expense categorization with ML
- Receipt OCR for amount extraction
- Integration with other ESA platforms
- Cloud backup (optional)
- Scheduled submissions
- Invoice history and reporting
- Custom invoice templates
- Local Storage Only - All data stored on your computer
- No Cloud Uploads - No data ever sent to external servers
- No Tracking - No analytics or telemetry
- Open Source - Code is transparent and auditable
- Credentials Protected - Passwords stored locally, not shared (not sent to external services)
This is an automation tool for personal family use. While we take security seriously, please be aware:
- Credentials stored in plaintext - ClassWallet email/password stored in
config.json(protected by file permissions only) - No encryption - User data not encrypted at rest
- No authentication - Web interface has no login (assumes only you access it)
- Limited input validation - Some inputs not fully validated for format/content
- File access unrestricted - Can access any file on your system that you have permission to read
- Run on a trusted computer only (your personal device, not shared devices)
- Change your ClassWallet password regularly
- Keep credentials out of version control (they're in
.gitignore) - Don't share the code folder with others (contains your data)
- Use file permissions to restrict access to the project folder
- Enable your computer's screen lock when away
If sharing with other families:
- Each person should use their own project folder (clone separately)
- Each person configures their own credentials
- Do not share the
data/folder orconfig.json - Sample data provided in
*.sample.jsonfiles - use these as templates
MIT License - Feel free to modify and distribute
- Questions? Check the in-app Help menu
- Bug Report? Open an issue on GitHub
- Feature Request? Submit an issue with details
- Multi-family support with setup wizard
- Student, vendor, template management
- Data backup and migration
- Curriculum generator with ChatGPT integration
- Comprehensive documentation
- Excel file corruption fix with template structure preservation
- Template file clearing on switching
- Auto-load direct file paths
- Basic ClassWallet automation
- Invoice generation
- Template system
Made with ❤️ to help Arizona families manage Empowerment Scholarship Account expenses efficiently
Last Updated: November 29, 2025