B2B Affiliate (Satış Ortaklığı) ve Bayi Komisyon Dağıtım Mimarisi

B2B Affiliate and Dealer Commission Distribution Architecture

Yazar: Kumsal AgencyCreated: Updated: 10 dk okuma
Henüz puanlanmadı Puanınız:

Blog yazısı içeriği

As B2B affiliate and dealer networks grow, commission management becomes far more complex than multiplying a sales amount by a percentage. The same customer may have been acquired by a dealer, reached the website through an affiliate link and completed the order with help from a corporate sales representative. Product groups, customer segments, campaigns, contract dates and collection status may all affect the commission payable. A sustainable B2B affiliate system therefore requires a purpose-built software architecture that can prove the source of a sale, explain the applicable rule and keep every commission movement traceable.

The objective is not merely to calculate the correct amount. Sales, finance, operations and IT teams must share a consistent view of each transaction. The system should answer why a partner qualified, which contract version applied, which period a return affected and what was transferred to the ERP system. When an off-the-shelf commission module cannot preserve this context, the organisation needs a custom structure connecting its dealer portal, e-commerce platform, ERP and payment systems.

What is B2B affiliate and dealer commission management?

A B2B affiliate model identifies the business partner that contributed to a sale and accrues commission once the defined conditions have been satisfied. That partner may be a dealer, distributor, solution partner, referring consultant or digital affiliate. Dealer commission management expands this relationship to include corporate variables such as contracts, territories, customer portfolios, product families, revenue targets and collections.

The critical distinction is that a sales record and a commission accrual are not the same thing. An order may exist without generating commission until shipment, invoicing or payment is complete. A cancellation may eliminate the entire accrual, while a partial return may reverse only the commission associated with a particular line. Rather than repeatedly changing one balance, the system should record these events as dated, reasoned financial movements.

Why is the architecture more than a commission screen?

Commission accuracy depends on combining information from several systems with consistent business meaning. The e-commerce platform may provide session and order-source data; CRM may hold customer ownership; ERP may provide invoice and return status; and the payment infrastructure may confirm collection. The commission engine must know when each event becomes authoritative and which rules apply at that point.

The resulting architecture usually includes an integration layer, sales-attribution service, rules engine, commission ledger, approval workflow, dealer portal and reporting components. Their responsibilities should remain distinct. Attribution determines who should receive credit, while the rules engine determines how much they may earn. The ledger records what happened, and the approval workflow controls when that result becomes payable.

Integrations should assume that the same event may be delivered more than once. Microsoft’s guidance on asynchronous messaging options recommends idempotent consumer operations so repeated messages do not change system state twice. A uniqueness key combining the source system, transaction type and source-record identifier can prevent a repeated order, invoice or payment event from generating duplicate commission.

Key Control Points in Commission Architecture
Key Control Points in Commission Architecture

Attributing a sale to the right partner

Before calculating commission, the system must decide who owns the sale. Digital channels may use tracking links, campaign codes, cookies or session records. In corporate sales, stronger evidence may include a dealer-registered opportunity, an approved customer portfolio, quotation number, territory or sales-representative relationship. No single attribution method is dependable across every channel, so evidence types and their priority must reflect the organisation’s commercial model.

Attribution priority and evidence records

Conflicting claims require an explicit order of precedence. An approved opportunity registration may outrank a generic affiliate link, while contractual customer ownership may override a campaign code. The engine should retain not only the winning partner but also the inputs behind the decision: source code, opportunity record, customer match, timestamp and the precedence rule applied.

Duplicate customer and order checks belong at this stage. Tax identifiers, ERP account codes, order numbers and source-transaction IDs should be matched at appropriate confidence levels. Automatically merging records because company names look similar creates avoidable risk; uncertain cases should enter a review queue. The field-mapping, ownership and duplicate-resolution principles described in website–CRM integration planning can also guide the handoff between web channels and sales teams.

How should the commission rules engine be designed?

The rules engine converts contractual terms into explainable software decisions. Conditions may reference partner type, product or category, customer segment, sales channel, territory, currency, revenue tier and validity period. Results may include percentage rates, fixed amounts, tiered incentives, over-target bonuses or a share of margin.

Priority, conflicts and versioning

When several rules match the same sale, the engine must know which one takes precedence. A negotiated contract may override the standard dealer tariff, while a customer-specific exception may outrank a product campaign. Rules that can be combined and rules that are mutually exclusive should be marked accordingly. The calculation breakdown should show the priority, relevant condition values, calculation base, rate, deductions and rounding method—not merely a rule name.

Published rules should never be silently changed retrospectively. Each amendment should create a new version with an effective start date and, where required, an end date. An approved accrual must not be recalculated automatically because a rate was later updated. If a correction is necessary, the system should preserve the original entry, create a reversing movement and post a new calculation. Finance can then reproduce historical reports, while the dealer can understand why the payable amount changed.

Building the commission accrual lifecycle

A commission accrual should be treated as a controlled state machine rather than a single payment record. A practical lifecycle may include Draft Calculation, Pending Review, Approved, Ready for Payment, Transferred to ERP and Paid. Depending on the business, Disputed, On Hold and Corrected states may also be required. Every transition should add the responsible user, timestamp, explanation and previous value to the audit trail.

  • At the draft stage, validate the sale, contract and source evidence.
  • During review, examine exceptions and high-value transactions.
  • After approval, lock the period against unauthorised changes.
  • During ERP transfer, capture the journal, expense, account or payment-document reference.
  • After payment, show the bank or ERP result in the dealer portal.

