Releases: qingfpc/PDF-Invoice-Renamer
v2.0.1 - Robust Rendering for New Digital Invoices (Full-Tax Stamps Support)
🚀 What's New / 更新内容
- Fix: Invoice Stamp Loss: Completely resolved the issue where electronic stamps and icons would disappear after merging, especially for the latest Full-Digital Electronic Invoices.
- 修复:发票印章丢失:彻底解决了合并后红色监制章、发票章消失的问题,完美支持最新的全电发票(数字化电子发票)。
- High-Definition Rendering: Switched to a high-resolution rasterization rendering logic (3.0x zoom / ~216 DPI) to ensure 100% visual fidelity for financial reimbursement.
- 高清渲染技术:引入高清位图渲染逻辑(3.0 倍率 / 约 216 DPI),确保 100% 视觉还原,满足财务报销打印的清晰度要求。
- Layout Optimization: Refined A4 coordinate calculations with added safety margins to prevent content from being clipped by printers.
排版逻辑优化:精细化 A4 页面坐标计算,增加了安全边距,防止发票边缘内容在打印时被裁切。
📦 Included Executables / 包含的程序说明
To provide a complete toolset, we have re-packaged and uploaded all three tools. It is highly recommended to use the latest v2.0.1 versions.
为了提供完整的工具集,我们重新打包并上传了所有三个工具。强烈建议使用最新的 v2.0.1 版本。
- InvoiceHelper_AllInOne_v2.0.1.exe (Recommended/推荐):
- The full-featured master tool (Rename + Merger) with the new robust rendering engine.
- 包含重命名与合并完整流程的全功能主程序,已集成最新的强力渲染引擎。
2.InvoiceMerger_Only_v2.0.1.exe: - Updated with the new rendering logic to fix stamp loss during merging.
- 仅合并工具,已更新渲染逻辑以修复印章丢失问题。
3.InvoiceRenamer_Only_v2.0.1.exe: - Re-uploaded for version consistency (Internal logic remains same as v2.0.0).
- 仅重命名工具,为保持版本一致性重新上传(逻辑同 v2.0.0)。
🛠 Technical Note / 技术说明
This update addresses a known limitation in PDF vector merging where Optional Content Groups (OCG) or transparency masks used in digital invoices were lost. The new version renders each page as a high-fidelity image before placement. 本次更新解决了 PDF 矢量合并中的局限性(即全电发票使用的 OCG 图层或透明度掩模在合并时会失效的问题)。新版本在排版前会将每一页渲染为高保真图像,实现“所见即所得”。
v2.0.0 - All-in-One Invoice Helper (Rename & Layout Merger)
🚀 What's New
- New Feature: A4 Layout Merger: Introduced an intelligent merging tool that arranges two invoices onto a single A4 page (2-up), significantly saving paper for printing.
- Integrated Workflow: Added a master script that allows users to perform both renaming and merging tasks in one go.
- Improved Extraction: Enhanced text parsing logic for better recognition of seller names and total amounts.
- Multi-language Support: Added English versions for the README and documentation.
📦 Included Executables
To meet different user needs, we have provided three separate tools in this release:
- InvoiceHelper_AllInOne.exe (Recommended): The full-featured master tool for a complete workflow.
- InvoiceRenamer_Only.exe: Dedicated tool for automatic file renaming only.
- InvoiceMerger_Only.exe: Dedicated tool for A4 layout and PDF merging only.
🚀 更新内容
- 新增功能:A4 排版合并:引入了智能拼版功能,支持将两张发票自动排版至一张 A4 纸(上下排列),大幅节省打印纸张。
- 整合工作流:新增全功能主程序,支持一次性完成重命名与合并任务。
- 识别优化:改进了提取逻辑,提升了对销售方名称和合计金额的识别准确率。
- 多语言支持:新增了英文版的 README 和文档说明。
📦 包含的程序说明
本次发布包含三个独立的工具,以满足不同使用场景:
- InvoiceHelper_AllInOne.exe (推荐):全功能合集,支持重命名+合并完整流程。
- InvoiceRenamer_Only.exe:仅进行发票自动重命名。
- InvoiceMerger_Only.exe:仅进行 A4 拼版与 PDF 合并。
v1.0.1 - 电子发票自动重命名工具
v1.0.1
- 修复 build/dist 冗余文件问题
- 更新 README.md 下载链接
- 修正版本号内置为 1.0.1
v1.0.0 - 电子发票自动重命名工具 (初始发布)
🎉 初始版本 (Initial Release)
这是 Invoice Renamer 的第一个正式稳定版本。如果你需要批量整理混乱的 PDF 电子发票文件名,这个工具可以帮助你自动化处理。
✨ 主要功能 (Features)
- 智能解析:自动识别 PDF 发票中的发票代码、号码、开票日期、金额及销售方名称。
- 批量处理:支持指定文件夹,一键处理成百上千个文件。
- 自定义格式:内置 4 种常用命名格式(如
20231201_京东_299.00.pdf)。 - 无需配置:单文件绿色版,无需安装 Python 环境,下载即用。
📦 如何使用 (Usage)
- 下载下方的
InvoiceRenamer.exe文件(在 Assets 区域)。 - 双击运行程序。
- 按照屏幕提示输入发票所在的文件夹路径。
- 选择你喜欢的重命名格式,回车即可。
注意:目前主要支持中国标准增值税电子普通/专用发票(PDF格式)。