鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

Invoice-Downloader#dsh-invoice-downloader

面向 DeepSeek Harness 的本地 IMAP 发票下载、OCR 识别、归档与 Excel 报销汇总。

工具能力
访问 GitHub
文档README

Invoice Downloader for DeepSeek Harness

中文 | English

在 DeepSeek Harness 的右侧边栏中运行本地 IMAP 发票下载:读取 QQ 邮箱或 163 邮箱、下载发票附件、在本地 OCR、按规则归档并生成 Excel 汇总。

安装

▼
powershell
复制代码
dsh plugin --profile web add @ethanyoq/dsh-invoice-downloader

启动 DSH Web,打开右侧的“发票下载”入口,先点击“安装本地引擎”,再选择保存位置并完成 IMAP 配置。运行时安装仅在本机创建 Python 虚拟环境;不会在安装包或插件设置中保存邮箱授权码或 API 密钥。

支持的平台

  • Windows x64
  • macOS Apple Silicon

首次运行需要可用的 Python 3.10+。插件将可变的本地运行时安装在自己的 DSH profile 状态目录中;安装包内的引擎资源保持只读,扫描结果只写入你选择的输出目录。

本地 OCR 依赖

本地引擎安装会通过 pip 下载 rapidocr-onnxruntime==1.2.3 及其平台依赖。该 RapidOCR wheel 内含默认 PP-OCRv3 ONNX 模型文件,因此不需要在 pip 安装完成后再手动下载或放置 OCR 模型。npm 包本身不包含这些模型;首次安装本地引擎需要联网下载 Python 依赖,也会运行 playwright install chromium 以支持链接发票恢复。

  • Windows x64:准备 Python 3.10+ 后,点击“安装本地引擎”即可下载 RapidOCR wheel 与模型,不存在 Windows 安装包预置的模型文件。
  • macOS Apple Silicon:使用原生 Python 3.10+;同一安装器下载 RapidOCR wheel 和兼容的平台依赖,不需要单独获取或部署模型。

数据处理

默认链路在本地对发票文件进行 OCR,并将 OCR 文本提交给当前已选择的 DeepSeek 模型以提取字段。启用可选 GLM 路径时,图像会发送给 GLM 服务。邮箱授权码和 GLM 密钥由 DSH 凭据服务管理,不写入插件设置或扫描日志。

扫描只读访问 IMAP 邮箱。请在报销、入账、税务或合规使用前人工核验所有结果。

开发与打包

▼
powershell
复制代码
npm install npm test npm pack

npm pack 会从仓库根目录的 Python 源码生成包内的只读引擎副本。构建产物不含发票、邮箱地址、凭据、输出目录、DSH profile 或缓存。

English

Run local IMAP invoice download, OCR, archive, and Excel summary workflows from a right-side DeepSeek Harness panel. Install the bundle with:

▼
sh
复制代码
dsh plugin --profile web add @ethanyoq/dsh-invoice-downloader

The package supports Windows x64 and macOS Apple Silicon. Use the panel to install its local Python runtime, choose an output directory, and configure IMAP. Credentials are stored through the DSH credential service rather than plugin settings.

Local OCR dependency

Installing the local engine uses pip to download rapidocr-onnxruntime==1.2.3 and its platform dependencies. The RapidOCR wheel contains the default PP-OCRv3 ONNX model files, so no second manual model download or model placement is required after pip installation. The npm package does not contain those models; first-time local-engine setup needs network access for the Python dependencies and runs playwright install chromium for invoice-link recovery.

  • Windows x64: after Python 3.10+ is available, Install local engine downloads the RapidOCR wheel and its models. The Windows npm installation does not pre-bundle a model.
  • macOS Apple Silicon: use native Python 3.10+. The same installer downloads the RapidOCR wheel and compatible platform dependencies; no separate model deployment is needed.

The default flow OCRs invoice files locally and sends OCR text to the selected DeepSeek model for field extraction. Optional GLM mode can send images to GLM. Review every invoice result before using it for reimbursement, accounting, tax, or compliance work.

工具能力

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:EthanYoQ/Invoice-Downloader#path:/plugins/dsh-invoice-downloader

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题
dsh 插件推荐
dsh-live-canvas
在隔离的 iframe 沙箱中实时渲染 Agent 生成的 HTML、React (JSX/TSX)、Vue、SVG、Mermaid 和 Markdown,支持 SSE 热重载,并提供 DOM 点击检查器、并排视觉对比、响应式设备矩阵和一键 Vite ZIP 导出。
dsh-plugin-model-capability
DSH 网页端对话导航点 — 快速跳转用户消息。
dsh-firecrawl
通过 Firecrawl Cloud API 把 URL 抓成 LLM 可用 Markdown,或搜索网页并返回结果内容。
dsh-browser-use
Browser Use 云端桥接:通过 Browser Use API 让 dsh agent 执行真实网页任务,包括打开页面、点击、输入、填表和提取数据。
dsh-frecency
为 DeepSeek Harness 提供常驻索引 grep,以同名遮蔽内置 grep/glob 工具:重复内容检索命中按访问/修改 frecency 排序的内存索引,glob 在可用时对齐内置 ripgrep 语义、不可用时回退索引。