← ClaudeAtlas

coles-invoice-processorlisted

Processes Coles grocery invoices to extract structured data and predict future orders. Use when user uploads/pastes invoice content, asks to analyze grocery purchases, or wants shopping predictions.
evgeny-trushin/claude-skills-collection · ★ 0 · Data & Documents · score 62
Install: claude install-skill evgeny-trushin/claude-skills-collection
# Coles Invoice Processor Skill Analyze Coles grocery store invoices using Python scripts to convert PDFs, extract structured data, and predict future orders with budget forecasts. ## When to Use This Skill Activate when the user: - Uploads Coles invoice PDFs or images - Pastes invoice text content - Asks to extract grocery item data - Wants to analyze shopping history - Requests future order predictions - Needs shopping budget estimates ## Setup Requirements Before using the scripts, ensure dependencies are installed: ```bash # Create virtual environment (optional but recommended) python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install dependencies pip install -r requirements.txt ``` **Required packages:** `pymupdf4llm`, `pandas`, `prophet` ## Pipeline Overview The processing pipeline consists of 3 main scripts: 1. **01_convert.py** - Convert PDFs to Markdown 2. **03_extract_data.py** - Extract structured data from Markdown 3. **04_predict_orders.py** - Predict future orders and budget ## How to Process Invoices ### Step 1: Place Invoice PDFs Place Coles invoice PDFs in the `input_invoices/` directory. ### Step 2: Convert PDFs to Markdown ```bash python 01_convert.py ``` This converts each PDF in `input_invoices/` to a Markdown file in the same folder using `pymupdf4llm`. ### Step 3: Extract Structured Data ```bash python 03_extract_data.py ``` Parses the Markdown invoices and extracts: - Invoice metadata (number, da