export interface BankStatement {
  id: number;
  date: string;
  description: string;
  reference: string;
  debit: number;
  credit: number;
  balance: number;
  matched?: boolean;
}

export interface BankReconciliation {
  id: number;
  company_id: number;
  bank_account_id: number;
  statement_date: string;
  period_start: string;
  period_end: string;
  opening_balance: number;
  closing_balance: number;
  status: string;
  notes: string | null;
  bank_account?: any;
  statements?: BankStatement[];
  matches?: any[];
  created_at: string;
  updated_at: string;
}

export interface CreateBankReconciliation {
  bank_account_id: number;
  statement_date: string;
  period_start: string;
  period_end: string;
  opening_balance: number;
  closing_balance: number;
  notes?: string;
}
