zzsf-invoice-verify

Official VAT invoice authenticity verification skill. Triggered when a user needs to verify the authenticity of a VAT invoice, check invoice information, query invoice status (normal/cancelled/red-ink/losing control), or obtain detailed invoice information (buyer, seller, invoice line items, etc.). Supports all VAT invoice types, including VAT special invoices, ordinary invoices, electronic invoices, fully electronic invoices, toll invoices, passenger transport invoices, unified motor vehicle sales invoices, used-car invoices, and cargo transport invoices. Example trigger phrases: verify invoice, invoice authenticity, invoice verification, invoice check, invoice query, invoice status, VAT invoice verification.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "zzsf-invoice-verify" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7f1f714e8779b1d1c5c2da39af374873fd6c060b2187d2948c5ff8d7162cc1fa. Verify the upstream source and version against https://skillhub.cn/skills/user_9c3aa24c/zzsfpcy before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Official VAT invoice authenticity verification skill. Triggered when a user needs to verify the authenticity of a VAT invoice, check invoice information, query invoice status (normal/cancelled/red-ink/losing control), or obtain detailed invoice information (buyer, seller, invoice line items, etc.). Supports all VAT invoice types, including VAT special invoices, ordinary invoices, electronic invoices, fully electronic invoices, toll invoices, passenger transport invoices, unified motor vehicle sales invoices, used-car invoices, and cargo transport invoices. Example trigger phrases: verify invoice, invoice authenticity, invoice verification, invoice check, invoice query, invoice status, VAT invoice verification.

0 Downloads

Introduction source: third_party · user_9c3aa24c · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: zzsf-invoice-verify
description: |
  增值税发票真伪查验官方技能。当用户需要查验增值税发票真伪、核对发票信息、查询发票状态(正常/作废/红票/失控)、获取发票详细信息(购买方、销售方、发票明细等)时触发。
  支持全类型增值税发票查验:增值税专用发票、增值税普通发票、电子发票(专票/普票)、全电发票、通行费发票、旅客运输发票(铁路客票/航空行程单)、机动车销售统一发票、二手车发票、货物运输统一发票等。
  触发词:查验发票、发票真伪、发票验真、发票核验、发票查询、发票状态、增值税发票查验、验发票真伪。
agent_created: true

增值税发票查验平台官方skill

技能概述

本技能通过调用增值税发票查验平台API(基础地址:http://api.autoinv.cn),对增值税发票进行真伪查验和信息核实。返回发票状态、购销双方信息、发票明细等完整数据。

API文档详见: references/api_docs.md


触发条件

以下情形应激活本技能:

  • 用户提供发票代码、发票号码等信息,请求查验发票真伪
  • 用户上传发票图片(提取发票信息后查验)
  • 用户询问发票是否有效、是否作废、是否为红票
  • 用户需要获取发票的购销双方、金额、税率、明细等详情
  • 用户需要查询账户剩余查验次数

工作流程

第一步:收集查验参数

向用户收集或从发票图片中提取以下信息:

参数 字段名 说明
发票代码 Code 发票左上角或右上角代码
发票号码 No 发票号码(8位)
发票金额 Amount 不含税金额(部分发票为含税合计,见API文档)
开票日期 Date 格式:YYYYMMDD
校验码 VCode 发票右下角后6位(部分类型可空,见API文档)
授权码 PermitCode 平台授权码(需用户提供)

如果用户提供的是发票图片,先提取上述字段,再进行查验。

第二步:调用查验接口

POST http://api.autoinv.cn/DBCloud/checkInvoice/check/invoice
Content-Type: application/json

{
    "Code": "<发票代码>",
    "No": "<发票号码>",
    "VCode": "<校验码或空字符串>",
    "Amount": <发票金额数值>,
    "Date": "<YYYYMMDD>",
    "PermitCode": "<授权码>"
}

第三步:解析并展示结果

根据响应中的 StatusCode 判断查验结果:

StatusCode 含义 处理方式
1001 [成功] 查验成功,发票真实有效 展示发票详细信息
1002 [超频] 查验超频(当日超过5次) 提示次日再查或检查信息是否正确
1003 [无记录] 无此发票 提示核对发票代码/号码,或发票可能超过5年
1004 [不一致] 发票信息不一致 提示用户核对金额、日期、校验码
1005 [维护] 系统维护中 提示稍后重试
1006 [错误] 请求参数错误 检查参数格式
1020 [无权限] 无权限或次数不足 提示联系服务商充值,可扫下方二维码

查验成功时,以结构化方式展示:

  • 发票基本信息:类型、代码、号码、开票日期、状态
  • 金额信息:不含税金额、税额、含税合计
  • 购买方:名称、税号
  • 销售方:名称、税号
  • 发票明细:货物/服务名称、数量、单价、金额、税率
  • 已查验次数、代理标志、特殊票种标志(如有)

账户管理功能

查询剩余次数

POST http://api.autoinv.cn/DBCloud/checkInvoice/check/statistic
{"PermitCode": "<授权码>"}

创建子账户

POST http://api.autoinv.cn/DBCloud/checkInvoice/createSubAccount
{"PermitCode": "<主账号授权码>", "SubName": "<子账号名称>", "SubPermitTimes": <初始次数>}

子账户充值

POST http://api.autoinv.cn/DBCloud/checkInvoice/check/subAddCredit
{"PermitCode": "<主账号授权码>", "SubPermitCode": "<子账号授权码>", "SubPermitTimes": <充值次数>}

注意事项

  1. 授权码保护:PermitCode 为敏感凭证,不得在日志或消息中明文展示,查验完成后不留存
  2. 同一发票查验频次:税务端限制每张发票每自然日最多查验5次,提醒用户勿重复查验
  3. 金额精度:Amount 字段传数值类型(非字符串),精确到分
  4. 全电发票:代码和号码填写方式与传统发票不同,VCode 可为空
  5. 发票超期:开具5年以上的发票可能在税务系统中查不到(返回1003)

联系服务商

如需开通授权码、购买查验次数或技术支持,请扫描以下微信二维码联系(二维码文件:assets/contact_qrcode.jpg)。

在输出中引用路径 assets/contact_qrcode.jpg 展示二维码给用户,并附注:

扫码添加微信(王晓光),备注"发票查验"即可咨询开通事宜。


API 参考

完整接口文档(包含所有发票类型的响应字段说明、数据字典)见:references/api_docs.md

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供增值税发票真伪查验功能,满足企业财务和个人报销的刚需场景
  • 支持全类型增值税发票查验,功能覆盖全面
Trigger Precision90/100

Highlights

  • 触发词覆盖全面且边界清晰,包括查验发票、发票真伪、发票验真等多种变体
Structure and Standards90/100

Highlights

  • 工作流程分步清晰,包含参数收集、接口调用、结果解析完整闭环
  • frontmatter 完整,API 调用示例详细,状态码处理覆盖全面
Execution Reliability85/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 引用了 references/api_docs.md 和 assets/contact_qrcode.jpg 文件,但未传入

    Recommendation: 请补充上传被引用的 API 文档文件和联系二维码图片,确保用户能获取完整信息

Highlights

  • API 来源明确,参数说明完整,覆盖主要异常场景
  • 授权码保护机制提醒到位,符合安全规范
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • api.autoinv.cn

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.