自动核对银行流水、系统订单、发票台账,秒级定位差异,对账时间从半天压缩到分钟级。全程本地处理,财务数据不外传。
references/reconciliation-rules.md)用户说:"帮我核对这份银行流水和订单表",然后提供文件路径或上传文件。
调用核心脚本:
bash
python3 scripts/reconcile.py reconcile \
--bank <bank_file.xlsx> \
--orders <orders_file.csv> \
--output report.xlsx
bash
python3 scripts/reconcile.py reconcile \
--bank <bank_file.xlsx> \
--orders <orders_file.csv> \
--invoices <invoices_file.xlsx> \
--date-tolerance 3 \
--output report.xlsx
bash
python3 scripts/reconcile.py preview --file <any_file.xlsx>
bash
python3 scripts/reconcile.py export \
--report report.xlsx \
--bitable-url <飞书多维表格URL>
文件类型必填字段说明银行流水交易日期、金额、流水号支持主流银行格式,见 field-mapping.md系统订单支付时间、金额、订单号支持金蝶/用友/SAP 导出格式发票台账开票日期、开票金额、发票号增值税发票标准格式
references/reconciliation-rules.md — 匹配规则、容差配置、异常分级references/field-mapping.md — 各银行/ERP/开票平台字段映射references/desensitization-rules.md — 脱敏规则(账号、姓名等)text
Python 3.8+
pandas
openpyxl
安装: pip install pandas openpyxl