skills/invoice-reconciliation/SKILL.md
Activate for: invoice, reconcile, reconciliation, three-way match, two-way match, invoice processing, AP, accounts payable, purchase order match, goods receipt match, invoice exception, price variance, quantity variance, duplicate invoice, invoice approval, invoice hold, invoice dispute, PO mismatch, over-invoiced, under-delivered, missing PO. NOT for: bank reconciliation (use banking plugin), vendor assessment (use vendor-assessment), spend category analysis (use spend-analysis).
npx skillsauth add duhu2000/supply-chain-qcc-enhanced invoice-reconciliationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Three-way match requires: Document 1: Invoice (from vendor) Document 2: Purchase Order (from ERP) Document 3: Goods Receipt / Service Confirmation (from operations)
TWO-WAY MATCH (acceptable only for):
NEVER approve a direct materials invoice without goods receipt confirmation.
TASK: [e.g. Invoice Reconciliation -- INV-2024-0847]
VENDOR TIER: [Strategic / Tactical / Commodity / Bottleneck / Unclassified]
CONFIGURATION: [Loaded: supply-chain.local.md / Not configured]
DATA SOURCES: [ERP / AP system / Manual input]
Extract structured data from invoice (PDF, email, EDI, manual entry):
MANDATORY FIELDS TO EXTRACT: Vendor name: [Exact legal name -- match against vendor master] Vendor ID: [Cross-reference ERP vendor master] Invoice number: [For duplicate detection] Invoice date: [Check against late submission rules] PO reference: [Required for matching -- flag if absent] Line items: [Description / quantity / unit / unit price / line total] Total amount: [Verify arithmetic: sum of lines + tax = total] Payment terms: [Match against contracted terms] Bank details: [Flag if different from vendor master -- fraud risk]
VALIDATION CHECKS AT EXTRACTION: Arithmetic check: do line items sum to invoice total? Vendor name match: does invoice name match ERP vendor master? Duplicate check: has this invoice number been submitted before? Late submission: is invoice date within the configured day limit? Bank detail change: are bank details the same as vendor master?
FLAG IMMEDIATELY IF: RED Bank details differ from vendor master -> FRAUD ALERT -- do not process; contact vendor by phone (not email) to verify; escalate to Finance Director RED Duplicate invoice number -> REJECT; notify vendor RED Invoice > configured days old -> REJECT; notify vendor of late submission policy RED Vendor not in approved vendor list -> HOLD; escalate to Procurement
MATCH EACH LINE ITEM AGAINST: Document A: Invoice line (what vendor claims to be owed) Document B: Purchase Order line (what was authorised to buy) Document C: Goods Receipt / Service Confirmation (what was actually received)
QUERY ERP via MCP:
MATCH CLASSIFICATION PER LINE ITEM:
MATCHED -- all within tolerance Invoice qty = GR qty (within tolerance) Invoice price = PO price (within tolerance) -> Auto-approve this line
PRICE VARIANCE -- OUTSIDE TOLERANCE Invoice price != PO price, outside tolerance -> Route to Procurement; require vendor price justification
PRICE VARIANCE -- WITHIN TOLERANCE Invoice price != PO price, but within configured tolerance -> Auto-approve with flag to Finance (audit trail)
QUANTITY VARIANCE -- OVER-INVOICED Invoice quantity > GR confirmed quantity -> Hold over-invoiced portion; investigate with warehouse/vendor
QUANTITY VARIANCE -- GOODS RECEIPT PENDING Invoice quantity matches PO but GR not yet received/confirmed -> Hold invoice; alert warehouse for GR confirmation; set 5-day follow-up reminder
PO NOT FOUND Invoice references a PO that does not exist in ERP -> Hold entire invoice; route to Procurement for retrospective PO or rejection decision
DUPLICATE DETECTED Same vendor, same amount, within configured days of prior invoice -> Reject; notify vendor; log as potential fraud attempt if persistent
UNAUTHORISED CHARGE Line item has no corresponding PO line -> Reject this line; notify vendor; request credit note
FOR EACH EXCEPTION TYPE, APPLY ROUTING RULES:
Price variance -- within tolerance: Action: Auto-approve with Finance notification Log: Exception register (for pattern monitoring) Owner: Finance (automated)
Price variance -- outside tolerance (< escalation threshold): Action: Route to category manager for approval Deadline: 3 business days Owner: Category manager + Procurement
Price variance -- outside tolerance (> escalation threshold): Action: Route to CPO for approval Deadline: 5 business days Owner: CPO
Quantity variance -- over-invoiced: Action: Hold excess; investigate with warehouse team Deadline: 5 business days to confirm GR or reject Owner: Warehouse + Finance
GR pending: Action: Hold invoice; alert warehouse; 5-day auto-reminder If unresolved at 10 days: escalate to Operations Manager Owner: Warehouse -> Finance on resolution
PO not found (> materiality threshold): Action: Route to Procurement for retrospective PO or rejection Deadline: 3 business days Owner: Procurement
Duplicate invoice: Action: Reject immediately; notify vendor; log incident Owner: Finance (automated)
Fraud alert (bank details changed): Action: STOP all processing; escalate to Finance Director immediately Owner: Finance Director
LOG FOR EVERY INVOICE:
PATTERN DETECTION (run weekly): Same exception from same vendor > 3x in 30 days: -> Flag as systematic issue; recommend vendor data alignment meeting
Price variance on same line item > 2 consecutive invoices: -> Flag as contract non-compliance; initiate commercial review
GR pending rate > 15% of invoices from one vendor: -> Flag as goods receipt process issue (warehouse or vendor despatch?)
INVOICE RECONCILIATION: [Invoice Number] | [Vendor]
================================================================
Invoice date: [Date] PO matched: [PO number or NOT FOUND]
Processing: [Date] GR matched: [GR number or PENDING/NONE]
LINE ITEM ANALYSIS:
Item [N]: [Description] -- [Qty] @ [Price]
PO price: [X] Invoice price: [X]
Price variance: [+/-X] ([+/-X]%)
GR qty: [N] confirmed
Invoice qty: [N]
Qty variance: [+/-N units]
TOLERANCE: [+/-X% configured for this category]
STATUS: [MATCHED / WITHIN TOLERANCE / EXCEPTION TYPE]
Action: [Specific action required]
RECONCILIATION SUMMARY:
Approved for payment: [X]
On hold (pending GR): [X]
Disputed (variance): [X]
Rejected (unauthorised): [X]
Original invoice total: [X]
RECOMMENDED PAYMENT: [X]
VENDOR COMMUNICATION: [Drafted -- see /vendor-communicate]
AUDIT LOG: [Saved to exception register]
================================================================
ALL OUTPUTS REQUIRE REVIEW BY A QUALIFIED PROFESSIONAL BEFORE USE IN BUSINESS DECISIONS.
tools
供应链风险扫描 SKILL · 企查查 MCP V2.0 增强版。 供应链韧性管理的持续监控工具。对核心供应商批量实时扫描高危风险信号(失信被执行 / 破产重整 / 司法拍卖 / 法代个人失信 / 实控人出险),一旦出现立即触发预警。V2.0 新增"关键人员批量扫描"—— 通过 qcc-executive 对供应链上所有核心法代做个人画像快扫,识别"企业清洁但法代出险"的隐性风险。 核心能力: - 批量供应商持续监控(50-200 家供应商一次扫描) - 11 项高危预警信号(失信 / 限高 / 被执行 / 股权冻结 / 破产 / 吊销 / 司法拍卖 / 经营异常 / 资不抵债等) - **V2.0 新能力**:关键人员批量扫描 —— 对供应链上 N 家供应商的 N 位法代同时做个人红线快扫 - 预警级别 S/A/B + 推荐 Action - 供应中断应急响应链路 适用场景:采购与供应链团队贷后持续监控 / 核心供应商每日健康度巡检 / 供应链风险管理驾驶舱 / 供应中断应急预案触发。 使用方式:/supply-risk 供应商列表 [--frequency daily|weekly|monthly] [--alert-only 仅输出预警] [--format md|docx|pptx]
tools
供应商准入评估 SKILL · 企查查 MCP V2.0 增强版。 采购准入阶段的供应商深度尽调工具。输入供应商名称,AI 完成 9 维度风险评估,覆盖 34 类中国特有风险信号(司法执行 / 经营异常 / 税务违规 / 破产风险等),V2.0 新增双随机抽查 + 历史处罚两层维度,输出结构化准入报告。 核心能力: - 基础工商核验 + 资质证书有效性 - 司法风险 34 类扫描(当前层) - **V2.0 新能力**:历史行政处罚追溯(qcc-history)+ 双随机抽查合规评分(qcc-operation `get_random_check` 新工具) - 纳税信用 + 海关信用 + 政府监管评级 - 法代 × 实控人个人风险快扫 - 准入评级 A/B/C/D 输出 适用场景:集中采购评审 / 国有企业供应商准入 / 甲方供应商库入库 / 招投标前资格预审。 使用方式:/vendor-assess 供应商名称 [--category 类型] [--value 合同金额] [--format md|docx|pptx]
tools
供应商年度健康体检 SKILL · 企查查 MCP V2.0 增强版。 供应商年度评审的标准化核查工具。对核心供应商进行全面年度体检,V2.0 新增真实财务 YoY 对比 + 双随机抽查 + 历史对比三层能力,一次性输出经营状态变化、资质证件到期情况、信用记录变更、财务指标退化预警的结构化报告。 核心能力: - **V2.0 新能力**:`get_financial_data` 3 年财报 YoY 对比 - **V2.0 新能力**:`get_random_check` 双随机抽查记录 - 资质证件到期提醒(含续期风险) - 经营状态 YoY 变化(参保人数 / 招聘 / 招投标 / 荣誉) - 信用记录变更(YoY 新增失信 / 限高 / 行政处罚) - 法代 × 核心高管变动跟踪 适用场景:采购供应商年度评审 / 续签决策 / 供应商分级调整 / 战略供应商健康度跟踪。 使用方式:/supplier-annual-check 供应商名称 [--baseline 上期评审日] [--format md|docx|pptx]
tools
新供应商快速筛选 SKILL · 企查查 MCP V2.0 增强版。 招投标或采购寻源阶段对候选供应商的批量快速筛选工具。与"供应商准入评估"的深度核验不同,本 SKILL 聚焦"快速筛选 + 去伪存真"——一次扫描多家候选供应商,输出排序后的短名单。V2.0 新增双随机抽查作为合规筛选利器。 核心能力: - 批量扫描候选供应商(每次可处理 5-20 家) - 9 项核心红线快筛(失信 / 限高 / 被执行 / 经营异常 / 破产 / 资不抵债 / 重大处罚 / 股权冻结 / 吊销) - **V2.0 新能力**:`get_random_check` 双随机抽查合规评分——经得起政府抽查 = 合规性强信号 - 输出短名单(排除红线 + 按综合评分排序) 适用场景:招标寻源阶段候选供应商排查 / 集中采购前的候选池筛选 / 新业务领域供应商批量扫描。 使用方式:/new-supplier-screening 供应商 1 / 供应商 2 / ... [--top N 返回前 N 名] [--format md|docx|pptx]