返回顶部
b

bank-recon

Perform bank reconciliation between bank statements and general ledger files. Supports bank statement PDF ingestion, conversion of PDF statements into structured Excel data, custom amount thresholds, ID/key matching, and semantic description matching. Use when the user wants to read a bank statement PDF or Excel file, convert statement activity into a workbook, reconcile bank activity to GL transactions, identify matched and unmatched items, and generate an Excel workbook with reconciliation res

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
87
下载量
0
收藏
概述
安装方式
版本历史

bank-recon

# Bank Reconciliation Skill Reconcile bank statement rows against GL rows and produce an `.xlsx` workbook that is immediately reviewable by an accountant. ## Workflow 1. Identify the bank statement path and GL workbook path. 2. Accept either a bank statement `.xlsx` file or a bank statement `.pdf` file. 3. If the bank statement is a PDF, run the workflow so it first extracts the bank statement lines into a structured workbook, then reconciles that extracted workbook to the GL. 4. Confirm the reconciliation threshold. Default to `0.00` unless the user asks for a tolerance. 5. Run `scripts/recon_logic.py` with the bank file, GL file, output file, and threshold. 6. Return the generated workbook and summarize: - matched bank row count - matched GL row count - unreconciled bank row count - unreconciled GL row count 5. If the user asks for follow-up analysis, use the `Summary`, `Unreconciled Bank`, and `Unreconciled GL` tabs first. ## Output Workbook The generated workbook should contain these tabs: - `Summary`: threshold, matched counts, unreconciled counts, and basic totals - `Recon Results`: matched groupings with match basis and variance notes - `Unreconciled Bank`: bank rows not matched to the GL - `Unreconciled GL`: GL rows not matched to the bank ## Command ```bash python3 scripts/recon_logic.py <bank_xlsx_or_pdf> <gl_xlsx> <output_xlsx> [threshold] ``` When the bank input is a PDF, the script also creates a companion extracted workbook beside the PDF (same basename with `_extracted.xlsx`) before running reconciliation. ## Matching Logic Use a layered approach: 1. Preserve the original signs from both source files in the output. 2. Compare bank and GL amounts using absolute values for matching so bank polarity and accounting debit/credit polarity can reconcile without rewriting displayed source amounts. 3. Match by shared extracted keys such as batch IDs, invoice IDs, vendor IDs, customer IDs, and tax/payment references. 4. Allow one-to-one, one-to-many, many-to-one, and grouped many-to-many matches when totals fall within threshold. 5. For remaining items, use semantic name grouping plus summed-amount comparison. 6. Preserve unmatched rows in dedicated tabs instead of dropping them from the deliverable. ## Notes - Read the first worksheet from each input workbook. - Expect simple three-column inputs: date, amount, description/memo. - For text-based bank statement PDFs, the script extracts transaction rows by reading the PDF content streams and reconstructing the transaction table into a workbook. - The PDF path is best for digital statements with selectable text; scanned-image PDFs would still need OCR or a multimodal extraction path. - Keep the workbook generation dependency-light so it can run in minimal Python environments.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 bank-recon-skill-1776105332 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 bank-recon-skill-1776105332 技能

通过命令行安装

skillhub install bank-recon-skill-1776105332

下载 Zip 包

⬇ 下载 bank-recon v1.0.2

文件大小: 6.88 KB | 发布时间: 2026-4-14 10:25

v1.0.2 最新 2026-4-14 10:25
Preserve original GL signs in output and reconcile by absolute-value amount matching; update docs.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部