AI Agent Hub
Back to skills
Xiangyun Invoice OCR and Verification icon

Xiangyun Invoice OCR and Verification

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

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

About this skill

Problem

When processing invoices, the task is not just reading visible text. Teams also need to classify invoice types, extract verification fields, check authenticity online, and organize results according to finance workflows. Manual OCR plus spreadsheet copying can miss fields, while mixed batches introduce template mismatch and invalid credential issues.

How It Works

The skill wraps the Xiangyun Open Platform API around an identify → verify workflow. It accepts invoice files such as JPG, PNG, PDF, and OFD, extracts verification parameters after recognition, calls the verification endpoint, and returns full invoice details. It supports single-file and folder batch modes, and validates key/secret before batch runs. If export is explicitly requested, it can generate Excel files using templates such as deduction, transport, goods, ledger, and booking, filtering out unsupported invoice types.

Boundaries

Credentials are stored in local config.json, and image requests are sent to Xiangyun over HTTPS. Verification applies only to supported invoice types; train, ship, and quota invoices may be recognized only. Export is not default; users must request it and choose templates. Empty header-only files can be produced when a selected template has no matching invoices.

Use Cases

  • Finance receives VAT invoice PDFs from vendors and needs to extract fields, verify authenticity, and avoid duplicate reimbursement.
  • An accountant processes a folder of passenger transport invoices and needs batch recognition plus Excel export for transport deduction.
  • A bookkeeper organizes goods invoices and needs extraction into a goods detail sheet, automatically skipping unsupported types.
  • A reviewer collects taxi and train receipts that support recognition only, and needs invoice fields drafted into a ledger without verification.

Best For

  • Finance staff who verify reimbursable invoices monthly and need batch recognition, verification, and ledger export.
  • Tax accountants handling input VAT deduction and need template-based Excel output for eligible invoice types.
  • Accountants processing travel expense claims and need passenger transport invoice extraction into deduction sheets.
  • Business analysts archiving supplier invoice data and need structured invoice fields for review.