VatInvoiceOCR2Excel
用 OCR 技术识别增值税发票图片并导出到 Excel,支持批量处理和翻译。当用户提到发票识别、增值税发票 OCR、电子发票识别、发票汇总时使用。
Skill by CoderWanFeng
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/coderwanfeng-vatinvoiceocr2excel
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/vatinvoiceocr2excel
What's inside
- Skill name
VatInvoiceOCR2Excel- Description
- 用 OCR 技术识别增值税发票图片并导出到 Excel,支持批量处理和翻译。当用户提到发票识别、增值税发票 OCR、电子发票识别、发票汇总时使用。
- License
- Apache-2.0
- Instructions
- 55 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
Files (2)
- SKILL.md
- __init__.py
SKILL.md (first lines)
# VatInvoiceOCR2Excel Skill
> 使用 OCR 技术将增值税发票信息提取并导出到 Excel 文件
## 功能描述
使用光学字符识别(OCR)技术识别增值税发票图片中的信息,并将结果导出到 Excel 文件中。支持批量处理多个发票图片。
## 所属分类
`office/skills/ocr/VatInvoiceOCR2Excel/`
## 调用方式
```python
from skills.ocr import VatInvoiceOCR2Excel
VatInvoiceOCR2Excel(
input_path='./invoices',
output_path='./',
output_excel='invoices.xlsx',
id='your_baidu_id',
key='your_baidu_key'
)
```
## 参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `input_path` | str | 是 | - | 发票图片文件路径或包含多个发票图片的文件夹路径 |
| `output_path` | str | 否 | `'./'` | 输出 Excel 文件的文件夹路径 |
| `output_excel` | str | 否 | `'VatInvoiceOCR2Excel.xlsx'` | 输出 Excel 文件的名称 |
| `img_url` | str | 否 | `None` | 网络发票图片的 URL。如果提供了 input_path,则此参数将被忽略 |
| `id` | str | 否 | `None` | 百度 OCR API 的识别 ID |
| `key` | str | 否 | `None` | 百度 OCR API 的密钥 |
| `file_name` | bool | 否 | `False` | 是否使用图片文件名作为 Sheet 名称 |
| `trans` | bool | 否 | `False` | 是否将识别结果翻译成英文 |
## 返回值
`None`:函数将结果直接写入到指定的 Excel 文件中
## 使用示例
```python
from skills.ocr import VatInvoiceOCR2Excel
VatInvoiceOCR2Excel(input_path='./发票图片', output_excel='所有发票汇总.xlsx')
```
## 原始函数
`office.api.ocr.VatInvoiceOCR2Excel`From CoderWanFeng/python-office, Apache-2.0.
More from CoderWanFeng/python-office
- 0.727score
course
CoderWanFeng
显示 python-office 库的使用教程、群组信息、源码地址等。当用户提到 python-office 介绍、查看课程、帮助信息、资源链接时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
docx2doc
CoderWanFeng
将新版 Word 文档(.docx)转换为旧版(.doc)。当用户提到 docx 转 doc、新 Word 转旧 Word 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
ppt2img
CoderWanFeng
将 PowerPoint 转换为图片,可合并为一张长图或多张图。当用户提到 PPT 转图片、PPT 截图、PPT 转长图、幻灯片截图时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
ppt2pdf
CoderWanFeng
将 PowerPoint 文件转换为 PDF。当用户提到 PPT 转 PDF、幻灯片转 PDF、PPTX 转 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
url2ebook
CoderWanFeng
将网页 URL 转换为电子书。当用户提到网页转电子书、URL 转 ebook、网页转 EPUB、离线阅读网页、pospider 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
doc2docx
CoderWanFeng
将旧版 Word 文档(.doc)转换为新版(.docx)。当用户提到 doc 转 docx、旧 Word 转新 Word 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
merge2excel
CoderWanFeng
将多个 Excel 文件合并到一个 Excel 的不同 sheet 中。当用户提到合并 Excel、合并多个表格、多个 Excel 合并时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
excel2pdf
CoderWanFeng
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
sheet2excel
CoderWanFeng
将同一个 Excel 文件的多个 sheet 拆分为独立文件。当用户提到拆分 sheet、Excel 按表拆分、拆 sheet 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
t0
CoderWanFeng
计算股票 T+0 交易的收益,考虑买入价、卖出价、手数、佣金、印花税。当用户提到做 T、T+0、股票做 T、短线做 T 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
audio2txt
CoderWanFeng
从音频文件中提取文字(语音转文字),需要腾讯云 API 凭据。当用户提到音频转文字、语音识别、ASR、音频转字幕时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
docx2pdf
CoderWanFeng
将 Word 文档(.docx)转换为 PDF,支持单文件和整个文件夹批量转换。当用户提到 Word 转 PDF、docx 转 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 1,366
- Forks
- 304
- Open issues
- 32
- Last commit (this folder)
- Aug 4, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/CoderWanFeng/python-office
- Website
- www.python-office.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from CoderWanFeng
- 0.727score
excel2pdf
CoderWanFeng
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
ppt2img
CoderWanFeng
将 PowerPoint 转换为图片,可合并为一张长图或多张图。当用户提到 PPT 转图片、PPT 截图、PPT 转长图、幻灯片截图时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
merge2excel
CoderWanFeng
将多个 Excel 文件合并到一个 Excel 的不同 sheet 中。当用户提到合并 Excel、合并多个表格、多个 Excel 合并时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
sheet2excel
CoderWanFeng
将同一个 Excel 文件的多个 sheet 拆分为独立文件。当用户提到拆分 sheet、Excel 按表拆分、拆 sheet 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
t0
CoderWanFeng
计算股票 T+0 交易的收益,考虑买入价、卖出价、手数、佣金、印花税。当用户提到做 T、T+0、股票做 T、短线做 T 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9 - 0.727score
ppt2pdf
CoderWanFeng
将 PowerPoint 文件转换为 PDF。当用户提到 PPT 转 PDF、幻灯片转 PDF、PPTX 转 PDF 时使用。
SkillBFreshness: B★ 1.4KClaude Code +9
Cite this page
VatInvoiceOCR2Excel skill. Agent Mart. https://agentmart.dev/skills/coderwanfeng-vatinvoiceocr2excel (last updated 2026-10-24)