Fee Structure
How Fee Rates Work in Edvronix
Edvronix does not use a separate fee structure doctype. Instead, it stores the monthly tuition fee directly on the student's Program Enrollment record and automatically applies it when a Sales Invoice is created.
The custom_tuition_fee Field
When a student is enrolled in a program, set the monthly tuition fee on the Program Enrollment:
- Open the student's Program Enrollment record
- Find the Tuition Fee (
custom_tuition_fee) field - Enter the monthly fee amount
- Save
This becomes the authoritative fee rate for this student in this program.
Auto Fee Rate Override
When a Sales Invoice is created for a student, Edvronix's before_insert hook automatically:
- Looks up the student's latest active Program Enrollment
- Reads
custom_tuition_feefrom that enrollment - Sets the rate on the matching fee line item in the invoice
This means you never need to manually enter the fee amount on an invoice — it always pulls from the enrollment record. If a student's fee changes, update custom_tuition_fee on their Program Enrollment and all future invoices will use the new rate.
Gender-Based Cost Centers
Edvronix automatically assigns a cost center to every Sales Invoice based on the student's gender:
| Student Gender | Cost Center Applied |
|---|---|
| Male / Boy | Boys / Male Cost Center |
| Female / Girl | Girls / Female Cost Center |
The two cost centers are configured in Edvronix Settings → Cost Center Settings. This assignment happens on before_insert — no manual step required.
Fee Items
Fee items (e.g., "Monthly Tuition Fee", "Transport Fee") are standard ERPNext items. Create them in Stock → Item as service items. Use the Item Abbreviations table in Edvronix Settings to map full names to short labels used on bulk vouchers.
Monthly vs Other Fees
| Fee Type | How to Handle |
|---|---|
| Monthly Tuition | Set custom_tuition_fee on Program Enrollment — auto-applied on invoice |
| Transport / Hostel / Other | Add as additional line items on the Sales Invoice manually |
| Exam / One-time fees | Create a separate Sales Invoice for the specific fee item |