# 6. Subscription Billing Operations

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

---

## 6. Subscription Billing Operations

### 6.1 Manage Subscription Renewals and Upgrades
**What it does:** Manages the subscription renewals and upgrades: the renewals and upgrades of the subscriptions (the renewal, the upgrade, the billing, the date) are managed, so the subscriptions are renewed and upgraded (the billing is the charge). The Super Administrator manages the renewals and upgrades (the subscription, the renewal, the upgrade, the billing) so the management is structured and the operations are explicit.

**Sub-features:**
- Renewal management: the management (the renewal, the subscription, the billing, the date)
- Upgrade management: the management (the upgrade, the subscription, the billing, the proration)
- Renewal billing: the billing (the billing for the renewal, the amount)
- Upgrade billing: the billing (the billing for the upgrade, the amount, the proration)
- Operation record: the record (the subscription, the operation, the billing, the date)
- Operation view: the view (the operations, the period)
- Audit logging of the renewal and upgrade management

**Super Administrator User Journey:**
1. Super Admin views the subscription operations: the operations (the renewal, the upgrade, the subscription, the billing, the date), the period (the period of the operations); the operations are explicit.
2. Manages a renewal: the management (the renewal, the subscription, the billing, the date); the management is the action.
3. Manages an upgrade: the management (the upgrade, the subscription, the billing, the proration); the management is the action.
4. Processes the renewal billing: the billing (the billing for the renewal, the amount); the billing is the charge.
5. Processes the upgrade billing: the billing (the billing for the upgrade, the amount, the proration); the billing is the charge.
6. The user is notified: the notification (the renewal, the upgrade, the billing); the notification is the communication.
7. The operation is recorded: the record (the subscription, the operation, the billing, the date); the record is the proof.
8. The renewal and upgrade management is audit-logged with the subscription, the operation, and the timestamp.

**Rules & Edge Cases:**
- The renewal management is the action (the renewal, the subscription, the billing, the date); the management is the operation.
- The upgrade management is the action (the upgrade, the subscription, the billing, the proration); the management is the operation.
- The renewal billing is the charge (the billing for the renewal, the amount); the billing is the value.
- The upgrade billing is the charge (the billing for the upgrade, the amount, the proration); the billing is the value.
- The operations are visible (the operations, the period); the management is managed.
- Renewal and upgrade management is audit-logged with the subscription, operation, and timestamp.

### 6.2 Handle Bulk License Billing for Institutes
**What it does:** Handles the bulk license billing for the institutes: the billing for the bulk licenses (the billing, the institute, the count, the amount, the date) is handled, so the bulk licenses are billed (the billing is the charge). The Super Administrator processes the bulk license billing (the institute, the count, the amount, the billing) so the billing is structured and the charges are explicit.

**Sub-features:**
- Bulk billing: the billing (the billing, the institute, the count, the amount)
- License count: the count (the count of the licenses, the tier)
- Billing amount: the amount (the amount of the billing, the tier's price)
- Billing processing: the processing (the billing is processed, the amount is charged)
- Billing record: the record (the institute, the count, the amount, the date)
- Billing view: the view (the billings, the institutes, the period)
- Audit logging of the bulk license billing

**Super Administrator User Journey:**
1. Super Admin views the bulk license billings: the billings (the billing, the institute, the count, the amount, the date), the period (the period of the billings); the billings are explicit.
2. Processes a bulk billing: the billing (the billing, the institute, the count, the amount); the billing is the charge.
3. Sets the license count: the count (the count of the licenses, the tier); the count is the volume.
4. Sets the billing amount: the amount (the amount of the billing, the tier's price); the amount is the value.
5. Processes the billing: the processing (the billing is processed, the amount is charged); the processing is the action.
6. The institute is notified: the notification (the billing, the count, the amount); the notification is the communication.
7. The billing is recorded: the record (the institute, the count, the amount, the date); the record is the proof.
8. The bulk license billing is audit-logged with the institute, the count, and the timestamp.

**Rules & Edge Cases:**
- The bulk billing is the charge (the billing, the institute, the count, the amount); the billing is the value.
- The license count is the volume (the count of the licenses, the tier); the count is the measure.
- The billing amount is the value (the amount of the billing, the tier's price); the amount is the charge.
- The billings are visible (the billings, the institutes, the period); the billing is managed.
- Bulk license billing is audit-logged with the institute, count, and timestamp.

### 6.3 Track Affiliate Payouts
**What it does:** Tracks the affiliate payouts: the payouts to the affiliates (the payout, the affiliate, the amount, the date) are tracked, so the payouts are visible (the tracking is the record). The Super Administrator views the affiliate payout tracking (the affiliate, the payout, the amount, the date) so the tracking is structured and the payouts are explicit.

**Sub-features:**
- Payout tracking: the tracking (the payout, the affiliate, the amount, the date)
- Payout status: the status (the pending, the processed, the paid)
- Payout amount: the amount (the amount of the payout, the commission)
- Payout record: the record (the affiliate, the payout, the amount, the date)
- Payout view: the view (the payouts, the affiliates, the period)
- Payout export: the export (the payouts, the format, the period)
- Audit logging of the affiliate payout tracking

**Super Administrator User Journey:**
1. Super Admin views the affiliate payout tracking: the payouts (the payout, the affiliate, the amount, the date), the statuses (the pending, the processed, the paid), and the period (the period of the payouts); the tracking is explicit.
2. Views the pending payouts: the pending (the payout that is pending, the affiliate, the amount); the pending is the in-progress.
3. Views the processed payouts: the processed (the payout that is processed, the affiliate, the amount); the processed is the done.
4. Views the paid payouts: the paid (the payout that is paid, the affiliate, the amount); the paid is the settled.
5. The payouts are visible: the payouts, the affiliates, the period, so the tracking is complete.
6. For an affiliate (a specific affiliate), Super Admin views the affiliate's payouts (the payouts, the amounts, the dates, the period); the payouts are the detail.
7. Exports the payouts (the payout report, the period); the export is the record.
8. The affiliate payout tracking is audit-logged with the affiliate, the payout, and the timestamp.

**Rules & Edge Cases:**
- The payout tracking is the visibility (the payout, the affiliate, the amount, the date); the tracking is the record.
- The payout status is the state (the pending, the processed, the paid); the status is the control.
- The payout amount is the value (the amount of the payout, the commission); the amount is the measure.
- The payouts are visible (the payouts, the affiliates, the period); the tracking is managed.
- Affiliate payout tracking is audit-logged with the affiliate, payout, and timestamp.
