LedgerClean (账清) is a deterministic, zero-dependency, 100% offline multi-platform statement & electronic voucher reconciler for indie hackers, e-commerce sellers, bookkeepers, and Beancount / Plain-Text Accounting users.
Try the Interactive Browser Studio (No Install Required):
- Official Website & Pro Visual Studio: https://2848823170.github.io/ledgerclean-pro/
- Live 50-Row Browser Sandbox: https://2848823170.github.io/ledgerclean-pro/demo.html
- China Direct Instant License / Custom Python & Excel Automation (闲鱼官方店):
- Auto-Decodes Messy Encodings & Preserves Long IDs (
防 GBK 乱码 & 28位长单号防截断): Automatically detectsGB18030/GBKvsUTF-8-BOMCSV exports (Alipay, WeChat Pay, Stripe, Gumroad, bank statements) without corrupting 28-digit transaction IDs into2.02611E+27. - Exact Integer Micro-Unit Math (
零浮点误差精确分位核对): Every amount, platform fee, cross-period partial refund, and multi-currency conversion is computed in integer micro-units (BigInt) — zero IEEE-754 cent drift. - Subset-Sum
N : 1Combined Voucher Matching (多笔零散支出自动凑单核对): Automatically matchesNindividual ride-hail/procurement charges against a single consolidated monthly PDF/XML voucher. - 5 Ready-to-Use Accounting Exports:
reconciled_ledger.csv(UTF-8-BOM Excel / WPS ready)anomalies_checklist.csv(missing vouchers, duplicate reimbursement alerts, entity/header mismatches)ledger.beancount(strictly zero-sum balanced double-entry Beancount journal)quickbooks_import.csv(QuickBooks / Xero import format)audit_report.html(printable financial summary & audit report)
Requires Node.js >= 20 (zero npm runtime dependencies; 0 bytes uploaded anywhere):
git clone https://github.com/2848823170/ledgerclean-cli.git
cd ledgerclean-cli
# Run reconciliation on the 12 bundled multi-platform sample files
npm run demo
# Inspect a single GB18030 / UTF-8 CSV or XML/PDF voucher
node ./bin/ledgerclean.mjs inspect ./samples/alipay_2026_11_gbk.csv
# Run the automated test suite
npm testSample output:
========================================================================
LedgerClean CLI v1.0.0 (Community Edition) — Reconciliation Complete
========================================================================
Ingested Files : 12 (21 unique tx, 6 valid vouchers)
Realized Net Income : ¥3,241.68 (Gross: ¥3,525.24 | Fees: ¥188.50 | Refunds: ¥95.06)
Realized Net Spend : ¥1,904.74 (Refunds Netted: ¥130.00)
Net Profit/Surplus : ¥1,336.94 (Transfers Excluded: ¥8,748.32)
Voucher Match Rate : 88.9% (8/9 expenses matched)
Compliance Alerts : 2 total (0 critical/error)
========================================================================
| Capability | ledgerclean-cli (Community) |
LedgerClean Pro (账清专业版) |
|---|---|---|
Zero-Cloud Local Execution (0 network calls) |
Yes | Yes (Strict CSP Offline) |
| Auto GBK/UTF-8 CSV + PDF/XML/UBL Parsing | Yes | Yes |
| Beancount / Excel CSV / QuickBooks / HTML Export | Yes | Yes |
| Transactions per Run | Up to 50 tx |
Unlimited (--license + GUI) |
Drag-and-Drop Visual Reconciliation Studio (index.html) |
Web Trial (50 tx) |
Full Single-File Offline Studio |
| Interactive Manual Match / Unlink / Filter Table | — | Included |
| Pricing | Free (MIT) | One-Time Buyout (¥9.9 CN / $9 Global) |
👉 Get LedgerClean Pro (Instant Offline Package + Ed25519 License Key):
- Web Storefront & Live Demo: https://2848823170.github.io/ledgerclean-pro/
- 国内闲鱼秒发通道 (¥9.90 买断无月租): https://www.goofish.com/item?id=1102543877537
- 定制业务脚本 / 复杂表格自动化代做: https://www.goofish.com/item?id=1103577856519
MIT License — see LICENSE.