Cost, margin and valuation
How cost is tracked, how margin is derived, and what feeds the COGS report.
Each product carries a cost. That cost drives the COGS report, which multiplies quantity sold by the product's cost across the period. See COGS report.
Quantities must be whole numbers
Stock quantities are integers, and non-integer values are rejected at the API rather than being coerced. A fractional quantity would corrupt stock valuation, which sums quantity multiplied by cost.
Products with no cost
A product with no recorded cost contributes zero to COGS. That makes margin look better than it is, so populating cost is worth doing before trusting the report.
Still stuck? We answer every message.Contact support