Back to list
carrickcheah

create-purchase-claim

by carrickcheah

Automated bulk document processing with multi-agent AI. Fine-tuned Open source vision model: Liquid AI LFM2-VL extracts structured data from invoices/POs at zero API cost (95%+ accuracy). Claude Haiku agent orchestrates database operations via MCP. Processes 10 docs in 3min, 70% labor cost reduction. Tech: LoRA fine-tuning, S3 storage, Modal GPU.

0🍴 0📅 Nov 21, 2025

SKILL.md


name: create-purchase-claim description: Create purchase claim (PCL) for price/quantity discrepancies with supplier

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: PCL25090003 = September 2025, claim #3

Claim Types

  • price_difference - Overcharged on price
  • quantity_shortage - Delivered less than ordered
  • quality_issue - Defective goods (financial claim)
  • other - Other discrepancies

Database: tbl_pclaim_txn, tbl_pclaim_item Inventory Impact: No (financial only)

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon