/** * Fee Installment Configuration Schema * Defines individual installment details within a collection configuration */ declare class FeeInstallmentConfig { /** Mongo document id (string representation). */ _id?: string; /** Unique installment config code (for identification/import). */ feeinstc_code?: string; /** Parent collection config reference id (`fee_collection_config`). */ feeinstc_collection_config_id_feecolc?: string; /** Installment number in sequence (1..N). */ feeinstc_installment_number?: number; /** Installment name shown in UI (e.g. "Installment 1"). */ feeinstc_installment_name?: string; /** Whether this installment is enabled/visible for collection. */ feeinstc_is_enabled?: boolean; /** Whether collection window is controlled by dates. */ feeinstc_collect_date_wise?: boolean; /** Collection window start date (if date-wise). */ feeinstc_collection_from_date?: Date; /** Collection window end date (if date-wise). */ feeinstc_collection_to_date?: Date; /** Whether late fee is enabled for this installment. */ feeinstc_late_fee_enabled?: boolean; /** Late fee type used for calculation. */ feeinstc_late_fee_type?: 'FIXED_AMOUNT' | 'DAY_WISE' | 'PERCENTAGE'; /** Late fee value (amount/day/percentage depending on type). */ feeinstc_late_fee_value?: number; /** Late fee rule reference id (`fee_late_fee_rule`). */ feeinstc_late_fee_rule_id_lfr?: string; /** Whether to show fee heads breakup for this installment. */ feeinstc_show_fee_heads?: boolean; /** Sub total amount for this installment. */ feeinstc_sub_total?: number; /** Whether discount is enabled for this installment. */ feeinstc_discount_enabled?: boolean; /** Discount reason/category (used for UI/rules). */ feeinstc_discount_for?: 'SIBLINGS' | 'STAFF_CHILD' | 'MERIT' | 'NEED_BASED' | 'EARLY_PAYMENT' | 'CUSTOM'; /** Discount type: percentage or fixed amount. */ feeinstc_discount_type?: 'PERCENTAGE' | 'FIXED_AMOUNT'; /** Discount value (percentage 0-100, or fixed amount). */ feeinstc_discount_value?: number; /** Discount applied on (subtotal/head/total). */ feeinstc_discount_on?: 'SUB_TOTAL' | 'FEE_HEAD' | 'TOTAL'; /** Fee head id if discount is on a specific head (`fee_structure_items`). */ feeinstc_discount_fee_head_id_feesi?: string; /** Calculated discount amount for this installment. */ feeinstc_discount_amount?: number; /** Total payable for this installment (after discounts/late fee config). */ feeinstc_total_amount?: number; /** Display order in lists. */ feeinstc_display_order?: number; /** Optional notes for staff/admin. */ feeinstc_notes?: string; /** Active status flag. */ feeinstc_isactive?: boolean; /** Created timestamp. */ feeinstc_created_at?: Date; /** Updated timestamp. */ feeinstc_updated_at?: Date; } export { FeeInstallmentConfig };