首页龙虾技能列表 › Invoice Verification - 发票查验 — 技能工具

Invoice Verification - 发票查验 — 技能工具

v1.0.4

按发票代码、号码、日期、金额等查验发票真伪与详情。当用户说:帮我验一下这张增值税发票、这张票能不能报销查验?或类似发票查验时,使用本技能。

9· 342·0 当前·0 累计
by @jisuapi (极速数据)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/3
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's code and instructions match its stated purpose (calling JisuAPI to verify invoices) and only require a single API key; the only notable mismatch is an undeclared Python dependency (requests).
评估建议
This skill appears to do what it claims: it calls JisuAPI to verify invoice details and only needs the JISU_API_KEY. Before installing, ensure you: 1) provide a valid JISU_API_KEY and do not share it publicly (the key grants queries to your JisuAPI account); 2) allow outbound HTTPS to api.jisuapi.com because the script makes network calls; 3) install the Python 'requests' package in the runtime (the script requires it but the skill metadata does not declare it); 4) review JisuAPI pricing/rate li...
详细分析 ▾
用途与能力
Name/description, SKILL.md, and the Python script all implement invoice verification via JisuAPI. The required env var JISU_API_KEY and the external endpoints (api.jisuapi.com) align with the stated purpose; required binary python3 is reasonable.
指令范围
Runtime instructions tell the agent to call the included script with a JSON payload and to set JISU_API_KEY. The script only reads the provided JSON and JISU_API_KEY and issues HTTPS requests to api.jisuapi.com; it does not read unrelated files, system credentials, or forward data to unexpected endpoints.
安装机制
There is no install spec (instruction-only), which is low risk. However, the included Python script depends on the third‑party 'requests' package which is not declared in the metadata or install instructions — a functional/dependency mismatch (operational, not obviously malicious). Ensure the runtime has requests available or add an install step (pip install requests).
凭证需求
Only a single API credential (JISU_API_KEY) is required and is the stated primary credential. No other secrets, config paths, or unrelated environment variables are requested.
持久化与权限
The skill is not always-enabled and does not request system-wide persistence. It does not modify other skills or system config. Autonomous invocation is allowed (platform default) but is not combined with other red flags.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.42026/3/4

- Skill name updated to "Invoice Verification - 发票查验" with a clearer, user-focused description. - Invocation prompt refined for more natural language triggers, e.g., "帮我验一下这张增值税发票". - No code or file changes; documentation and metadata updates only. - Main usage, API details, and examples are unchanged.

● 无害

安装命令 点击复制

官方npx clawhub@latest install invoiceverify
镜像加速npx clawhub@latest install invoiceverify --registry https://cn.clawhub-mirror.com

技能文档

极速数据发票查验(Jisu InvoiceVerify)

数据由 极速数据(JisuAPI) 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。
可以通过发票代码、发票号码、开票日期、合计金额、校验码等信息获取发票详情, 也支持获取平台支持的发票类型列表。

前置配置:获取 API Key

``bash # Linux / macOS export JISU_API_KEY="your_appkey_here" # Windows PowerShell $env:JISU_API_KEY="your_appkey_here" `

脚本路径

脚本文件:
skills/invoiceverify/invoiceverify.py

使用方式

1. 查验发票信息

通过
/invoiceverify/verify 接口,根据发票号、开票日期及金额等信息查验发票。 `bash python3 skills/invoiceverify/invoiceverify.py verify '{"number":"61124608","date":"2019-06-15","code":"033001800311","extaxtotalfee":"2388.46","checkcode":"62057237940487749830"}' ` 请求 JSON 示例: `json { "code": "033001800311", "number": "61124608", "date": "2019-06-15", "extaxtotalfee": "2388.46", "checkcode": "62057237940487749830", "sellercreditno": "" } `

请求参数(verify)

| 字段名 | 类型 | 必填 | 说明 | |----------------|--------|------|----------------------------------------| | code | int | 否 | 发票代码 | | number | int | 是 | 发票号码 | | date | string | 是 | 开票日期(格式:YYYY-MM-DD) | | extaxtotalfee | string | 否 | 合计金额(不含税,与 totalfee 二选一)| | totalfee | string | 否 | 价税合计(与 extaxtotalfee 二选一) | | checkcode | string | 否 | 校验码(部分场景必填) | | sellercreditno | int | 否 | 销方税号(区块链发票必填) |

