iflytek-ocr-invoice SKILL.md skillA
iflytek-ocr-invoice from iflytek/ifly-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add iflytek/ifly-skills/iflytek-ocr-invoice@git:20260922.0515799Pins git:20260922.0515799 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- iflytek/ifly-skills
- Path
skills/iflytek-ocr-invoice/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260922.0515799, committed Sep 22, 2026
- First version recorded
- Jun 17, 2026
- Size
- 11,829 bytes
- Repository stars
- 214
- License
- Apache-2.0
Use when user asks to recognize invoices, extract receipt data, or OCR bills and tickets. Recognize and extract structured data from invoices, receipts, and bills using iFlytek OCR API (科大讯飞票据识别). Supports VAT invoices, taxi receipts, train tickets, toll invoices, medical bills, bank receipts, and more.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# ifly-ocr-invoice OCR-based invoice and receipt recognition using the iFlytek (科大讯飞) API. Extracts structured fields from photos or scans of Chinese invoices and bills. ## When to Use - User provides an invoice/receipt image and wants structured data extracted - Need to digitize paper invoices (增值税发票、出租车票、火车票、医疗票据 etc.) - Expense report automation — extract amounts, dates, vendor info from receipts ## Prerequisites - **Python 3** (standard library only, no pip install needed) - **Environment variables** (get from [讯飞控制台](https://console.xfyun.cn)): - `IFLY_APP_ID` — Application ID - `IFLY_API_KEY` — API Key - `IFLY_API_SECRET` — API Secret > 兼容说明:设置任意 `IFLY_*` 凭证变量(包括空值)后,仅使用该组,缺项报错;未设置标准组时,依次尝试 `XFYUN_*`、`XFEI_*`,不跨组拼接。旧前缀会在 stderr 输出一次不含凭证值的迁移提示。 ## Supported Image Formats png, jpg/jpeg, bmp, gif, tif/tiff, pdf ## Usage The script is at `scripts/invoice.py` relative to this skill directory. ### Basic Recognition ```bash python3 scripts/invoice.py /path/to/invoice.png ``` ### Options | Flag | Description | |------|-------------| | `--raw` | Output raw API JSON response instead of formatted text | ### Examples ```bash # Recognize a VAT invoice …
Read the whole file at its exact version.
How to install
mdr add iflytek/ifly-skills/iflytek-ocr-invoice@sha256:784474349843d977The line at the top of this page pins the label git:20260922.0515799, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_btunq2exkwwr3nty)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jun 17, 2026 and Sep 22, 2026, about one every 97 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260922.0515799 latest | 2026-09-22 | 0515799 | 11,829 B | A | view · diff |
| git:20260617.388181a | 2026-06-17 | 388181a | 11,448 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11829 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
iflytek/ifly-skills · 214 stars · license Apache-2.0 · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_btunq2exkwwr3nty GET https://markdownregistry.com/api/v1/resolve?ref=iflytek/ifly-skills/iflytek-ocr-invoice GET https://markdownregistry.com/api/v1/blob/784474349843d977b098fa1761dbcebf95b4ae76087a8a995cef6f29b783c1f5
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.