Confidential client · Under NDA
Commission and incentive platform for an energy and telecom sales network
How I led the engineering of a platform that turns layered commission rules into figures that agents and directors can check.
Project facts
- My role
- Engineering lead, working with the product lead and the end client
- Users
- External sales agents, team leads, directors and the back office
- Tools
- A web dashboard and a separate multiplier tool
- Stack
- Django, PostgreSQL
What this page shares
- The sector, scale and the type of users involved
- My role, the stack and why it was chosen
- A conceptual architecture drawn by me
- The decisions I made and the alternatives I rejected
- Results as ranges, directions or mechanisms
What stays private
- The client's name, brand and country list
- Screens, UI, internal system names and URLs
- Any personal data about users, customers or patients
- Internal documents, exact volumes and revenue figures
- Source code, schemas and configuration
Context and problem
The client runs a network of external agents selling energy and telecom contracts. Commission depends on the product, the contract conditions and multipliers that stack on top of each other. Calculated by hand, it was slow and hard to check.
The work covered two tools for the same client: a dashboard that shows each person the contracts, prospects and targets they are entitled to see, and a separate multiplier tool that calculates commission from the rules. Both had to produce figures the client can verify.
Constraints
- Rules that nest
- Multipliers depend on product, contract conditions and exceptions, and they change over time.
- Figures people are paid on
- Every result must match what the client would calculate by hand, VAT included.
- Visibility by role
- Agents, team leads and directors each see a different slice of the same contracts.
Architecture, conceptual
Drawn by me from the design. Component names are generic on purpose. This is not the client's documentation.
Users
Application
Services
Data
Key decisions and what I rejected
| Decision | Alternative rejected | Why |
|---|---|---|
| Commission rules stored as configuration with nested conditions | Formulas written into code | Rules change by product and period. Configuration lets them change without a release, including temporary exceptions. |
| Visibility rules defined per role and level | A separate report for each role | A role rename or an access extension becomes a rule change, not new code. |
| Validation against real historical data, side by side | Test cases alone | Agents are paid on these figures. Matching past manual results is the proof the client trusts. |
Results
Exact figures are confidential under the client agreement, so the results below are directions and mechanisms rather than numbers.
Rules, not spreadsheets
for every payout
Commission is calculated from configured multipliers.
Each role
sees its own contracts
Visibility rules cover agents through to directors.
Checked against history
and matched
Platform results agreed with past manual calculations, side by side.
What I would do differently
I would generate exports from the same query as the dashboard from day one. A gap between on-screen and Excel figures was one of the issues we had to close.
Not published on this page
- The client's name and brand
- Commission rates, multipliers and payouts
- Agent names, counts and contract data
- Screens of the dashboard
Written from my own knowledge of the design. No client documents, screens or data were used.
Walk through this project on a call
30 minutes. I explain how the multiplier engine handles nested rules and exceptions, and how the results were checked against real history. The call covers my engineering reasoning, not client details.