Đi đến nội dung chính
D2 Group
← Commerce Insights

D2 Commerce Knowledge · COGS

COGS phải đi theo SKU, quantity và historical cost — không theo shop average.

Marketplace product cost chỉ hữu ích khi mỗi sold SKU map được vào controlled unit cost đúng kỳ. Effective dates, bundle rules và visible exceptions giúp contribution reproduce được khi cost và catalog structure thay đổi.

Direct answer

Marketplace COGS nên được tính thế nào?

COGS = sold quantity × valid unit cost của từng SKU trong đúng transaction period. Cost phải nằm trong controlled cost master có stable SKU key và effective date. Bundle cần documented cost rule; nếu cost chưa resolve, giữ economics incomplete thay vì dùng zero hoặc shop average.

COGS model

SKU → valid cost → quantity → contribution → exception control.

01

Identify the sold unit

Resolve marketplace SKU, variation hoặc bundle thực sự đã bán. Không tính cost khi commercial unit còn mơ hồ.

02

Resolve the valid cost record

Dùng controlled cost master để lấy unit cost có effective period phù hợp transaction.

03

Apply quantity

Nhân valid unit cost với quantity sold, hoặc dùng documented component rule nếu là bundle.

04

Preserve the evidence

Giữ SKU key, cost source, effective date và mapping logic để lịch sử có thể reproduce.

05

Calculate contribution

Nối COGS với valid revenue và variable selling costs khác để đọc product-level contribution.

06

Surface exceptions

Unknown SKU, missing cost, overlapping periods hoặc unresolved bundle phải visible đến khi được xử lý.

Operating formula

COGS = Σ(Sold Quantity by SKU × Valid Unit Cost for that SKU and Period)

Với bundle, thay single-SKU cost bằng governed bundle cost hoặc documented component-cost sum. Đây là marketplace operating model; accounting classification chính thức cần được giữ explicit.

Cost master

Cost master là control surface — không phải hard-coded spreadsheet cell.

Stable SKU key

Dùng identifier ổn định xuyên order export, internal product records và reporting transformations; product name không nên là join key duy nhất.

Unit cost

Lưu controlled direct product cost mà reporting model sử dụng, cùng unit mà cost đó đại diện.

Effective period

Ghi rõ cost bắt đầu có hiệu lực từ khi nào để cost update mới không rewrite contribution lịch sử.

Cost source

Giữ nguồn của cost record để margin movement có thể trace và điều tra thay vì trở thành unexplained change.

Bundle rule

Khai báo bundle có dedicated cost hay kế thừa component SKU × quantity; rule phải explicit trước report time.

Data-quality state

Missing, overlapping hoặc unverified cost record là exception state. Blank cost không phải bằng chứng cost bằng zero.

Bundle patterns

Bundle cost phải deterministic và reproduce được.

Dedicated bundle SKU

Marketplace bundle có controlled cost record riêng; dùng khi bundle là một sellable unit độc lập.

Component decomposition

Bundle COGS = tổng component quantity × valid component cost khi composition được governance rõ.

Changing bundle composition

Nếu cùng bundle ID có composition thay đổi theo thời gian, bundle rule cũng cần version hoặc effective period.

Unknown bundle mapping

Contribution giữ incomplete đến khi composition được resolve; không thay bằng shop-average cost để lấp dòng.

Cost classification

COGS cần tách khỏi các cost layer khác.

CostClassificationRule
Direct product costCOGSCost gắn trực tiếp với unit hoặc components đã bán.
Per-order packagingSeparate variable selling costTheo dõi riêng khi packaging thay đổi theo fulfillment và material với contribution analysis.
Variable fulfillment costSeparate variable selling costGiữ riêng khi business muốn contribution view bao gồm order-linked fulfillment economics.
AdsAcquisition costKhông chôn media spend vào COGS; giữ như một commercial cost layer riêng.
Affiliate / creator commissionSelling / acquisition costGiữ commission visible để product cost và acquisition economics có thể diagnose độc lập.
Software, fixed labor, agency feeOutside product COGSCó thể ảnh hưởng broader operating profit nhưng không nên âm thầm trộn vào SKU product cost trong model này.

