No description
Find a file
Mavis 006a324081 feat: OCR scanned PDFs and capture all 11 missing stock codes
- 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
2026-09-18 06:12:30 +02:00
app fix: bypass Next.js fetch-cache for PB SDK calls 2026-09-17 23:59:13 +02:00
data/review/ocr feat: OCR scanned PDFs and capture all 11 missing stock codes 2026-09-18 06:12:30 +02:00
docs/superpowers/specs spec: clarify acceptance #4 wording 2026-09-17 21:32:20 +02:00
invoices fix: cleanup 6x duplicate lines + bogus JEISA000 stock code 2026-09-18 00:41:26 +02:00
scripts feat: OCR scanned PDFs and capture all 11 missing stock codes 2026-09-18 06:12:30 +02:00
.gitignore chore: tidy .gitignore and update NOTES.md with build discoveries 2026-09-17 23:08:38 +02:00
next-env.d.ts feat: working JEI invoice tracker with PB import + UI on port 6002 2026-09-17 23:07:56 +02:00
next.config.js feat: working JEI invoice tracker with PB import + UI on port 6002 2026-09-17 23:07:56 +02:00
NOTES.md chore: tidy .gitignore and update NOTES.md with build discoveries 2026-09-17 23:08:38 +02:00
package-lock.json feat: working JEI invoice tracker with PB import + UI on port 6002 2026-09-17 23:07:56 +02:00
package.json feat: working JEI invoice tracker with PB import + UI on port 6002 2026-09-17 23:07:56 +02:00
postcss.config.js feat: working JEI invoice tracker with PB import + UI on port 6002 2026-09-17 23:07:56 +02:00
tailwind.config.ts feat: working JEI invoice tracker with PB import + UI on port 6002 2026-09-17 23:07:56 +02:00
tsconfig.json feat: working JEI invoice tracker with PB import + UI on port 6002 2026-09-17 23:07:56 +02:00