triple-match-automation-ap

triple-match-automation-ap is a skill for Claude Code from vivy-yi/finance-skills. It costs 101 tokens per session (1,773 once invoked), scanned A, original, MIT.

A three-way accounts-payable check comparing a purchase order, a goods receipt note, and a supplier invoice. A purchase order records what was ordered, a goods receipt note records what arrived, and an invoice records what the supplier charges.

In plain words
What is it for?
Use it to match supplier invoices with purchase orders and receiving records, classify quantity, amount, price, and tax differences, and support payment decisions.
Why use it?
It helps prevent payment for goods or services that were not ordered or received, or for amounts, quantities, prices, or tax rates that do not agree.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to match supplier invoices with purchase orders and receiving records, classify quantity, amount, price, and tax differences, and support payment decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/finance-skills/triple-match-automation-ap
Install

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.

Any agent
npx skills add vivy-yi/finance-skills --skill triple-match-automation-ap
Clone the repo
git clone --depth 1 https://github.com/vivy-yi/finance-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for triple-match-automation-ap

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/finance-skills/triple-match-automation-ap/github.svg)](https://agentmods.dev/skills/vivy-yi/finance-skills/triple-match-automation-ap)
Your own site
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/triple-match-automation-ap"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/triple-match-automation-ap/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.

agentmods 80×15 button for triple-match-automation-ap

Your own site · 80×15
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/triple-match-automation-ap"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/triple-match-automation-ap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,773 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.01773
Opus 5 $0.00051 $0.00886
Sonnet 5 $0.00020 $0.00355
Haiku 4.5 $0.00010 $0.00177

Measured 13d ago against content hash d88f51f672b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

triple-match-automation-ap 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 13d 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.

finance-skills/skills/accounts-payable/skills/triple-match-automation-ap/SKILL.md · 232 lines

How it starts

The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(三单匹配规则/差异容忍度)。


/triple-match-automation-ap — 应付三单匹配

Examples

→ 示例:用户说"收到供应商发票,帮我核对 PO 和收货单,看看金额是否一致",系统应调用本技能,执行三单匹配并识别差异。

→ 示例:用户说"发票金额比 PO 多了 5000 元,业务说价格是后来口头谈的",系统应调用本技能,评估差异性质并给出处理建议。

→ 示例:用户说"三单匹配系统刚上线,帮我抽几个样本验证一下匹配逻辑是否正确",系统应调用本技能,执行三单匹配样本验证。

三单匹配原理

三单:
  PO(Purchase Order):采购订单(合同条款)
  GRN(Goods Receipt Note):收货单(实际收货数量)
  Invoice:供应商发票(供应商开票金额)

匹配逻辑:
  PO 数量 = GRN 数量 = Invoice 数量 → 完全匹配
  PO 单价 × GRN 数量 = Invoice 金额 → 金额匹配

差异类型:
  数量差异:发票数量 vs GRN 数量 vs PO 数量
  金额差异:发票金额 vs PO 金额(含税/不含税)
  价格差异:发票单价 vs PO 单价
  税率差异:发票税率 vs PO 约定税率

第一步:获取三单数据

从 [PO] 获取采购订单:

查询条件:采购订单号

PO 信息:
  - 供应商名称
  - 物料/服务描述
  - PO 数量
  - PO 单价(含税/不含税)
  - 税率
  - 付款条款
  - 合同约定的价格调整条款

从 [RCV] 获取收货记录:

查询条件:采购订单号 / 发票号

GRN 信息:
  - 实际收货数量
  - 收货日期
  - 收货仓库/验收人
  - 是否有部分收货
  - 是否有退货

从 [INV] 获取供应商发票:

查询条件:发票号码 / 供应商名称

Invoice 信息:
  - 发票号码
  - 开票日期
  - 金额(含税/不含税)
  - 税率
  - 物料/服务描述
  - 发票状态(正常/作废/红冲)

第二步:数量匹配

PO 数量:[X]
GRN 数量:[Y]
Invoice 数量:[Z]

数量匹配结果:
  - Z = Y = X:✅ 完全匹配
  - Z = Y < X:⚠️ 部分交货(按实际数量结算)
  - Z < Y:❌ 发票数量少于收货数量(联系供应商)
  - Z > Y:❌ 发票数量多于收货数量(不合理的部分不付款)

处理方式:
  - 按 GRN 数量作为基准(实际收货数量)
  - Invoice 金额按 GRN 数量调整

第三步:价格匹配

PO 单价(不含税):[X元]
GRN 数量:[Y]
PO 金额(不含税)= X × Y:[XXX元]
PO 税额(13%):[XXX元]
PO 价税合计:[XXX元]

Invoice 金额(不含税):[XXX元]
Invoice 税额:[XXX元]
Invoice 价税合计:[XXX元]

差异金额(不含税):[XXX元](Invoice - PO)
差异率:[X%]

差异判断:
  |差异率| ≤ [X]%(如 1%):
    → ✅ 可接受,AP 主管审批后可付款
  |差异率| > [X]%:
    → 🔴 须联系供应商确认,必要时重新开票

第四步:税率匹配

PO 约定税率:[13%]
Invoice 税率:[9%]

税率差异影响:
  - 税额减少:[XXX元]
  - 我方进项抵扣减少:[XXX元]
  - 实际成本增加:[XXX元]

处理方式:
  → 🔴 税率开低(如 13% → 9%)属于供应商少交税
  → 须联系供应商重新开具正确税率的发票
  → 在收到正确发票前,不予付款

第五步:生成匹配结论

═══════════════════════════════════════
三单匹配报告
发票号码:[INV-XXXXXX]
供应商:[供应商名称]
采购订单:[PO-XXXXXX]
匹配日期:[YYYY-MM-DD]
═══════════════════════════════════════

【三单数据】

采购订单(PO):
  数量:[X] | 单价:[XX元] | 金额:[XXXX元] | 税率:[13%]

收货单(GRN):
  数量:[X] | 收货日期:[YYYY-MM-DD]

供应商发票(Invoice):
  数量:[X] | 金额:[XXXX元] | 税率:[13%]

【数量匹配】

PO vs GRN vs Invoice:
  PO=[X] / GRN=[X] / Invoice=[X]
  结果:[✅ 完全匹配 / ⚠️ 部分匹配 / ❌ 差异]

【价格匹配】

PO 金额(不含税):[XXXX元]
Invoice 金额(不含税):[XXXX元]
差异:[XXX元]([+X%])
结果:[✅ 可接受 / 🔴 须核查]

【税率匹配】

PO 税率:[13%]
Invoice 税率:[13%]
结果:[✅ 一致 / 🔴 税率错误]

【匹配结论】

综合结论:[✅ 通过 / ⚠️ 有条件通过 / ❌ 不通过]

可付款金额:[XXXX元]
暂不付款:[XXXX元](差异部分)
原因:[...]

【处理建议】

如有不通过项:
  1. [处理建议一]
  2. [处理建议二]

下一步:[联系供应商重新开票 / AP主管审批后付款 / ...]

═══════════════════════════════════════
置信度:[✅ 高 / ⚠️ 中 / 🔴 低]
═══════════════════════════════════════

Read the full file on GitHub · 232 lines

Changes

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.

  1. 13d ago First seen · 232 lines · 101 tokens per session scan A d88f51f672b9

Subscribe to this mod's changes

triple-match-automation-ap is a skill published in the GitHub repository vivy-yi/finance-skills (29 stars, last pushed 3mo ago), licensed MIT. It adds 101 tokens to every session and 1,773 once invoked, about $0.0005 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.

Related

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.

kangarooking/cangjie-skill · 141 tokens

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…

foryourhealth111-pixel/Vibe-Skills · 126 tokens

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…

foryourhealth111-pixel/Vibe-Skills · 123 tokens

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…

foryourhealth111-pixel/Vibe-Skills · 110 tokens

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.

rorkai/app-store-connect-cli-skills · 45 tokens

fred-economic-data

Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources. Access GDP, unemployment, inflation, interest rates, exchange rates, housing, and regional data. Use for macroeconomic analysis, financial research, policy studies, economic forecasting, and academic research requiring…

foryourhealth111-pixel/Vibe-Skills · 75 tokens