# EIB Processor Equals Money → Workday EIB transformer and statement auditor. Built by Undo Designs for Planeterra International Foundation. ## Quick start ```bash docker compose up --build ``` Then open http://localhost:5000 ## What it does 1. Upload a raw Equals Money export (.xlsx) 2. Optionally upload a combined card statement CSV for per-person audit 3. Download the processed EIB Excel file The audit table appears in the output file four columns after the last EIB column. Each person gets a single MATCHED / REVIEW REQUIRED status based on: ``` sum(EIB Converted Amount) == sum(statement Total debited for rows in EIB) ``` ## PDF statement audit (Docling) The Docling container starts automatically with Docker Compose. Once it's healthy (check the badge in the top-right of the UI), you can upload a PDF statement instead of the CSV. PDF parsing extracts the opening/closing balance summary from page 1 of the Equals statement. The Docling health check takes ~60s on first start. ## Adding new merchants If the processor reports unmapped merchants, add them to `MERCHANT_LOOKUP` in `app/main.py` and restart: ```bash docker compose restart app ``` ## Services | Service | Port | Description | |----------|-------|------------------------------------| | app | 5000 | Flask web app | | docling | 5001 | Docling PDF parsing service | ## Volumes - `./uploads/` — temporary uploaded files - `./outputs/` — generated EIB Excel files