ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 3/5

invoice-ocr

发票 OCR 识别技能。扫描文件夹中的发票文件(PDF/图片),调用阿里云 OCR API 识别发票信息并导出到 Excel 表格。支持 17+ 种发票类型(增值税发票、火车票、出租车票、机票行程单、定额发票、机动车销售发票、过路过桥费发票等)。使用场景:(1) 用户提到"发票识别"、"发票统计"、"发票整理"、"发票汇总" (2) 用户需要批量处理发票 (3) 用户提到阿里云 OCR 识别发票。**重要:首次使用必须先配置阿里云凭证,主动向用户索要 AccessKey ID 和 AccessKey Secret,或引导用户运行 --config 命令自行配置。**

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/1054570699/invoice-recognize
Or

What This Skill Does

The invoice-ocr skill is a powerful automation tool for OpenClaw designed to streamline financial administrative tasks. It leverages Alibaba Cloud's OCR (Optical Character Recognition) engine to automatically extract structured data from various types of invoices, receipts, and financial documents. Whether you are dealing with VAT invoices, train tickets, taxi receipts, or flight itineraries, this skill parses the visual information and exports the key fields into a structured Excel (.xlsx) file. This eliminates the need for manual data entry, reduces human error in expense reports, and organizes your financial paperwork into a searchable, analytical format.

Installation

To integrate this skill, first ensure your system has the necessary Python environment. Run the command clawhub install openclaw/skills/skills/1054570699/invoice-recognize in your terminal. After installation, you must install the Excel processing library: pip install openpyxl. Note that this skill requires a valid Alibaba Cloud account with the 'Invoice Recognition' service enabled. Before initial execution, you must run python scripts/recognize_invoices.py --config to input your AccessKey ID and AccessKey Secret. This configuration is stored securely and enables the agent to authenticate with the cloud API.

Use Cases

  • Corporate Expense Management: HR or finance departments can batch-process hundreds of employee receipts to generate a monthly reimbursement report.
  • Tax Compliance: Bookkeepers can quickly digitize and organize paper tax invoices to prepare for audits.
  • Personal Finance: Individuals can use this to keep track of travel expenses, including plane tickets, train tickets, and meal receipts, ensuring all spending is accounted for in a single spreadsheet.
  • Business Automation: Automating the ingestion of supplier invoices directly into Excel to facilitate easier bookkeeping without manual keying.

Example Prompts

  1. "OpenClaw, please scan the invoices in my './downloads/receipts' folder and compile them into a monthly report Excel file."
  2. "I have a folder of taxi and hotel invoices, can you run the invoice-ocr tool to organize these for my expense submission?"
  3. "Hey, use the invoice recognition skill on the files in the project folder and make sure to list the total tax amounts."

Tips & Limitations

To ensure the best results, use high-resolution images (at least 500px in width). The skill supports common formats including PDF, OFD, and images (JPG, PNG, TIFF). Keep in mind that the Alibaba Cloud OCR service operates on a pay-per-use model; monitor your cloud console to manage API costs. The system expects readable documents; severely crumpled or extremely blurred images may result in low confidence scores. Always verify the exported Excel data against the physical receipts for high-stakes financial documentation. If the system fails to read a file, ensure your API keys are active and that the file format is supported.

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-1054570699-invoice-recognize": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#ocr#finance#automation#excel#invoices
Safety Score: 3/5

Flags: file-write, file-read, external-api