import { BuyerDTO } from "../buyer"; import { DiscountDTO } from "../discount"; import { PurchaseDTO } from "../purchase"; import { SellerDTO } from "../seller"; import { TaxDTO } from "../tax"; import { TransactionListDTO } from "../transaction-list"; export interface InvoiceDTO { id: string; createdDate: number; seller: SellerDTO; buyer: BuyerDTO; purchases: PurchaseDTO[]; discounts: DiscountDTO[]; taxes: TaxDTO[]; transactions: TransactionListDTO; subtotalAmount: number; taxesAmount: number; totalAmount: number; }