Exception states

Missing cost phải làm giảm confidence — không được biến thành zero.

Unknown SKU

Order line không map được vào controlled cost master; phải resolve canonical SKU/variation mapping trước khi finalize contribution.

Missing effective cost

SKU tồn tại nhưng không có cost record hợp lệ cho order date; sửa historical cost period thay vì kéo current cost lùi về quá khứ.

Overlapping cost periods

Nhiều cost record cùng hợp lệ cho một SKU/date; phải resolve governance conflict trước khi chọn value.

Bundle components unresolved

Bundle tồn tại nhưng cost composition chưa rõ; phải khôi phục bundle/component rule trước product-level contribution.

Unit mismatch

Cost lưu theo case/pack/component trong khi order quantity dùng unit khác; cần normalize unit rule explicit trước phép nhân.

Cost source changed

Economic movement có thể đến từ source revision chứ không phải operating performance; source/version context phải được giữ lại.

Decision rules

Scale decision phải dùng historical product economics đúng SKU.

High-revenue SKU nhưng contribution yếu

Kiểm SKU COGS, selling price, voucher, Ads và commission cùng nhau trước khi tăng spend.

Shop margin dương nhưng một SKU âm

Không để shop-level aggregate che sản phẩm đang tiêu thụ contribution.

Current cost tăng

Áp cost mới từ effective point hợp lệ; không rewrite kỳ trước trừ khi business chủ động restate lịch sử.

Bundle sales tăng nhanh

Xác nhận bundle cost mapping trước khi gọi incremental revenue là profitable growth.

SKU chưa có reliable cost

Không đưa contribution của SKU vào decision-ready profitability cho đến khi cost được phục hồi.

COGS ratio biến động mạnh

Kiểm product mix, effective cost changes, bundle mapping và unit conversion trước khi quy movement cho selling performance.

Decision-ready checklist

11 checks trước khi tin COGS enough để ra quyết định.

01

Stable SKU identifiers

Không dựa duy nhất vào product name để join cost.

02

Controlled cost source

Không hard-code product cost bên trong report formulas.

03

Effective dates

Mọi cost change phải giữ historical reproducibility.

04

Explicit units

Khai báo unit của cost và normalize case/pack/item/component rõ ràng.

05

Document bundle rules

Mỗi bundle cần dedicated cost hoặc component-decomposition rule.

06

Version bundle composition

Khi components thay đổi theo thời gian, mapping cũng cần version/effective period.

07

Separate non-COGS costs

Packaging và variable selling costs khác giữ riêng nếu không thuộc chosen COGS definition.

08

Keep exceptions visible

Missing cost, unknown SKU và overlapping periods không được chuyển thành zero.

09

Calculate at transaction level

Tính order-line COGS trước khi roll up nếu identifiers support.

10

Review SKU contribution

Scale decision nên dùng lowest reliable SKU/bundle economics khi cost structure khác đáng kể.

11

Preserve source & rule

Historical COGS phải audit/reproduce được từ source và mapping logic ban đầu.

Claim boundaries

COGS chỉ có giá trị khi definition, history và source được giữ đúng.

Missing cost ≠ zero cost

Blank hoặc unresolved COGS là data-quality exception, không phải cơ sở để tạo margin giả.

Current cost ≠ historical cost

Cost hiện tại không được mặc định áp ngược cho các order đã bán trước khi cost đó có hiệu lực.

Shop-average COGS ≠ SKU economics

Average shop cost có thể che khác biệt lớn giữa SKU và làm sai scale decision.

COGS ≠ all operating costs

Ads, creator commission, software, fixed labor hoặc agency fee không tự động là product COGS trong operating model này.

Product name ≠ stable key

Tên sản phẩm có thể đổi hoặc trùng; join logic cần stable identifier nếu muốn reproducible reporting.

Bundle ID ≠ fixed composition

Cùng bundle identifier có thể thay composition theo thời gian nên mapping cần governance/version nếu thực tế thay đổi.

COGS ratio change ≠ operating performance

