Skip to main content

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:

  1. Open the student's Program Enrollment record
  2. Find the Tuition Fee (custom_tuition_fee) field
  3. Enter the monthly fee amount
  4. 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:

  1. Looks up the student's latest active Program Enrollment
  2. Reads custom_tuition_fee from that enrollment
  3. 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 GenderCost Center Applied
Male / BoyBoys / Male Cost Center
Female / GirlGirls / 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 TypeHow to Handle
Monthly TuitionSet custom_tuition_fee on Program Enrollment — auto-applied on invoice
Transport / Hostel / OtherAdd as additional line items on the Sales Invoice manually
Exam / One-time feesCreate a separate Sales Invoice for the specific fee item