Skip to main content

EPIC-4: Revenue & Fee Management System

📋 EPIC Overview

FieldValue
EPIC IDNGE-14
Priority🟠 P1 - High (Revenue Critical)
Story Points94 SP
Duration8 weeks (4 sprints)
DependenciesEPIC-1, EPIC-2, EPIC-3

🎯 The Winning Formula Applied

Node.js (Fee APIs) + Go (Finance Engine) = Reliable Revenue System
ComponentLanguageReason
Fee Config APINode.jsComplex CRUD, admin UI
Invoice ServiceNode.jsPDF generation
Finance EngineGoDouble-entry, transactions
Payment GatewayGoHigh reliability
RemindersGoBulk notifications

📖 User Stories

Story IDTitlePointsSprint
NGE-14-1Fee Structure Configuration13Sprint 11
NGE-14-2Invoice Generation13Sprint 11
NGE-14-3Payment Gateway Integration21Sprint 12
NGE-14-4Double-Entry Finance Engine21Sprint 12-13
NGE-14-5Payment Reminders8Sprint 13
NGE-14-6Financial Reports13Sprint 14
NGE-14-7Concessions & Scholarships5Sprint 14

🏗️ Architecture

💾 Key Database Tables

TableDescription
fee_structuresFee plans by class/category
fee_headsTypes of fees (tuition, transport)
invoicesStudent invoices
paymentsPayment transactions
receiptsPayment receipts
ledger_entriesDouble-entry accounting
accountsChart of accounts

🔗 Technical Docs