How jaybeloc/joc-pdf-to-excel works
Jaybel PDF → Excel is an offline, browser-only converter for customer statements and tax invoices. Users choose a document type, add up to ten PDFs, convert each to a corresponding Excel workbook, and download files individually or as a ZIP. The main path runs through the UI batch controller, PDF text extraction and document-specific parsing, then workbook generation and download handling. The README documents three invoice layouts, statement ageing and payment details, line-item total checks, and local-only processing; these are represented without assuming unshown parser internals.
Main entry points: app.js Batch and downloads · index.html Conversion interface · excel.js Statement workbook · core.js PDF text extraction
Components 12
Browser workflow
- Conversion interface
index.html - Batch and downloads
app.js
PDF interpretation
- PDF text extraction
src/core.js - Document detection
src/core.js - Statement parsing
src/core.js - Invoice parsing
src/core.js
Excel output
- Statement workbook
src/excel.js - Invoice workbook
src/excel.js
Other components
- User
- PDF files
- XLSX files
- ZIP archive
Connections 13
- User → Conversion interface: chooses and adds
README.md - Conversion interface → Batch and downloads: submits files
app.js - PDF files → Batch and downloads: provides PDFs
app.js - Batch and downloads → PDF text extraction: extracts lines
app.js - Batch and downloads → Document detection: detects type
app.js - Batch and downloads → Statement parsing: parses statements
app.js - Batch and downloads → Invoice parsing: parses invoices
app.js - Batch and downloads → Statement workbook: builds workbook
app.js - Batch and downloads → Invoice workbook: builds workbook
app.js - Statement workbook → XLSX files: writes statement XLSX
src/excel.js - Invoice workbook → XLSX files: writes invoice XLSX
src/excel.js - Batch and downloads → ZIP archive: packages outputs
app.js - Batch and downloads → User: offers downloads
app.js