import ISummary from '@/core/models/summary';

export interface IStatisticsSaleInvoicesRawResponse {
  id: string;
  code: string;
  created_at: string;
  created_date?: string;
  total_amount: string;
  pos: Pos;
  consumer_account: ConsumerAccount;
}
export interface IStatisticsSaleInvoicesResponse extends IStatisticsSaleInvoicesRawResponse {}

interface ConsumerAccount {
  role: string;
  account: {
    username: string;
  };
}

interface Pos extends ISummary {
  complex: Complex;
}

interface Complex extends ISummary {
  business_activity: ISummary;
}
