export interface SponsorBillingDTO {
  sponsorId: string;
  paymentMethods: PaymentMethodDTO[];
  invoices: InvoiceDTO[];
  stats: BillingStatsDTO;
}

export interface PaymentMethodDTO {
  id: string;
  type: 'card' | 'bank' | 'sepa';
  last4: string;
  brand?: string;
  isDefault: boolean;
  expiryMonth?: number;
  expiryYear?: number;
  bankName?: string;
}

export interface InvoiceDTO {
  id: string;
  invoiceNumber: string;
  date: string;
  dueDate: string;
  amount: number;
  vatAmount: number;
  totalAmount: number;
  status: 'paid' | 'pending' | 'overdue' | 'failed';
  description: string;
  sponsorshipType: 'league' | 'team' | 'driver' | 'race' | 'platform';
  pdfUrl: string;
}

export interface BillingStatsDTO {
  totalSpent: number;
  pendingAmount: number;
  nextPaymentDate: string;
  nextPaymentAmount: number;
  activeSponsorships: number;
  averageMonthlySpend: number;
}