返回结果示例(verify)

脚本会直接输出接口
result 字段内容,结构与官网示例一致,典型示例可参考 官网文档 中的 JSON: `json { "number": "61120000", "code": "033001800000", "seller": "杭州XXXXX有限公司", "sellercreditno": "913301833000000000", "sellerbank": "交通银行浙江分行富阳支行 300000060010100002000", "selleraddress": "杭州富阳区xxxxx路xx号x幢x层 0571-60000000", "buyer": "个人", "buyercreditno": "", "buyerbank": "", "buyeraddress": "", "totalfee": "2698.95", "extaxtotalfee": "2388.46", "date": "2019-06-15", "totaltax": "310.49", "type": "10", "remark": "订单号:97670000000 IMEI:868237000000000", "district": "浙江", "machinecode": "661620000000", "checkcode": "62050000040000000000", "state": 1, "itemlist": [ { "name": "移动通信设备荣耀20 麒麟Kirin980全网通版", "type": "", "unit": "", "num": "0.0", "price": "0.0", "totalfee": "0.00", "taxrate": "0.13", "taxfee": "00000000.00" }, { "name": "移动通信设备荣耀20 麒麟Kirin980全网通版", "type": "荣耀20", "unit": "台", "num": "1.0", "price": "2388.49557522", "totalfee": "2388.50", "taxrate": "0.13", "taxfee": "00000310.50" } ] } `

2. 获取发票类型列表

通过
/invoiceverify/type 接口获取平台支持的发票类型列表。 `bash python3 skills/invoiceverify/invoiceverify.py type ` 返回结果示例: `json [ { "type": "01", "name": "增值税专用发票" }, { "type": "02", "name": "货运运输业增值税专用发票" }, { "type": "03", "name": "机动车销售统一发票" }, { "type": "04", "name": "增值税普通发票" }, { "type": "10", "name": "增值税普通发票(电子)" } ] `

常见错误码(业务错误)

来自 极速数据发票查验文档 的业务错误码: | 代号 | 说明 | |------|-------------------------------------| | 201 | 发票信息不一致(扣次数) | | 202 | 发票查验失败 | | 203 | 所查发票不存在(扣次数) | | 204 | 发票代码为空 | | 205 | 发票号码为空 | | 206 | 开票日期为空 | | 207 | 合计金额为空 | | 208 | 校验码为空 | | 209 | 校验码小于 6 位 | | 210 | 未知错误 | | 211 | 该票在平台核验失败已超 5 次(扣次数)| | 212 | 校验码小于 5 位(区块链发票 5 位必填)| | 213 | 销方税号为空(区块链发票必填) |

系统错误码

| 代号 | 说明 | |------|--------------------------| | 101 | APPKEY 为空或不存在 | | 102 | APPKEY 已过期 | | 103 | APPKEY 无请求此数据权限 | | 104 | 请求超过次数限制 | | 105 | IP 被禁止 | | 106 | IP 请求超过限制 | | 107 | 接口维护中 | | 108 | 接口已停用 |

推荐用法

  • 用户提供发票信息(发票代码、号码、开票日期、金额、校验码等)。
  • 代理根据需要构造 JSON 请求体,例如:
{"code":"033001800311","number":"61124608","date":"2019-06-15","extaxtotalfee":"2388.46","checkcode":"62057237940487749830"}
  • 调用:python3 skills/invoiceverify/invoiceverify.py verify ''
  • 从返回结果中读取销售方、购买方、税额、发票状态、明细行等信息,并向用户总结发票是否有效及其关键信息。
  • 如需提示发票类型选择,可先调用 python3 skills/invoiceverify/invoiceverify.py type 获取支持的发票类型列表,为用户解释不同发票类型的含义。

关于极速数据

极速数据(JisuAPI,jisuapi.com 是国内专业的 API数据服务平台 之一,提供以下API:
  • 生活常用:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息
  • 工具万能:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测
  • 交通出行:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询
  • 图像识别:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别
  • 娱乐购物:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令
  • 位置服务:基站查询,经纬度地址转换,坐标系转换
在官网注册后,按具体 API 页面申请数据,在会员中心获取 AppKey 进行接入;免费额度和套餐在API详情页查看,适合个人开发者与企业进行接入。在 ClawHub 上也可搜索
jisuapi` 找到更多基于极速数据的 OpenClaw 技能。

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务