cogs-tracking-allocation

Calculate gross margins by tracking COGS and allocating landed costs per order.

14|3|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-skills-hub --skill cogs-tracking-allocation-tomtoto757
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cogs-tracking-allocation
Source: https://github.com/tomtoto757/ecomm-ai-skills-hub/tree/main/skills/catalog-inventory/finsilabs/catalog-inventory/cogs-tracking-allocation
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-skills-hub --skill cogs-tracking-allocation-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Track cost of goods sold and landed costs to compute accurate gross margins per order by combining platform cost data with landed costs.

Core Features & Use Cases

  • Track COGS per product variant and per order line to surface margins at the item level.
  • Allocate landed costs across received inventory using FIFO, LIFO, or weighted-average schemes.
  • Generate and compare standard costs to actual COGS for variance analysis across date ranges.
  • Integrate with common ecommerce platforms (Shopify, WooCommerce, BigCommerce) or custom stores to post costs and maintain inventory valuation.

Quick Start

Run a fulfilled-order workflow to post COGS and allocate landed costs across cost layers for the first time.

Frequently Asked Questions about cogs-tracking-allocation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate true gross margin per order including landed costs in ecommerce?

Yes, COGS and landed cost tracking works with Shopify, WooCommerce, and BigCommerce. The system handles per-order postings and maintains inventory valuation by applying costing methods directly to your ecommerce platform data.

What's the best way to allocate landed costs across received inventory?

The best way to allocate landed costs is using FIFO, LIFO, or weighted-average costing schemes. These methods distribute expenses across inventory cost layers to ensure accurate inventory valuation and precise margin analysis.

How do I perform variance analysis comparing standard costs to actual COGS?

Variance analysis compares predefined standard costs against actual COGS entries across specified date ranges. This process highlights discrepancies between expected and real expenses to identify costing inefficiencies and margin impacts.

Can I track COGS per product variant for accurate margin analysis?

Yes, tracking COGS per product variant is supported down to the individual order line. This granular costing data surfaces true item-level margins by combining platform expenses with allocated landed costs.

Do I need a specific ecommerce platform to maintain perpetual costing and inventory valuation?

No, you can use common platforms like Shopify, WooCommerce, BigCommerce, or custom storefronts. The system posts costs and maintains inventory valuation across diverse environments using perpetual costing methods.