Docs Library

Guide

Calculate affiliate commissions from your revenue

Import revenue, apply each partner’s commission terms, and prepare statements that explain the calculated amounts.

A practical guide for replacing manual affiliate commission tracking with governed payout calculations.

To try sample data, create a free workspace and choose the SaaS Affiliate sample during setup.

On This Page

Details

What to know

Recommended setup

Model affiliates as payees, imported sales as revenue events, and commission terms as versioned rules.

  • Create one payee per affiliate or partner.
  • Map recurring revenue products before calculation.
  • Use tiers or product-scoped rules for different commission terms.
  • Review refunds and clawbacks before issuing statements.

Monthly close workflow

Keep commission close work repeatable by running the same review path every period.

  • Import or sync revenue rows.
  • Review product mappings and rule readiness.
  • Simulate significant rule changes before they go live.
  • Run calculations, inspect payee totals, then generate statements.

Reference Tables

Fields and checks

Worked affiliate commission example

Use this simple case to compare manual spreadsheet math with Allocora rule output.

Input Example value Calculation note
Eligible sales before refund USD 12,000.00 Sales rows that match the affiliate, product, and period.
Commission rate 15% Stored as a versioned rule with effective dates.
Refund clawback USD -300.00 at 15% Refund rows reduce the commission basis when they qualify.
Base formula (12,000.00 - 300.00) x 0.15 Produces USD 1,755.00 before downstream payout execution.

Illustrative workbook and Allocora workflows

Compare these examples with the controls and outputs in your current process.

Example workbook Allocora Review task
Affiliate names in free-form columns. Affiliates are payees with stable identifiers. Statements and exports can use the same recipient record every period.
Rates copied into formulas. Rates live in versioned rules. Prior periods remain tied to the rule that produced them.
Refunds handled in side tabs. Refund rows are reviewed before calculation. Clawbacks become part of the explainable run output.
Final totals copied into emails. Statements come from reviewed calculation runs. Payee-facing evidence is generated from the governed result.

Examples

Sample CSV rows and formula

These rows show the type of source evidence a commission rule can evaluate.

Sample affiliate CSV rows

external_revenue_id,transaction_date,amount,currency,revenue_type,external_product_id,payee_hint,metadata_affiliate_id
inv_1001,2026-05-01,12000.00,USD,sale,sku_pro,Northwind Partner,aff_001
rf_1001,2026-05-18,-300.00,USD,refund,sku_pro,Northwind Partner,aff_001

Simple commission formula

eligible_revenue = 12000.00 - 300.00
commission_due = eligible_revenue * 0.15
commission_due = 1755.00

Apply this in a workspace

Create a free workspace, explore sample data, and import your own revenue when you are ready.