Administration
Payment Configuration
Configure credit periods, recovery periods, and credit note formulas
The Payment Configuration determines how invoice due dates, recovery periods, and credit note issuance are calculated based on student type and payment method.
Accessing Payment Config
Navigate to Admin → Payment Config from the sidebar.
Configuration Structure
Settings are organized by:
- Student Category: New Students vs Existing Students
- Payment Type: One-time, Installment 1st, Installment 2nd+
Configuration Fields
Credit Period (Days)
The number of days from enrollment until payment is due.
| Student Category | One-time | Installment (1st) | Installment (2nd) |
|---|---|---|---|
| New Students | 45 days | 7 days | 30 days after 1st |
| Existing Students | 7 days | 7 days | 30 days after 1st |
Recovery Period (Days)
Grace period after due date before enforcement actions.
Default: 30 days for all categories and payment types.
Credit Note Formula
Description of how credit note dates are calculated:
| Student Category | One-time | Installment (1st) | Installment (2nd) |
|---|---|---|---|
| New | invoice_due_date + recovery (45+30) | After invoice due date (7) | 2nd invoice due + recovery (30+30) |
| Existing | Invoice due date + recovery (7+30) | After invoice due date (7) | 2nd invoice due + recovery (30+30) |
Editing Configuration
Update Values
- Navigate to Admin → Payment Config
- For each category and installment type:
- Enter Credit Period (days)
- Enter Recovery Period (days)
- Enter Credit Note Formula description
- Click "Save Configuration"
Adding More Installments
If you need to support more than 3 installments:
- Click "Add Installment"
- Configure credit/recovery periods for the new level
- Save the configuration
Removing Installments
To remove the last installment configuration:
- Click "Remove Last"
- The highest installment level is removed
- Save if needed
How It Works in Practice
Example: New Student with 2 Installments
Package: Lyceum Guardian Primary
Scheme: Two Installments - LKR 51,500
First Invoice
- Amount: LKR 25,750
- Credit Period: 7 days
- Due Date: Enrollment date + 7 days
- Recovery: 30 days after due
- Credit Note: After invoice due date (7)
Second Invoice
- Amount: LKR 25,750
- Credit Period: 30 days after 1st invoice due
- Due Date: 1st invoice due + 30 days
- Recovery: 30 days after due
- Credit Note: 2nd invoice due + recovery (30+30)
Timeline Visualization
Day 0: Student Enrolled
↓
Day 7: 1st Invoice Due (credit period)
↓
Day 37: 1st Invoice → RECOVERY (if unpaid)
↓
2nd Invoice Due
↓
Day 67: 1st Invoice → EXPIRED + Credit Note
2nd Invoice → RECOVERY
↓
Day 97: 2nd Invoice → EXPIRED + Credit NoteDatabase Schema
payment_configs
├── id (primary key)
├── student_category (enum: NEW/EXISTING)
├── installment_number (integer: 1, 2, 3, ...)
├── credit_period_days (integer)
├── recovery_period_days (integer)
├── credit_note_formula (string)
├── created_at
└── updated_atBest Practices
- Review annually - Update configurations at the start of each academic year
- Be consistent - Keep credit periods aligned with school policy
- Document changes - Use the formula field to document calculations
- Test first - Test changes with sample enrollments before applying broadly
- Communicate changes - Notify staff when payment terms change
Related
- Credit Notes - Automatic credit note generation
- Invoice Management - Invoice processing
- Packages & Schemes - Payment scheme setup