No description
- Installed Tesseract OCR via winget - Added scripts/ocr_invoices.py to OCR all PDFs via PyMuPDF - Updated extract_invoices.py to fall back to OCR text for scanned pages - Fixed stock-code regex to match "qty + code" pairs only (avoids spurious matches like bare TCT in invoice headers) - Added merge step to combine multi-page proformas into single invoice records - All 11 previously-missing codes now in PB: JEITCS12, JEITCS18, JEITCS22, JEITCL22, JEITCL92, JEICS17, JEICS19, JEICS27, JEICS30, JEICS34, JEICS14-P1 - Only JEITCS50 remains unlisted (genuinely never ordered) PB now: 19 invoices, 158 stock codes, 281 line items |
||
|---|---|---|
| app | ||
| data/review/ocr | ||
| docs/superpowers/specs | ||
| invoices | ||
| scripts | ||
| .gitignore | ||
| next-env.d.ts | ||
| next.config.js | ||
| NOTES.md | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||