Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add vivy-yi/finance-skills --skill invoice-verificationgit clone --depth 1 https://github.com/vivy-yi/finance-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vivy-yi/finance-skills/invoice-verification)<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/invoice-verification"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/invoice-verification/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/invoice-verification"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/invoice-verification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.01785 |
| Opus 5 | $0.00043 | $0.00892 |
| Sonnet 5 | $0.00017 | $0.00357 |
| Haiku 4.5 | $0.00009 | $0.00178 |
Grade A, and why
invoice-verification scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
加载上下文
首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(公司基本信息/数据源状态/升级矩阵)。
/invoice-verification — 发票验真
Examples
→ 示例:用户说"收到供应商发票,帮我核对一下和合同条款是否一致",系统应调用本技能,执行发票条款核对。
→ 示例:用户说"发票上的银行账号和合同里不一样,能不能付",系统应调用本技能,核查发票付款信息变更。
→ 示例:用户说"帮我们审一下这张大额发票,确保没问题再走付款流程",系统应调用本技能,执行大额发票专项审核。
支持的发票类型
| 发票类型 | 查验平台 | 注意事项 |
|---|---|---|
| 增值税专用发票 | 必查验,全国互通 | 最核心,涉税最大 |
| 增值税普通发票(卷式/电子) | 查验 | 部分平台支持 |
| 机动车销售统一发票 | 查验 | 与车辆购置税联动 |
| 通行费发票(收费公路) | 有限查验 | 仅部分省市支持 |
| 定额发票(餐饮/停车) | 抽查 | 无法在线查验,须人工核对 |
查验步骤
第一步:获取查验参数
必须参数(4项):
发票代码:发票左上角 10 位或 12 位代码
发票号码:发票右上角 8 位号码
开票日期:YYYY-MM-DD 格式
校验码:增值税专用发票的 20 位校验码(普票的 6 位)
(备注:如校验码不完整,用前 6 位 + 后 4 位替代)
金额参数(二选一):
不含税金额(开具金额)
价税合计金额(含税金额)
平台会取其中一种进行核对
第二步:执行查验
查验入口:
官网:https://inv-veri.chinatax.gov.cn
API(已配置 MCP):
→ 自动传入参数,返回结构化结果
手动(无 MCP 时):
→ 打开查验平台网页
→ 依次输入上述 4 项参数
→ 获取查验结果
第三步:解析查验结果
| 查验结果 | 含义 | 操作 |
|---|---|---|
| 一致 | 票面所有信息与系统记录完全匹配 | ✅ 查验通过 |
| 不一致 | 金额/税号/品名与系统记录不符 | ❌ 疑似问题发票,驳回 |
| 查无此票 | 发票代码+号码在系统中不存在 | ❌ 假票,直接驳回 |
| 作废 | 发票已被开票方作废 | ❌ 不可使用,驳回 |
| 红冲 | 发票已被开票方冲销 | ❌ 不可使用,驳回 |
| 失控 | 专票已被异地认证,税局标记失控 | ❌ 不可使用,驳回 + 升级 |
| 平台不可用 | 查验网站无法访问 | ⚠️ 引导用户截图备用,要求人工查验 |
特殊场景处理
场景一:发票延迟同步
问题: 发票刚开具,税局系统约需 1 天同步,暂时"查无此票"
处理:
判断:开票日期距今 ≤ 5 个工作日
→ "一致"的概率高,标注"暂无法验真(发票数据同步延迟),建议 XX 日后再验"
→ 如员工急用,要求提供开票方的作废盘证明(证明未作废)
判断:开票日期距今 > 5 个工作日
→ 仍查不到 → 视为可疑,按"查无此票"处理
场景二:金额轻微差异
问题: 验真平台返回"不一致",但差异金额 ≤ 1 元
处理:
差异 ≤ 1 元 → 视为平台数据同步误差
→ ⚠️ 标注"金额轻微差异(±1 元内),建议核对后通过"
→ 要求员工提供开票方盖章的"价税合计说明"
差异 > 1 元
→ 按不一致处理,要求核实后重新提供发票
场景三:失控发票
问题: 专票状态显示"已认证(失控)"
处理:
失控发票不得作为进项抵扣凭证
→ ❌ 驳回报销申请
→ 🔴 升级至财务经理 + 税务专员
→ 记录供应商异常台账
→ 触发供应商重新资质审查
审核输出模板
═══════════════════════════════════════
发票验真报告
═══════════════════════════════════════
发票代码:[10/12位代码]
发票号码:[8位号码]
开票日期:[YYYY-MM-DD]
金额(含税):[X,XXX.XX] 元
发票类型:[专用发票/普通发票/...]
查验结果:[一致/不一致/查无此票/作废/红冲/失控]
查验时间:[查验执行时间]
═══════════════════════════════════════
结论:[✅ 通过 / ❌ 驳回 / 🔴 升级]
[如通过:无额外操作]
[如驳回:原因说明 + 员工补正指引]
→ 假票/作废/红冲:要求换开发票
→ 失控发票:要求换票,同时记录供应商异常
→ 信息不一致:核实后重新提供正确发票
[如升级:说明升级原因和接收人]
═══════════════════════════════════════
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 194 lines · 85 tokens per session scan A 686dce4cb015
invoice-verification is a skill published in the GitHub repository vivy-yi/finance-skills (28 stars, last pushed 2mo ago), licensed MIT. It adds 85 tokens to every session and 1,785 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
wealth-structure
A framework for thinking about wealth through ownership, responsibility, leverage, and avoiding risks that could end your progress.
iso-13485-certification
Comprehensive toolkit for preparing ISO 13485 certification documentation for medical device Quality Management Systems. Use when users need help with ISO 13485 QMS documentation, including (1) conducting gap analysis of existing documentation, (2) creating Quality Manuals, (3) developing required procedures and work…
alpha-vantage
Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market…
hedgefundmonitor
Query the OFR (Office of Financial Research) Hedge Fund Monitor API for hedge fund data including SEC Form PF aggregated statistics, CFTC Traders in Financial Futures, FICC Sponsored Repo volumes, and FRB SCOOS dealer financing terms. Access time series data on hedge fund size, leverage, counterparties, liquidity…
edgartools
Python library for accessing, analyzing, and extracting data from SEC EDGAR filings. Use when working with SEC filings, financial statements (income statement, balance sheet, cash flow), XBRL financial data, insider trading (Form 4), institutional holdings (13F), company financials, annual/quarterly reports (10-K…
asc-ppp-pricing
Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.