Invoice Recognition - Invoice Verification - Invoice OCR (Xiangyun Open Platform): Entrusting Invoice OCR and Authentication to Agent Skill

Introduction

In the development of financial, reimbursement, and inventory management (invoicing/procurement/sales) systems, a common requirement is to extract invoice fields from scanned documents or PDFs and then interface with tax-side verification APIs. Integrating OCR and verification APIs directly involves handling authentication, variations in invoice types, and batch processing directories. Furthermore, it can be difficult for conversational Agents to consistently select the correct capabilities.

The following introduces the community Skill on SkillHub: “Invoice Recognition - Invoice Verification - Invoice OCR (Xiangyun Open Platform).” This Skill is triggered when a user describes invoice-related tasks in natural language. It guides the Agent to call capabilities on the Xiangyun Open Platform (marked on the page as related to netocr and Xiangyun Invoice).

What is this

One-sentence positioning: A Xiangyun invoice recognition and verification Skill designed for Agents. It is triggered by keywords and covers recognition, authenticity verification, and ledger-related expressions.

  • Coordinate: @user_6b190ef3/xiangyun-invoice-ocr
  • Current Version: 1.0.5 (Source: community, Category: professional)
  • Publisher: user_6b190ef3
  • Official Pages: SkillHub Skill Page, api.skillhub.cn Entry

The Skill tag indicates requires_api_key=true; you must prepare the relevant API keys for the Xiangyun Open Platform before use. Specific environment variable names and configuration steps should follow the SKILL.md inside the Skill package and the Xiangyun documentation. This article does not expand on fields not listed on the public page.

Core Functions

The following capabilities are derived from the trigger descriptions in the Skill’s official introduction. The Agent will select this Skill when a user’s description matches.

Recognition & Reading

  • Invoice recognition, Invoice OCR, Recognize invoice
  • Scan invoice, Read invoice information, Extract invoice data
  • VAT invoice recognition, Electronic invoice recognition, Digital electronic invoice recognition
  • Batch invoice processing, Invoice folder recognition
  • netocr invoice, Xiangyun invoice (Corresponding to Xiangyun / NetOCR product lines)

Verification

  • Invoice verification, Invoice authenticity check, Invoice verification, Check invoice authenticity

Financial Export & Forms (Scenarios guided by the Skill)

  • Invoice export, Invoice ledger, Invoice entry table, Invoice check-and-deduct
  • Passenger transport deduction table, Goods detail list

Installation & Activation

Method 1: Let AI execute installation instructions via SkillHub

Send the following prompt to the AI Agent you are currently using (Cursor, Claude Code, etc.) to allow it to read the installation documentation and complete the installation:

Please install `@user_6b190ef3/xiangyun-invoice-ocr` according to https://skillhub.cn/install/skillhub.md.

Method 2: Use the skillhub CLI

First, check if the CLI is already available on your local machine:

command -v skillhub && skillhub --version

If not installed, you can perform a full installation (including default Skills) following the SkillHub documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/, and the Agent may fail to load it. Common paths for Cursor are ~/.cursor/skills/; for Claude Code, it is ~/.claude/skills/; for Codex, it is ~/.codex/skills/ or .agents/skills/ under the project. Please refer to your current environment. Example:

skillhub install user_6b190ef3/xiangyun-invoice-ocr --dir ~/.cursor/skills/

You can also search first before installing:

skillhub search xiangyun-invoice-ocr

After installation, restart or refresh the Skill list according to the requirements of each client. Since requires_api_key=true, configure the Xiangyun API Key in the Skill description before performing recognition or verification.

Typical Usage

The public page does not provide standalone code examples; usage relies primarily on natural language triggers. After enabling the Skill and configuring the API Key, you can directly describe tasks in the conversation. Examples:

  1. “Recognize this image of a VAT electronic invoice and extract the amount, tax, and seller name.”
  2. “Verify the authenticity of the following invoice code and number.”
  3. “Scan the invoices in this folder, batch extract them, and organize them into a ledger.”

The Agent should load this Skill when it matches keywords in the introduction (such as “Invoice OCR”, “Invoice verification”, “Digital electronic invoice recognition”, “Invoice folder recognition”) and then follow the process in SKILL.md to call the Xiangyun interface. Specific request parameters and invoice type limitations should be based on the documentation inside the Skill package.

Applicable Scenarios & Notes

Who it is for

  • Teams already using or planning to use the Xiangyun Open Platform’s invoice capabilities, who wish to consolidate OCR, verification, and ledger-type scripts into their Agent workflow.
  • Scenarios requiring the processing of VAT invoices, electronic invoices, digital electronic invoices, and batch directories (capability scope is subject to the Skill introduction).

Notes

  • This is from a community source. Please evaluate compliance and data export requirements yourself before integration. Invoice images involve sensitive information, so pay attention to key security and transmission safety.
  • Relies on external APIs and requires a valid API Key; the Skill cannot complete real calls without configuration.
  • SkillHub page statistics (as of data capture): Rating 100000, Downloads 1040, Installations 1. Data changes over time; please refer to the Skill Page for the latest information.
  • This article has not verified behavioral differences regarding “Invoice Skills” across Cursor / Codex CLI / Claude Code. Aside from the skills directory path, general Skill mechanisms for each client apply.

Conclusion

“Invoice Recognition - Invoice Verification - Invoice OCR (Xiangyun Open Platform)” binds natural language intents related to invoice recognition, verification, and ledgers to a single Skill, reducing the need for manual integration and repeated explanations of invoice types. The installation coordinate is @user_6b190ef3/xiangyun-invoice-ocr, version 1.0.5. Details and installation entry: https://www.skillhub.cn/skills/user_6b190ef3/xiangyun-invoice-ocr.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye