Business Growth & How-To

How to Make MLM Software: Architecture and the Order of Work

The hard part of MLM software is not the tree view or the dashboard. It is a commission engine that produces the same answer twice, and four records that are unrecoverable if you do not capture them from the first enrolment.

The hard part is not the tree view. It is not the dashboard, the replicated site or the mobile app.

It is a commission engine that produces the same answer twice — including when re-run months later after the plan has changed — and four records that cannot be reconstructed if you did not capture them from the first enrolment.

Everything else is ordinary software.

The architecture, in four bounded areas

The seams matter more than the technology choices.

1. Identity and placement

Two relationships that beginners collapse into one and should not:

  • Sponsor — who introduced this person. A commercial and often permanent fact.
  • Placement — where the position sits in the tree. Structural, and in some plans movable.

In a binary these routinely differ, and the difference has money attached. Storing one field for both is the most common early mistake, and unpicking it later means rewriting history you no longer have.

Also here: the genealogy change history. Not the current shape — every change to it, with an effective date. A tree that stores only its present form cannot explain a payment made under a previous form, which is exactly the payment somebody will query.

Genealogy software covers what the tree needs to hold.

2. Commerce

Catalogue, orders, payments, returns, shipping. Mostly conventional, with two direct selling specifics:

Volume held separately from price. Commissionable volume is not the sale price. Tie them and every promotion, tax change and currency difference distorts commission arithmetic. This is the single most consequential data-model decision in the whole system.

A classification on every order, at the moment it is placed. Participant purchase for personal use, participant’s sale to a retail customer, or a direct retail customer order. Three values, recorded at point of sale.

That field is the evidence for where your revenue comes from. It cannot be inferred later — nobody can look at a two-year-old order and determine whether the buyer was a participant purchasing for themselves. Which is why it must exist before the first enrolment rather than before the first audit.

3. The commission engine

A batch calculation over immutable inputs, producing an auditable run. Deliberately not a set of live queries.

Properties it needs:

  • Deterministic. Same inputs, same outputs, every time.
  • Reproducible after the plan changes, which requires the plan configuration to be versioned and stored with the run rather than read live at execution time. This one requirement eliminates most naive designs.
  • Explainable per participant. Not a total — the components, the volume that fed each, and the rules applied. A distributor who cannot see how a figure was reached opens a ticket, and support cost per participant is a margin line.
  • Re-runnable in a dry state, so a period can be inspected before anything is paid.
  • Adjustment-capable without mutation. Corrections are new entries, never edits to a completed run.

The edge cases are the actual work, and they are where estimates break:

CaseWhy it is expensive
Compressionwho is skipped depends on qualification, which depends on the period being calculated
Flushingunused volume expiry interacts with every carry-forward rule
Capsa cap applied per period, per component or per rank produces different totals
Rank change mid-periodwhich rank governs which component, and from when
Returns after payoutclaw back, offset against future, or absorb — a policy decision with code behind it
Cross-market currencyrate at order, at close, or at payment
A participant who terminates mid-periodpartial qualification, and where their volume goes

None of these appear in a plan presentation. All of them appear in month three. Commission software covers the engine in more depth.

4. Presentation

Back office, replicated sites, mobile. Reads, never derives.

If a screen computes its own commission figure, you have two engines and they will disagree — generally on the day somebody is comparing them.

The four unrecoverable records

Worth stating plainly, because each one is cheap to add on day one and impossible to add on day four hundred:

  1. Order classification at point of sale. Participant purchase, participant’s retail sale, direct retail customer.
  2. Consent as an event — timestamp, version of the text, scope, channel. Not a boolean on a user row. A boolean cannot answer “what did they agree to, and when”.
  3. Versioned plan configuration per run. Without it, no historical run can be reproduced.
  4. Full genealogy change history, with effective dates.

Companies discover these gaps during an audit, a regulatory query or a dispute — the three moments when the gap is most expensive and least fixable.

A realistic build order

Not the order founders want, which is usually the app first.

1. Data model. Placement separate from sponsor. Volume separate from price. Classification on every order. Consent as events. Get this wrong and everything after it inherits the error.

2. Commission engine, against the real plan document. Not the presentation — the document, with every edge case above given a stated answer. If the plan does not define what happens on a return after payout, that is a business decision needed before code, not a technical question.

3. Order capture with classification. The smallest thing that records a correct order.

4. Back office read views. Volume in progress, activity, the commission breakdown with its components.