The approval route may vary by amount, partner type, business unit or exception reason. High-value accruals can be sent to a finance manager, while manual attribution changes can require a channel manager’s approval. Delegation, segregation of duties and escalation deadlines should also be defined. The role, threshold and exception principles used in a B2B order approval workflow can be adapted to commission governance.

Returns, cancellations and period adjustments

Returns and cancellations are core transaction types, not exceptions to bolt on later. If an order is cancelled before payment, a draft accrual may be withdrawn. If a return arrives after approval or payment, the system should not delete the earlier entry. It should generate a negative adjustment linked to the relevant sales line and original accrual.

Partial quantities, tax, discounts and currency effects must be reassessed according to the original calculation base. If the accounting period is closed, the negative movement may be carried into the next open period or converted into a receivable balance under company policy. When a dealer’s available balance is insufficient, offset limits, holding rules and manual-decision options should be explicit.

Recording the return reason, ERP document, original accrual ID and adjustment rule together gives all parties the same evidence set. For operations spanning portal requests, logistics and ERP closure, the controls outlined in B2B returns management provide a useful companion model.

StagePrimary evidenceMain controlOutput
AttributionSource code / opportunityAttribution priorityPartner record
CalculationContract versionRule conflictCommission breakdown
ApprovalAuthority / thresholdSegregation of dutiesLocked accrual
AdjustmentReturn documentLink to prior movementNegative movement
ERP transferTransfer IDDuplicate submissionERP document number

What visibility should the dealer portal provide?

A dealer portal should show more than a total commission figure. Subject to permitted customer visibility, partners should be able to inspect the sales date, product or category, net calculation base, applied rate, accrual status, return deduction and expected payment period. Filterable statements, document downloads, dispute submission and response tracking can reduce manual enquiries.

Transparency must be balanced with data security. A dealer should have access only to its own organisation and authorised subaccounts. The OWASP Authorization Cheat Sheet emphasises least privilege, deny-by-default access and permission checks on every request. Roles should therefore be enforced server-side at the sales, customer, document and accrual-object level rather than being limited to screen visibility.

ERP and finance integration

The accounting treatment of commission data must be clarified during analysis. Depending on the organisation, an accrual may become an expected supplier invoice, accrued expense, partner receivable or payment instruction. Company, country, tax and contract structures can change this model, so the software should not impose a single accounting assumption. Mappings for ledger accounts, cost centres, projects, business units, partner accounts and document types should be manageable.

An ERP transfer should not be considered successful until the ERP document number is returned. Following a timeout, the same record must not be resent without checking its status. Failed transactions should enter an error queue that distinguishes technical failures from missing master data and allows authorised users to retry safely. Periodic reconciliation should compare portal totals, ERP-accepted values, rejected records and payment results.

Audit trail, personal data and security

The audit record should show who changed which value, when and for what reason. Publishing rules, reassigning sales, entering manual commission, approving or rejecting accruals, viewing documents and retrying ERP transfers are all critical events. Logs should be protected from alteration by application users and linked to integration movements through correlation identifiers.

Purpose, retention period and access scope must be defined for customer and user data. The official text of the GDPR provides a useful framework for data minimisation and accountability. Customer fields not required to explain a commission can be masked, exports can be permission-controlled and expired tracking data can be removed according to organisational policy.

How should the implementation project proceed?

The project should begin with discovery of business rules and data ownership, not screen design. Teams should model the path from sale to return using real contracts, sample transactions and known exceptions. Source-system fields, unique identifiers, event order, latency and failure conditions can then be documented so the boundary between integration logic and commission policy is clear.

  • Map channel, partner, customer and contract models.
  • Define attribution evidence, precedence and duplicate controls.
  • Validate rule versions against representative sales and return scenarios.
  • Pilot accruals, approvals, disputes and period closing with a controlled partner group.
  • Test ERP transfer and financial reconciliation end to end.

Running a parallel calculation period before launch is valuable. Results from the existing spreadsheet or ERP process can be compared with the new engine. Differences should be classified by data quality, timing or contract interpretation before being treated as software defects. Success measures should include calculation accuracy, exception rates, approval time, failed integrations, dispute-resolution time and the volume of post-close adjustments.

Scalable commission management through custom architecture

B2B affiliate and dealer commission distribution requires the rules engine, financial ledger, integration reliability and user permissions to be designed together. The right solution proves which partner owns a sale, explains the calculation through the applicable contract version, corrects returns without erasing history and transfers approved results to ERP under controlled conditions. Dealers receive transparent statements, finance receives reconcilable records and operations gains a manageable exception queue.

Kumsal Agency is an Istanbul-based digital agency that approaches business processes, user roles, data flows and integration requirements as one architecture. Contact Kumsal Agency to analyse your affiliate and dealer commission processes alongside your existing sales channels, contractual rules and ERP infrastructure—and to plan a custom web software architecture suited to your organisation.

Homepage

Our Projects

Our Products

Our Services