Hi everyone,
I'd like to share a tool I've been working on:
FinancialBeancount — a local Beancount converter and deduplicator for
Alipay, WeChat Pay, and bank statements.
Repository:
https://github.com/CacinieP/FinancialBeancount The problem it solves:
If you use multiple payment platforms in China (Alipay, WeChat Pay, bank
cards), the same transaction often appears in 2-3 different statement
exports. Importing them all into Beancount creates duplicates. Existing
importers handle one platform at a time, with no cross-platform
deduplication.
Key features:
- Three-level fingerprint deduplication (L1 exact / L2 loose / L3 fuzzy)
to catch duplicates across Alipay, WeChat, and bank statements
- Multi-format support: CSV, XLSX, PDF (via pdfplumber)
- Refund detection and incremental processing
- Smart account classification following Beancount best practices
- Privacy-first: all processing is local, no data leaves your machine
It's pip-installable (pip install financial-beancount) with a CLI entry
point (beancount-dedup), and includes a comprehensive test suite.
Feedback and contributions welcome!
Best,
CacinieP