prototype / May 2026
Coretax Renamer
Faktur Pajak PDFs exported from Coretax have opaque filenames that are hard to reference.
Why I built it
Needed to quickly identify invoices by buyer name and number without opening each PDF.
What it does
A PWA to batch-rename Coretax Faktur Pajak PDFs by extracting buyer name, invoice reference, and faktur kode from the PDF text layer.
Tech used
- PWA
- JavaScript (ESM)
- PDF.js
- nginx
Batch-rename Faktur Pajak PDFs with configurable filename templates and delimiters.
Features
- Client-side only - all processing happens in your browser
- Offline support - works without internet after first load (Service Worker caches pdf.js)
- Configurable delimiter - choose space, underscore, hyphen, dot, or custom separator
- Custom filename template -
{invoice}{d}{name}{d}{kode}(delimiter {d}) - Drag & drop or file browse
- Batch download renamed PDFs
- Collision handling - auto-appends
(2),(3)for duplicate names
How it works
- Drop Coretax-exported Faktur Pajak PDFs onto the window, or click Browse PDFs
- The app parses each PDF and extracts:
- Buyer name (from “Pembeli” block)
- Invoice reference (from “Referensi:” line)
- Kode dan Nomor Seri Faktur Pajak
- Proposes new filename using configurable template
- Click Apply to download all renamed PDFs
Usage
# Clone and build
git clone git@github.com:ilmimris/coretax-renamer-web.git
cd coretax-renamer-web
podman build -t ghcr.io/ilmimris/coretax-renamer-web:latest .
Deployed to k3s cluster with ingress at coretax.mris.dev.
Notes
- Uses PDF.js from CDN (cached for offline)
- Target audience: SiCepat Ekspres internal teams
- Built as a lightweight client-side alternative to the Rust desktop version