invoice-excel-organizer
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "invoice-excel-organizer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-928cc4ff418e43b8421cbce4b7243e9150b766b1d421036975c085852fda03df. Verify the upstream source and version against https://skillhub.cn/skills/user_ae827bc3/invoice-excel-organizer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
invoice-excel-organizer: bulk invoice organization tool. Processes batches of user-provided invoice files (PDFs, images, screenshots; supports mixed VAT special invoices, general invoices, and e-invoices), recognizes and extracts key fields such as invoice code, number, issue date, buyer/seller name and tax ID, amount, tax, and total, generates Excel ledgers/templates per a template, and outputs a checklist for manual verification. Designed for Chinese invoices and suitable for invoice organization, bookkeeping templates, and bulk data extraction scenarios.
Introduction source: third_party · user_ae827bc3 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: invoice-excel-organizer
description: 发票批量整理技能。批量处理用户提供的发票文件(PDF、图片、截图,支持增值税专票/普票/电子发票混合),识别并提取关键字段(发票代码、号码、开票日期、购销方名称与税号、金额、税额、价税合计等),按模板生成 Excel 台账/底稿,并输出待人工核对清单。适用场景:发票整理、发票录入、发票台账、报销单据整理、做账底稿、批量提取发票信息、发票信息转 Excel,以及用户提供一批发票文件并希望整理成表格的任务。本技能面向中文发票设计。发票批量整理
批量处理发票文件:识别文件 → 提取关键字段 → 按模板生成 Excel 台账 → 输出待人工核对清单。
核心原则
- 复核优先:提取结果供财务人员核对使用,不是最终账务依据。金额类字段必须逐张标注提取把握程度,把握不足的进入"待人工核对清单"而非直接写定。
- 金额零容忍:金额、税额、价税合计三个字段之间必须满足勾稽关系(金额 + 税额 = 价税合计,允许 0.01 元舍入差)。勾稽不平的整张发票标记待核对,绝不静默采用。
- 本地处理:发票包含企业税号与经营信息,数据在用户本地环境处理,任何输出不上传外部。
- 省 Token:图片按识别所需压缩处理;提取输出只保留结构化字段,不重复搬运发票全文。
工作流
第 1 步:识别输入
用户会提供:PDF 文件(单张或多张合并)、图片/截图、或混合的一批文件。
- 逐个文件判断类型:一个 PDF 可能包含多张发票(逐页处理);一张图片可能包含多张发票(提示用户确认拆分)。
- 无法识别为发票的文件(如合同、行程单)不强行提取,列入"未处理清单"并说明原因。
- 用户未提供文件时,说明支持的格式,并展示
examples/sample-output.md让用户预览输出效果。
第 2 步:确定字段模板
- 先做完整性检查:查看
references/fields-default.md是否存在且首行以"# 默认字段模板"开头。缺失或非原始内容时,不使用替代模板静默执行——告知用户"当前安装不完整,将使用内联精简字段执行;建议通过 openclaw CLI 或 SkillHub 重新安装",然后用下方内联字段继续。 - 用户提供了自己的 Excel 模板或字段清单时,优先按用户模板的列结构回填;未覆盖的沿用默认字段。
内联精简字段(附属文件缺失时的兜底,完整版见 references/fields-default.md): 发票类型 | 发票代码 | 发票号码 | 开票日期 | 购买方名称 | 购买方税号 | 销售方名称 | 销售方税号 | 货物或服务名称(多行合并,分号分隔)| 金额 | 税率 | 税额 | 价税合计 | 备注
第 3 步:逐张提取
每张发票:
- 提取模板中的各字段;识别不清的字段填"待核对"并记录原因(模糊、遮挡、印章覆盖等)。
- 执行勾稽校验:金额 + 税额 = 价税合计(±0.01);不平则整张标记待核对。
- 查重:发票代码 + 号码组合重复的,标记"疑似重复"待人工确认。
- 记录提取把握程度:字段清晰完整 → 正常;任何字段依赖猜测 → 该字段进待核对清单。
第 4 步:生成 Excel 台账
输出一个 Excel 文件(环境不支持时用 Markdown 表格),包含:
- Sheet1 发票台账:每张发票一行,按模板字段排列,末列标注状态(正常 / 含待核对字段 / 疑似重复)。
- Sheet2 待人工核对:发票定位(文件名+页码)| 待核对字段 | 原因 | 已提取的参考值。
- Sheet3 汇总:总张数、正常张数、待核对张数、疑似重复张数、价税合计总额(仅统计正常张,并注明口径)。
第 4.5 步:交付前自检(必做)
- 台账行数 + 未处理清单条数 = 输入发票总数。
- 每张"正常"发票的勾稽关系逐行复验。
- Sheet3 汇总金额 = Sheet1 正常行价税合计之和,逐项验算后再交付。
第 5 步:收尾
明确告知用户:台账供核对参考,入账前请人工复核,尤其是 Sheet2 中的条目。如用户的台账模板字段与默认不同,指引其直接上传自己的模板,下次按其模板回填。
错误处理
- 文件损坏或完全无法识别:列入未处理清单并说明,不中断整批任务,不反复重试。
- 非中文发票或票据类型超出范围(如国际 invoice):提示本技能面向中文发票设计,效果可能受限,由用户决定是否继续。
参考文件
references/fields-default.md— 默认字段模板与提取规范,执行第 2 步时阅读。examples/sample-output.md— 输出效果示例,用户想预览时引用。
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决发票批量整理、提取关键字段、生成 Excel 台账等明确痛点
- 面向财务、报销、做账等高频刚需场景,实用价值高
Highlights
- description 完整覆盖发票整理、录入、台账、报销单据整理等多种场景
- 触发词精准,边界清晰,用户意图匹配度高
Areas to improve
-
文档结构依赖外部文件但未提供 Reported severity: Minor
主文件引用了 references/fields-default.md 和 examples/sample-output.md,但传入内容中未提供这些文件
Recommendation: 建议将关键参考内容内联到主文档或确保所有引用文件完整打包
Highlights
- 工作流分 5 步清晰,每步有明确出口条件
- 包含端到端示例指引,frontmatter 完整
Areas to improve
-
引用文件缺失 Reported severity: Major
references/fields-default.md 和 examples/sample-output.md 未在传入内容中提供
Recommendation: 请确保所有引用文件完整打包,或在主文档中内联关键内容以避免执行时缺失
-
引用文件缺失 Reported severity: Major
examples/sample-output.md 未在传入内容中提供
Recommendation: 请提供示例输出文件以便用户预览效果,或在主文档中内联示例
Highlights
- 工具来源明确,本地处理保障数据安全
- 覆盖主要异常场景,有完善的错误处理机制
- 不可逆操作有确认机制,金额勾稽校验严格
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.