export interface FeesPlan {
  id: number;
  student_id: number;
  student_name: string;
  course_id: number;
  course_name: string;
  batch_id?: number;
  batch_name?: string;
  product_id?: number;
  product_name?: string;
  date?: string;
  discount?: number;
  total_amount: number;
  after_discount_amount?: number;
  paid_amount: number;
  remaining_amount: number;
  state: string;
  invoice_id?: number;
  invoice_number?: string;
  invoice_state?: string;
  payment_state?: "not_paid" | "partial" | "paid" | "in_payment" | "reversed" | "invoicing_legacy" | string;
  currency?: string;
}

export interface StudentFeesDetail extends FeesPlan {
  amount?: number;
}

export interface FeesTerms {
  id: number;
  name: string;
  no_days: number;
  line_ids: number[];
}