5. Genealogy views. Genuinely useful, and the part most often built first because it demonstrates well.

6. Replicated sites and attribution. With the one-order-one-owner rule decided by policy before being implemented.

7. Payouts, tax handling, integrations.

8. Mobile.

The ordering principle: anything that writes a record you cannot reconstruct comes before anything that displays one.

Build or buy

Buy the standard parts. Build only what is genuinely specific — usually less than expected.

Buying makes sense when the plan is conventional, which most are. A commission engine for a standard binary, unilevel, matrix or generation plan is a solved problem, and rebuilding it means re-encountering every edge case in the table above at your own expense.

Building makes sense when the plan is genuinely unusual, when the product model does not fit ordinary commerce, or when a regulatory constraint requires control of the stack.

The failure case is building because the plan looks simple. Plans are simple in the presentation and complicated in the exceptions, and the exceptions are the entire cost.

Cost to develop MLM software covers what actually drives the number, and must-have MLM software features covers the module list ranked by what breaks without it.

All articles

FAQ

Questions operators ask before they switch

Straight answers on plan mechanics, migration risk and compliance. If yours is not here, ask us directly.

What is the hardest part of building MLM software?

The commission engine, and specifically making it deterministic and reproducible. A run must produce the same figures when re-executed against the same data, months later, after the plan has changed — which means the plan configuration in force at the time has to be versioned and stored alongside the run, not read live. Everything else in a direct selling platform is ordinary software: catalogue, orders, users, reporting. The engine is where correctness is expensive, because a wrong figure is not a bug report, it is a payment already made to a person who has spent it, and reversing it costs more in trust than the money involved.

What does an MLM software architecture look like?

In practice, four bounded areas with clear seams. Identity and placement, holding the sponsor relationship and the placement position separately because they are not the same thing. Commerce, holding catalogue, orders, payments and returns, where every order carries a classification at the moment it is placed. The commission engine, which is a batch calculation reading immutable inputs and writing an auditable run, deliberately not a set of live queries. And presentation — back office, replicated sites, mobile — which reads and never derives its own commission numbers. Keeping the engine out of the request path is the decision that makes the rest maintainable.

Which records must be captured from the first enrolment?

Four, and none can be reconstructed afterwards. The classification of every order at the point of sale — participant purchase, participant's retail sale, or direct retail customer — because that is the evidence for where revenue comes from and it cannot be inferred later. Consent as an event with timestamp, version and scope rather than a boolean. The plan configuration in force for every commission run, versioned. And a full genealogy change history, because a tree that only stores its current shape cannot explain a payment made under a previous shape. Companies that skip these discover the gap during an audit or a dispute, when it is too late to fix.

Should a company build its own MLM platform or buy one?

Buy the standard parts and build only what is genuinely specific to you, which is usually less than founders expect. A commission engine for a conventional plan is a solved problem, and rebuilding it means re-encountering every edge case the industry has already documented — compression, flushing, caps, rank changes mid-period, returns after payout. Building is defensible when the plan is genuinely unusual, when a product model does not fit ordinary commerce, or when regulatory constraints require control of the stack. The failure case is building because the plan seems simple: plans are simple in the presentation and complicated in the exceptions, and the exceptions are the entire cost.

More on Business Growth & How-To

Business Growth & How-To

Cost to Develop MLM Software: What Actually Drives the Number

Nobody can quote MLM software from a feature list, and a vendor who does is quoting a different project from the one you will get. The cost is set by the plan's undefined cases, the number of markets, and how much history has to move.

Business Growth & How-To

Digital Marketing for MLM: What Works and Where Control Breaks

Digital marketing in this industry happens at two levels that are usually confused: the company markets a brand, and thousands of independent people market whatever they like. The second one is where both the growth and the damage come from.

Business Growth & How-To

How to Build a Network Marketing Business

Almost everything written on this subject is either motivation with no method or tactics with no arithmetic. The durable version is a short list of weekly activities, three numbers worth tracking, and one uncomfortable ratio that decides the outcome.

Ready to Transform Your Direct Selling Business?

Send us your plan rules and we will run a live commission cycle against them, on your numbers, before you commit to anything.

  • Configured in a sandbox before the call, usually within two business days
  • No slide deck and no card — you watch your own plan pay out
  • Your plan document stays confidential and is deleted on request

Prefer a longer conversation? Open the full enquiry form

required

Prefer email? Write to us at sales@mlmsoftwarepro.com