Movement có thể đến từ product mix, unit mapping hoặc source revision; cần diagnose trước khi kết luận.

COGS framework ≠ statutory accounting policy

Đây là commerce operating model; accounting/tax classification chính thức phải theo policy và chuẩn áp dụng của doanh nghiệp.

FAQ

Các câu hỏi nền tảng về COGS cho marketplace.

COGS cho TikTok Shop hoặc Shopee nên tính thế nào?

Tính COGS từ quantity sold của từng SKU nhân với valid unit cost áp dụng cho SKU và transaction period đó. Giữ cost source và effective date để historical orders reproduce được thay vì dùng current cost.

Tại sao SKU cost master cần effective date?

Product cost thay đổi theo thời gian. Effective date giúp reporting model dùng cost thuộc đúng historical transaction thay vì overwrite các kỳ cũ khi purchase/manufacturing cost hiện tại đổi.

Bundle nên tính COGS thế nào?

Hoặc dùng controlled bundle cost riêng, hoặc phân rã thành component SKUs theo documented quantity rule. Nếu bundle composition thay đổi theo thời gian, rule cũng cần version/effective period.

Packaging, fulfillment, software và agency fee có phải COGS không?

Không tự động. Operating model này dùng COGS cho direct product cost; packaging/variable fulfillment có thể là separate variable selling costs, còn software, fixed labor và agency fee thường nằm ngoài product COGS.

Nếu order có unknown SKU hoặc missing cost thì làm gì?

Giữ order/SKU ở exception state. Không coi missing cost là zero hoặc thay bằng shop average. Phải phục hồi SKU mapping, bundle rule hoặc historical cost record trước khi contribution được coi là decision-ready.

Tại sao shop-average COGS nguy hiểm cho scale decision?

Average có thể che chênh lệch lớn giữa SKU. Hai sản phẩm có price, cost, voucher, Ads và commission khác nhau có thể contribution hoàn toàn khác dù total-shop margin nhìn ổn.

Có nên cập nhật cost mới rồi tính lại toàn bộ lịch sử không?

Không mặc định. Cost mới nên áp từ effective point của nó. Chỉ restate lịch sử khi business chủ động quyết định và lưu được lý do/source của restatement.

Nếu cost được lưu theo thùng nhưng order bán theo gói thì sao?

Phải khai báo conversion rule giữa case/pack/item/component trước khi tính. Unit mismatch nếu xử lý ngầm có thể làm COGS sai theo hệ số lớn.

Nên tính COGS theo SKU hay order?

Govern cost theo SKU/effective date, sau đó áp quantity ở transaction hoặc order-line level. Từ đó có thể roll up lên order, SKU, campaign, channel hoặc shop nếu identifiers đủ tin cậy.

COGS ratio tăng mạnh có nghĩa shop vận hành kém hơn không?

Chưa chắc. Movement có thể do product mix, historical cost change, bundle composition, source revision hoặc unit conversion. Cần diagnose các nguyên nhân này trước khi kết luận về performance.

COGS có bao gồm Ads và Affiliate commission không?

Trong operating model này thì không. Ads và Affiliate/creator commission là selling/acquisition costs riêng để product cost và acquisition economics có thể được phân tích độc lập.

Framework COGS này có thay thế accounting policy của doanh nghiệp không?

Không. Đây là commerce operating framework để hỗ trợ contribution analysis và scale decisions; statutory accounting, tax và inventory-cost policy vẫn phải theo chuẩn và policy chính thức của doanh nghiệp.

Commerce Cost Control

Cần biến SKU cost thành reporting layer có thể audit và reproduce?

D2 có thể nối cost master, Orders, Ads và settlement thành một reporting workflow có exception handling và contribution logic rõ.

Trao đổi về Commerce Reporting

Tác giả & trách nhiệm

Đội ngũ D2 Commerce

Vận hành commerce, kinh tế sàn và hệ thống hiệu suất

D2 tách claim, giả định và evidence. Citation chỉ được gắn khi có nguồn hoặc evidence asset phù hợp; nội dung chưa kiểm chứng không được tự động trình bày như fact đã xác nhận.

Xem phương pháp evidence của D2