export interface MainInvoice {
  id: number;
  invoiceNum: string;
  month: string;
  internalEntityID: number;
  internalEntity: string;
  counterpartyID: number;
  counterparty: string;
  invoiceTypeID: number;
  invoiceType: string;
  invoiceDate: Date;
  dueDate: Date;
  contractPaymentTypeID: number;
  contractPaymentType: string;
  contactTelephoneNum: string;
  contactName: string;
  contactEmail: string;
  customerNum: string;
  fileNameOriginal: string;
  fileNameOnDisk: string;
  isApproved: string;
  emailedBy: number;
  emailedByName: string;
  emailedTime: string;
  internalEntityAddressLine1: string;
  internalEntityAddressLine2: string;
  internalEntityCity: string;
  internalEntityZip: string;
  internalEntityCountryID: number;
  internalEntityCountry: string;
  internalEntityStateID: number;
  internalEntityState: string;
  internalEntityAttn: string;
  internalEntityTelephoneNum: string;
  internalEntityFaxNum: string;
  internalEntityEmailAddress: string;
  counterpartyAddressLine1: string;
  counterpartyAddressLine2: string;
  counterpartyCity: string;
  counterpartyZip: string;
  counterpartyCountryID: number;
  counterpartyCountry: string;
  counterpartyStateID: number;
  counterpartyState: string;
  counterpartyAttn: string;
  counterpartyTelephoneNum: string;
  counterpartyFaxNum: string;
  counterpartyEmailAddresses: string;
  paymentBankName: string;
  paymentCityState: string;
  paymentAbaNumWire: string;
  paymentAbaNumAch: string;
  paymentAccountName: string;
  paymentForFurtherCreditTo: string;
  paymentCreditName: string;
  paymentAccountNum: string;
  accountingContactName: string;
  accountingContactPhone: string;
  accountingContactEmail: string;
  subtotal: number;
  salesTaxRate: number;
  salesTaxAmount: number;
  grandTotal: number;
  notes: string;
  totalQuantity: number;
  actualVolume: number;
  usageDiff: number;
}
