Gross margin

Pays on margin rather than revenue, so discounting costs the rep.

Worked example

A $100,000 deal with $60,000 of cost pays 20% of the $40,000 margin: $8,000.

The plan definition

This is the plan exactly as the product would create it. Rates are decimal strings rather than numbers throughout, because binary floating point cannot represent most of them exactly and a commission rate is not a place to discover that.

id: gross-margin
version: 1
effective_from: 2026-01-01
period: monthly
currency: USD
components:
  - id: margin
    label: Gross Margin
    basis: "allocation.amount - number(allocation.deal.attributes.cost_of_goods)"
    rate:
      type: flat
      rate: "0.20"

Starting from this template gives you an editable copy, it is not locked, and the editor validates as you type.

← All templates