v-invoice: Real-time PDF Invoice Monitoring, Parsing & Archiving Engine
Table of Contents

Invoices in, organized ledgers out — automatically. v-invoice is a lightweight, real-time invoice monitoring and archiving tool from vtoollab.com, built for finance teams, freelancers, e-commerce operators, and automated office environments.
Built as a single Go binary with an embedded dark-mode web console and zero external dependencies, v-invoice watches incoming folders (such as browser downloads or messenger file directories), parses PDF invoice contents locally, eliminates duplicate reimbursements, renames files with structured metadata, and appends entries directly into monthly Excel summary ledgers.
Core Features#
- Real-time directory monitoring: Powered by OS-level filesystem notifications (
fsnotify), detecting newly saved PDF invoices within milliseconds without manual intervention. - 100% local privacy (Zero-Upload): All PDF text extraction, metadata parsing, and Excel generation happen strictly in local memory. Sensitive financial data never leaves your machine.
- Deep PDF content parsing: Automatically extracts key fields directly from vector PDF layers, including Invoice Date, Total Amount, Seller Name, and Invoice Number.
- Duplicate reimbursement protection: Tracks previously archived invoice numbers across existing directories and blocks duplicate PDFs in real time before they pollute your ledger.
- Smart categorization & renaming: Automatically classifies expenses (e.g.,
Dining,Transport,Hotel,Cloud-IT,General-Office) and renames cryptic filenames into clean, sortable formats. - Automated Excel ledger generation: Creates and updates monthly
.xlsxreimbursement spreadsheets (YYYY-MM_Invoice_Ledger.xlsx) with timestamps, metadata, amounts, and local file paths. - Bilingual Web UI (EN / 简体中文): Built-in dark-mode dashboard with automatic browser language detection and one-click switching.
- Single binary & zero dependency: No Python, Java, or database setup required. Just run the executable and manage everything from your browser.
How to Use#
- Download the archive below and extract
v-invoice.exe. - Launch
v-invoice.exe. The program starts a local loopback web server and automatically opens the control console in your default browser. - Verify directories: Confirm your Watch Directory (e.g.,
C:\Users\Admin\Downloads) and Archive Destination (e.g.,D:\Documents\V-Invoice-Archive). - Start monitoring: Click Start Monitoring for continuous background watching, or click Scan Existing PDFs to batch-process historical invoices already sitting in your folder.
File Naming & Organization Rules#
v-invoice transforms messy downloaded filenames into a standardized, audit-ready directory tree:
Before (Raw Downloads):
Downloads/
├── dzfp_2611200001928374.pdf
├── 20261121_receipt_final.pdf
└── download(3).pdfAfter (Structured Archive):
V-Invoice-Archive/
├── 2026-11_Invoice_Ledger.xlsx
└── 2026-11/
├── Transport/
│ └── 2026-11-21_Didi-Mobility_48.50_2611200001928374.pdf
├── Cloud-IT/
│ └── 2026-11-20_Cloudflare-Inc_140.00_88492019.pdf
└── Dining/
└── 2026-11-18_Starbucks-Coffee_62.00_99201844.pdfTypical Workflow#
A typical v-invoice pipeline operates completely unattended:
PDF saved to Downloads / Messenger
↓
fsnotify triggers event (800ms debounce)
↓
Extract text & verify invoice signature
↓
Parse Date, Amount, Seller & Invoice No
↓
Check Invoice No against Duplicate Index
├── Duplicate? → Block & Log Warning
└── Unique? → Rename & Move to YYYY-MM/Category/
↓
Append row to Monthly Excel LedgerRecommended Use Cases#
v-invoice is particularly useful for:
- Monthly employee expense reimbursement preparation
- Freelancers and independent contractors tracking deductible business expenses
- Finance and accounting teams collecting digital invoices from email or chat apps
- E-commerce operators reconciling vendor and logistics invoices
- Local data preparation pipelines for AI financial analysis (
AIClaw Infrastructure)
Lightweight Architecture#
The tool encapsulates both backend processing and frontend UI into a single portable executable:
v-invoice.exe
│
┌─────────────┼─────────────┐
│ │ │
Embedded UI fsnotify PDF & Excel
(HTML/JS/i18n) Watcher Engine
│ │ │
└─────────────┼─────────────┘
│
Local Loopback HTTP
(127.0.0.1:Random)Go handles:
Real-time filesystem event watching & debouncing
Vector PDF plain-text extraction
Multi-pattern invoice field parsing
In-memory & disk-based duplicate deduplication
Atomic file renaming & directory routing
Native .xlsx spreadsheet generationwhile the embedded HTML/JS console provides a clean, zero-install graphical interface.
⬇️ Download v-invoice.zip#
Version: 1.0.0 | Platform: Windows (x64) | Edition: Free Local Edition
There are no articles to list here yet.