Claude-skill-registry create-purchase-claim
Create purchase claim (PCL) for price/quantity discrepancies with supplier
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/create-purchase-claim" ~/.claude/skills/majiayu000-claude-skill-registry-create-purchase-claim && rm -rf "$T"
manifest:
skills/data/create-purchase-claim/SKILL.mdsource content
Create Purchase Claim Skill
Purpose
Creates a Purchase Claim (PCL) record when there are price or quantity discrepancies. Triggered by a Discrepancy Report comparing invoice vs quotation.
When to Use
- Invoice price differs from quotation
- Quantity short delivery
- Quality issues requiring compensation
- Price overcharge
Usage
python create-purchase-claim/main.py \ --supplier-name "NINGBO" \ --claim-date "2025-10-27" \ --claim-type "price_difference" \ --claim-amount "200.00" \ --items '[{"product_name": "WIRE D1.2", "quoted_price": 6.00, "invoiced_price": 7.00, "quantity": 200}]' \ --invoice-reference "PI25100065" \ --description "Price difference from approved quotation" \ --json
Output
{ "success": true, "pcl_number": "PCL25090003", "txn_id": 48, "supplier": "NINGBO METALWIRE PRODUCTS CO.,LTD", "claim_date": "2025-10-27", "claim_amount": 200.00, "claim_type": "price_difference", "invoice_reference": "PI25100065" }
Document Format
- Format:
PCL{YY}{MM}{NNNN} - Example:
= September 2025, claim #3PCL25090003
Claim Types
- Overcharged on priceprice_difference
- Delivered less than orderedquantity_shortage
- Defective goods (financial claim)quality_issue
- Other discrepanciesother
Database: tbl_pclaim_txn, tbl_pclaim_item Inventory Impact: No (financial only)