export interface TaxRate {
  id: number;
  code: string;
  name: string;
  name_ar: string;
  name_en: string;
  rate: number;
  tax_type: 'vat' | 'withholding';
  is_inclusive: boolean;
  is_default: boolean;
  is_active: boolean;
  account_id: number | null;
  account?: {
    id: number;
    code: string;
    name: string;
    name_ar: string;
  } | null;
  created_at?: string;
  updated_at?: string;
}

export interface CreateTaxRate {
  code: string;
  name: string;
  name_ar: string;
  name_en?: string;
  rate: number;
  tax_type: 'vat' | 'withholding';
  is_inclusive?: boolean;
  is_default?: boolean;
  is_active?: boolean;
  account_id?: number | null;
}

export interface UpdateTaxRate extends Partial<CreateTaxRate> {}
