import * as Enums from '../enums/index'; import { TransactionLineModel } from "./TransactionLineModel"; import { TransactionAddressModel } from "./TransactionAddressModel"; import { TransactionLocationTypeModel } from "./TransactionLocationTypeModel"; import { TransactionSummary } from "./TransactionSummary"; import { TaxDetailsByTaxType } from "./TaxDetailsByTaxType"; import { TransactionParameterModel } from "./TransactionParameterModel"; import { TransactionUserDefinedFieldModel } from "./TransactionUserDefinedFieldModel"; import { AvaTaxMessage } from "./AvaTaxMessage"; import { InvoiceMessageModel } from "./InvoiceMessageModel"; /** * This object represents a single transaction; for example, a sales invoice or purchase order. * @export * @class TransactionModel */ export declare class TransactionModel { /** * @type {number} * @memberof TransactionModel */ id?: number | undefined; /** * @type {string} * @memberof TransactionModel */ code?: string | undefined; /** * @type {number} * @memberof TransactionModel */ companyId?: number | undefined; /** * @type {Date} * @memberof TransactionModel */ date?: Date | undefined; /** * @type {Date} * @memberof TransactionModel */ paymentDate?: Date | undefined; /** * @type {Enums.DocumentStatus} * @memberof TransactionModel */ status?: Enums.DocumentStatus | undefined; /** * @type {Enums.DocumentType} * @memberof TransactionModel */ type?: Enums.DocumentType | undefined; /** * @type {string} * @memberof TransactionModel */ batchCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ currencyCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ exchangeRateCurrencyCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ customerUsageType?: string | undefined; /** * @type {string} * @memberof TransactionModel */ entityUseCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ customerVendorCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ customerCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ exemptNo?: string | undefined; /** * @type {boolean} * @memberof TransactionModel */ reconciled?: boolean | undefined; /** * @type {string} * @memberof TransactionModel */ locationCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ reportingLocationCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ purchaseOrderNo?: string | undefined; /** * @type {string} * @memberof TransactionModel */ referenceCode?: string | undefined; /** * @type {string} * @memberof TransactionModel */ salespersonCode?: string | undefined; /** * @type {Enums.TaxOverrideType} * @memberof TransactionModel */ taxOverrideType?: Enums.TaxOverrideType | undefined; /** * @type {number} * @memberof TransactionModel */ taxOverrideAmount?: number | undefined; /** * @type {string} * @memberof TransactionModel */ taxOverrideReason?: string | undefined; /** * @type {number} * @memberof TransactionModel */ totalAmount?: number | undefined; /** * @type {number} * @memberof TransactionModel */ totalExempt?: number | undefined; /** * @type {number} * @memberof TransactionModel */ totalDiscount?: number | undefined; /** * @type {number} * @memberof TransactionModel */ totalTax?: number | undefined; /** * @type {number} * @memberof TransactionModel */ totalTaxable?: number | undefined; /** * @type {number} * @memberof TransactionModel */ totalTaxCalculated?: number | undefined; /** * @type {Enums.AdjustmentReason} * @memberof TransactionModel */ adjustmentReason?: Enums.AdjustmentReason | undefined; /** * @type {string} * @memberof TransactionModel */ adjustmentDescription?: string | undefined; /** * @type {boolean} * @memberof TransactionModel */ locked?: boolean | undefined; /** * @type {string} * @memberof TransactionModel */ region?: string | undefined; /** * @type {string} * @memberof TransactionModel */ country?: string | undefined; /** * @type {number} * @memberof TransactionModel */ version?: number | undefined; /** * @type {string} * @memberof TransactionModel */ softwareVersion?: string | undefined; /** * @type {number} * @memberof TransactionModel */ originAddressId?: number | undefined; /** * @type {number} * @memberof TransactionModel */ destinationAddressId?: number | undefined; /** * @type {Date} * @memberof TransactionModel */ exchangeRateEffectiveDate?: Date | undefined; /** * @type {number} * @memberof TransactionModel */ exchangeRate?: number | undefined; /** * @type {boolean} * @memberof TransactionModel */ isSellerImporterOfRecord?: boolean | undefined; /** * @type {string} * @memberof TransactionModel */ description?: string | undefined; /** * @type {string} * @memberof TransactionModel */ email?: string | undefined; /** * @type {string} * @memberof TransactionModel */ businessIdentificationNo?: string | undefined; /** * @type {Date} * @memberof TransactionModel */ modifiedDate?: Date | undefined; /** * @type {number} * @memberof TransactionModel */ modifiedUserId?: number | undefined; /** * @type {Date} * @memberof TransactionModel */ taxDate?: Date | undefined; /** * @type {TransactionLineModel[]} * @memberof TransactionModel */ lines?: TransactionLineModel[] | undefined; /** * @type {TransactionAddressModel[]} * @memberof TransactionModel */ addresses?: TransactionAddressModel[] | undefined; /** * @type {TransactionLocationTypeModel[]} * @memberof TransactionModel */ locationTypes?: TransactionLocationTypeModel[] | undefined; /** * @type {TransactionSummary[]} * @memberof TransactionModel */ summary?: TransactionSummary[] | undefined; /** * @type {TaxDetailsByTaxType[]} * @memberof TransactionModel */ taxDetailsByTaxType?: TaxDetailsByTaxType[] | undefined; /** * @type {TransactionParameterModel[]} * @memberof TransactionModel */ parameters?: TransactionParameterModel[] | undefined; /** * @type {TransactionUserDefinedFieldModel[]} * @memberof TransactionModel */ userDefinedFields?: TransactionUserDefinedFieldModel[] | undefined; /** * @type {AvaTaxMessage[]} * @memberof TransactionModel */ messages?: AvaTaxMessage[] | undefined; /** * @type {InvoiceMessageModel[]} * @memberof TransactionModel */ invoiceMessages?: InvoiceMessageModel[] | undefined; /** * @type {string} * @memberof TransactionModel */ customerSupplierName?: string | undefined; /** * @type {number} * @memberof TransactionModel */ dataSourceId?: number | undefined; /** * @type {Enums.DeliveryTerms} * @memberof TransactionModel */ deliveryTerms?: Enums.DeliveryTerms | undefined; /** * @type {Enums.APStatus} * @memberof TransactionModel */ apStatusCode?: Enums.APStatus | undefined; /** * @type {string} * @memberof TransactionModel */ apStatus?: string | undefined; /** * @type {string} * @memberof TransactionModel */ vendorName?: string | undefined; /** * @type {number} * @memberof TransactionModel */ varianceAmount?: number | undefined; }