# 4. Leadership Bonuses

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

---

## 4. Leadership Bonuses

### 4.1 Leadership Bonus Overview
**What it does:** Shows the Affiliate their leadership bonuses: the bonuses earned for building and leading a large, active downline. The Affiliate sees the bonus criteria, the bonuses earned, and the amount. This rewards the Affiliate for growing a strong team.

**Sub-features:**
- Leadership bonus criteria
- Bonuses earned
- Bonus amount
- Bonuses by period
- View a bonus's details
- Overview available on web and mobile
- Overview event logging (viewed)
- Audit logging of the leadership bonus overview

**Affiliate User Journey:**
1. Affiliate opens the leadership bonuses.
2. The leadership bonus criteria are shown.
3. The bonuses earned are shown.
4. The bonus amount is shown.
5. The bonuses by period are shown.
6. Affiliate views a bonus's details.
7. Affiliate opens Profile → "Activity" and confirms the overview events are recorded.

**Rules & Edge Cases:**
- The bonuses are for building and leading a downline.
- The criteria and amount are shown.
- Overview events (viewed) are logged with the account and the timestamp.
- The leadership bonus overview is audit-logged with the account and the timestamp.

### 4.2 Bonus Qualification Tracking
**What it does:** Shows the Affiliate their progress toward qualifying for leadership bonuses: the downline size, the active sub-affiliates, and the threshold to the next bonus. The Affiliate sees how close they are to the next bonus. This motivates the Affiliate to grow their team.

**Sub-features:**
- Downline size toward the threshold
- Active sub-affiliates count
- Progress to the next bonus
- Threshold per bonus level
- Qualification status
- Tracking available on web and mobile
- Tracking event logging (viewed)
- Audit logging of the bonus qualification tracking

**Affiliate User Journey:**
1. Affiliate opens the bonus qualification tracking.
2. The downline size toward the threshold is shown.
3. The active sub-affiliates count is shown.
4. The progress to the next bonus is shown.
5. The threshold per bonus level is shown.
6. The qualification status is shown.
7. Affiliate opens Profile → "Activity" and confirms the tracking events are recorded.

**Rules & Edge Cases:**
- The qualification is based on downline size and active sub-affiliates.
- The progress to the next bonus is shown.
- Tracking events (viewed) are logged with the account and the timestamp.
- The bonus qualification tracking is audit-logged with the account and the timestamp.

### 4.3 Bonus Payout History
**What it does:** Shows the Affiliate the history of their leadership bonus payouts: each bonus with the amount, the period, and the payout status. The Affiliate can view the details of each bonus payout. This provides a record of their leadership earnings.

**Sub-features:**
- List of bonus payouts
- Amount, period, and status per bonus
- View a bonus payout's details
- Bonus payouts by period
- Total leadership bonuses paid
- History available on web and mobile
- History event logging (viewed)
- Audit logging of the bonus payout history

**Affiliate User Journey:**
1. Affiliate opens the bonus payout history.
2. The list of bonus payouts is shown.
3. Each bonus shows the amount, period, and status.
4. Affiliate views a bonus payout's details.
5. The bonus payouts by period are shown.
6. The total leadership bonuses paid are shown.
7. Affiliate opens Profile → "Activity" and confirms the history events are recorded.

**Rules & Edge Cases:**
- The history shows amount, period, and status.
- The total leadership bonuses paid are shown.
- History events (viewed) are logged with the account and the timestamp.
- The bonus payout history is audit-logged with the account and the timestamp.
