# xactdiff Compare two Xactimate estimates and identify missing line items. ## Purpose Construction contractors use this tool to compare: - Their estimate vs. Insurance estimate - Find missing line items that should be included - Identify discrepancies in scope ## Usage ```bash xactdiff estimate1.pdf estimate2.pdf output.xlsx ``` The output Excel file contains: - **Estimate1 sheet**: All line items from first PDF - **Estimate2 sheet**: All line items from second PDF - **Diff sheet**: Side-by-side comparison with fuzzy matching - Highlighted rows show differences - Missing items clearly marked ## Features - Fuzzy text matching (handles slight wording differences) - Color-coded differences (green = match, red = missing/different) - Organized by trade category - Sortable and filterable in Excel ## Requirements ```bash python3 -m pip install --user pdfplumber pandas openpyxl rapidfuzz ``` ## Installation ```bash chmod +x xactdiff.py sudo ln -s $(pwd)/xactdiff.py /usr/local/bin/xactdiff ``` ## Related Tools - **xactparse**: Extract and total line items from single estimate