export interface InvoiceModel {
  id: number; // unique ID for the invoice
  invoiceNumber: string; // invoice number
  companyId: number; // ID of the company to which this invoice belongs
  dateIssued: Date; // date the invoice was issued
  dueDate: Date; // date the invoice is due
  amount: string; // total amount due
  currency: string; // currency in which the invoice is billed
  status: 'pending' | 'paid' | 'overdue'; // current status of the invoice
  services: InvoiceService[]; // an array of individual items on the invoice
}

export interface InvoiceService {
  description: string; // description of the service
  service: number; // number of service rendered
  unitPrice: number; // price of each unit service
  total: number; // total cost of the services
}
