# 1. Tier Structure & Direct Referrals

User Type: **Affiliate**
Source: *Mi Digital Academy - Education CRM Features Document*

---

## 1. Tier Structure & Direct Referrals

### 1.1 Tier Structure Overview
**What it does:** Shows the Affiliate the multi-tier commission structure: the tiers (Tier 1 direct referrals, Tier 2 sub-affiliates' sales), the commission rate for each tier, and the conditions to qualify. The Affiliate sees how the multi-tier earnings work. This gives the Affiliate a clear understanding of the tiered model.

**Sub-features:**
- Tier structure shown (Tier 1, Tier 2)
- Commission rate per tier
- Qualification conditions per tier
- Tier structure explanation
- Tier structure available on web and mobile
- Tier structure event logging (viewed)
- Audit logging of the tier structure overview

**Affiliate User Journey:**
1. Affiliate opens the tier structure.
2. The tier structure is shown (Tier 1, Tier 2).
3. The commission rate per tier is shown.
4. The qualification conditions per tier are shown.
5. The tier structure explanation is displayed.
6. Affiliate reviews the tiered model.
7. Affiliate opens Profile → "Activity" and confirms the tier structure events are recorded.

**Rules & Edge Cases:**
- The tiers are Tier 1 (direct) and Tier 2 (sub-affiliates).
- The rate and conditions are shown per tier.
- Tier structure events (viewed) are logged with the account and the timestamp.
- The tier structure overview is audit-logged with the account and the timestamp.

### 1.2 Tier 1 Direct Referral Earnings
**What it does:** Shows the Affiliate their Tier 1 earnings: the commission from their direct referrals. The Affiliate sees each direct referral, the sale, and the Tier 1 commission earned. This isolates the earnings from the Affiliate's own direct referrals.

**Sub-features:**
- List of Tier 1 direct referrals
- Sale and Tier 1 commission per referral
- Tier 1 earnings total
- Tier 1 earnings by period
- View a Tier 1 referral's details
- Tier 1 available on web and mobile
- Tier 1 event logging (viewed)
- Audit logging of the Tier 1 direct referral earnings

**Affiliate User Journey:**
1. Affiliate opens the Tier 1 earnings.
2. The list of Tier 1 direct referrals is shown.
3. The sale and Tier 1 commission are shown per referral.
4. The Tier 1 earnings total is shown.
5. The Tier 1 earnings by period are shown.
6. Affiliate views a Tier 1 referral's details.
7. Affiliate opens Profile → "Activity" and confirms the Tier 1 events are recorded.

**Rules & Edge Cases:**
- The Tier 1 earnings are from direct referrals.
- The earnings are shown by period.
- Tier 1 events (viewed) are logged with the account and the timestamp.
- The Tier 1 direct referral earnings is audit-logged with the account and the timestamp.

### 1.3 Tier 2 Sub-Affiliate Earnings
**What it does:** Shows the Affiliate their Tier 2 earnings: the commission from the sales made by their sub-affiliates. The Affiliate sees each sub-affiliate, the sales they made, and the Tier 2 commission the Affiliate earned. This isolates the earnings from the Affiliate's downline.

**Sub-features:**
- List of sub-affiliates
- Sales per sub-affiliate
- Tier 2 commission per sub-affiliate
- Tier 2 earnings total
- Tier 2 earnings by period
- Tier 2 available on web and mobile
- Tier 2 event logging (viewed)
- Audit logging of the Tier 2 sub-affiliate earnings

**Affiliate User Journey:**
1. Affiliate opens the Tier 2 earnings.
2. The list of sub-affiliates is shown.
3. The sales per sub-affiliate are shown.
4. The Tier 2 commission per sub-affiliate is shown.
5. The Tier 2 earnings total is shown.
6. The Tier 2 earnings by period are shown.
7. Affiliate opens Profile → "Activity" and confirms the Tier 2 events are recorded.

**Rules & Edge Cases:**
- The Tier 2 earnings are from sub-affiliates' sales.
- The earnings are shown by period.
- Tier 2 events (viewed) are logged with the account and the timestamp.
- The Tier 2 sub-affiliate earnings is audit-logged with the account and the timestamp.
