Skip to content

Set up a commission agent

A commission agent is a customer who earns a share of the revenue of other accounts or resellers without reselling anything. After every billed call of an assigned account or reseller, the switch credits the agent’s balance with the commission and records it. This tutorial makes a partner the commission agent of one account and one reseller. Allow about 15 minutes. For when to use a commission agent instead of a reseller, see Commission models.

  • You have Administrator access to the panel.
  • The partner exists as a reseller directly under you, created in My Customers → Resellers. See Customers.
  • The partner has the same base currency as the accounts and resellers it will earn on.

The Commission Agent list offers only your own direct resellers in the same currency as the account or reseller you are editing; a reseller cannot be its own agent. Accounts cannot be agents.

A customer tree: C1 with resellers C2-1 and C2-2 and accounts a4 to a6; C2-1 has accounts a1, a2 and reseller C3 with account a3; C2-2 has accounts a7 and a8

Logged in as C1 in the tree above:

  • C2-2 can be the agent of the accounts a4, a5 or a6.
  • C2-2 can be the agent of the reseller C2-1. It then earns on every call C2-1 is billed for, which includes the calls of a1, a2 and of a3 under C3.
  • C3 cannot be anyone’s agent for C1, because it is not a direct reseller of C1. C2-1 can make it the agent of a1 or a2 in its own panel.

The commission is the cost of the call billed to the account or reseller, multiplied by Commission Size. A call billed at 0.50 with a size of 10 gives the agent 0.05.

  • A positive size credits the agent’s balance. The commission is recorded as a CDR of the agent with a negative cost: money added, not charged.
  • A negative size, for example -10, debits the agent’s balance by the same share instead.
  • Calls that cost nothing produce no commission.

The commission is a share of the revenue, not of your margin, and you pay it. Price the tariff so that it covers both.

  1. Open My Customers → Accounts and open the account.
  2. Select the Advanced tab.
  3. Under Service / Payment select Commission Agent: the partner.
  4. Enter Commission Size (%): 10 for 10%.
  5. Click Save.
Screenshot "tutorials/commission-agent-account" has not been generated yet — see scripts/screenshots/screens.yml.

Result: every billed call of the account credits the partner with 10% of its cost.

  1. Open My Customers → Resellers and open the reseller.
  2. Select the Commission tab.
  3. Select Commission Agent: the partner. Commission Size, % becomes editable.
  4. Enter Commission Size, %, for example 5.
  5. Click Save.
Screenshot "tutorials/commission-agent-reseller" has not been generated yet — see scripts/screenshots/screens.yml.

Result: the partner earns 5% of what the reseller is billed for its whole traffic.

  1. Make a test call from the account and note its cost in Reports → Call Records (CDRs).
  2. Open My Customers → Resellers and click Actions → Login as for the partner.
  3. In the partner’s panel open Reports → Commissions Reports, select the Commission Source and today’s period, and click Update Report.
  4. Check that Commission Earned in the row of the account is the call cost multiplied by the size. Current Balance in that row is the balance of the account, not of the partner.
  5. Back in your own panel, check in My Customers → Resellers that the partner’s balance grew by the same amount.
Screenshot "admin-panel/commissions-report" has not been generated yet — see scripts/screenshots/screens.yml.

The Commissions Reports item appears in the partner’s menu as soon as it is the agent of at least one account or reseller.

  • Commission models: commission agent or reseller.
  • Reports: the commissions report and the other reports.
  • Customers: pay the earned balance out with Add Balance → Manual Charge.