stripe-projects
stripe projects
create-purchase-receipt
Create goods receipt (GR) record when receiving goods from supplier
Full skill instructions
Creates a Goods Receipt (GR) record in NexERP when goods are physically received from a supplier. This is triggered by a Delivery Order from the supplier.
python create-purchase-receipt/main.py \
--supplier-name "NINGBO METALWIRE" \
--receipt-date "2025-10-27" \
--items '[
{
"product_name": "WIRE D1.2-L105.8",
"quantity": 200,
"unit_price": 8.50,
"po_reference": "PO25100055"
}
]' \
--delivery-order "DO-2024000" \
--json
| Field | Type | Description |
|---|---|---|
| supplier_name | string | Supplier name (fuzzy match) |
| receipt_date | string | Receipt date (YYYY-MM-DD) |
| items | JSON array | Line items received |
| Field | Type | Description |
|---|---|---|
| delivery_order | string | Supplier's DO number |
| po_reference | string | Related PO number |
| remark | string | Any notes |
| Field | Required | Description |
|---|---|---|
| product_name | Yes | Product name or SKU |
| quantity | Yes | Quantity received |
| unit_price | Yes | Price per unit |
| discount | No | Discount percentage (0-100) |
| remark | No | Item-specific notes |
{
"success": true,
"gr_number": "GR25100048",
"txn_id": 2210,
"supplier": "NINGBO METALWIRE PRODUCTS CO.,LTD",
"receipt_date": "2025-10-27",
"items_count": 1,
"subtotal": 1700.00,
"grand_total": 1700.00,
"delivery_order": "DO-2024000"
}
{
"success": false,
"error": "Supplier 'XYZ' not found"
}
GR{YY}{MM}{NNNN}GR25100048 = October 2025, receipt #48# All items from PO received
python create-purchase-receipt/main.py \
--supplier-name "ACTION BOLT" \
--receipt-date "2025-10-27" \
--items '[
{"product_name": "WIRE D1.2", "quantity": 200, "unit_price": 8.50}
]' \
--po-reference "PO25100055" \
--json
# Only 150 out of 200 units received
python create-purchase-receipt/main.py \
--supplier-name "ACTION BOLT" \
--receipt-date "2025-10-27" \
--items '[
{"product_name": "WIRE D1.2", "quantity": 150, "unit_price": 8.50}
]' \
--po-reference "PO25100055" \
--remark "Partial delivery - 50 units backordered" \
--json
python create-purchase-receipt/main.py \
--supplier-name "NINGBO" \
--receipt-date "2025-10-27" \
--delivery-order "DO-2024000" \
--items '[
{"product_name": "WIRE D1.2-L105.8", "quantity": 100, "unit_price": 8.50},
{"product_name": "WIRE D0.8-L133.5", "quantity": 200, "unit_price": 7.30}
]' \
--json
# After Document Agent extracts Delivery Order
extracted_data = {
"document_type": "delivery_order",
"issuer": "NINGBO METALWIRE PRODUCTS CO.,LTD",
"do_number": "DO-2024000",
"po_reference": "PO25100054",
"delivery_date": "2025-10-27",
"line_items": [
{"description": "WIRE D1.2-L105.8", "qty_delivered": 100, "unit_price": 8.50}
]
}
# Call skill via Bash
result = bash_tool.execute(
f"python skills/purchasing/create-purchase-receipt/main.py "
f"--supplier-name '{extracted_data['issuer']}' "
f"--receipt-date '{extracted_data['delivery_date']}' "
f"--delivery-order '{extracted_data['do_number']}' "
f"--items '{json.dumps(items)}' "
"--json"
)
| Error | Cause | Solution |
|---|---|---|
| Supplier not found | Invalid supplier name | Check tbl_supplier |
| Product not found | Invalid SKU/name | Check tbl_product_code |
| Invalid date | Wrong date format | Use YYYY-MM-DD |
| Negative quantity | Invalid input | Quantity must be > 0 |
# Test with sample delivery order
python create-purchase-receipt/main.py \
--supplier-name "NINGBO" \
--receipt-date "2025-10-27" \
--items '[{"product_name": "WIRE D1.2", "quantity": 50, "unit_price": 8.50}]' \
--verbose --json
Database: carrickc (MariaDB) Tables: tbl_preceipt_txn, tbl_preceipt_item, tbl_preceipt_movement Document Format: GR25100048 Inventory Impact: Yes (increases stock)
stripe projects
Harvest every `ponytail:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals ponytail leaves behind get tracked instead of rotting into "later means never". One-shot report, changes nothing.
okx dex market
okx agentic wallet
gmgn portfolio
okx dapp discovery
okx agent payments protocol
Stripe payment processing with checkout sessions, subscriptions, webhooks, and customer management.
Build comprehensive 3-5 year financial models with revenue projections, cost structures, cash flow analysis, and scenario planning for early-stage startups. Use this skill when creating financial projections, calculating burn rate or runway, modeling fundraising scenarios, or preparing investor-r...
Stock and cryptocurrency analysis with portfolio management and multi-dimensional scoring.
Real-time crypto derivatives positioning, whale tracking, liquidations, and institutional ETF flows across 37 specialized tools.
Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Stay Ahead with Finalle.ai: The Ultimate Financial News and Tools Platform
AI-powered Pine Script code generator for TradingView
Research stocks at the speed of thought.
Empower your investment strategies with AI signals, option flow data, and advanced chart patterns.
Danelfin review covering its AI stock and ETF scores, rankings, portfolio tools, current pricing, strengths, risks, and alternatives for investors.
A software for comprehensive market sentiment analysis.
'Stock Correlations' App by Freshly.ai: Reveal Stock Patterns and Trends