Interface ExportDeclaration

Identifies an Export Declaration

interface ExportDeclaration {
    analyzerMetadata?: AnalyzerMetadataModel;
    applicant?: CompanyModel;
    beforeNormalization?: {
        currency?: Meta<Currency>;
        totalGrossWeight?: Weight;
        totalNetWeight?: Weight;
        totalValue?: Money;
        weightUnit?: Meta<WeightUnit>;
    };
    caseId?: string;
    classificationStatus?: ClassificationStatus;
    code?: string;
    currency?: Meta<Currency>;
    customerId?: string;
    customsSealNumber?: Meta<string>;
    declarationType?: Meta<string>;
    destinationCountry?: AddressModel;
    documentCode?: DocumentCode;
    documentReference?: Meta<string>;
    documentStatus?: DocumentStatus;
    documentType?: DigicustDocumentType;
    exitCustomsOffice?: CustomsOffice;
    exportCustomsOffice?: CustomsOffice;
    exportingCountry?: AddressModel;
    extractId?: string;
    fileName?: string;
    goodsLocation?: AddressModel;
    id?: string;
    incoterm?: IncotermModel;
    invoiceNumber?: Meta<string>;
    isCondensed?: boolean;
    isPseudonymized?: boolean;
    issueDate?: DateTimeModel;
    itemIds?: string[];
    items?: LineItemModel[];
    meansOfTransportation?: MeanOfTransportation[];
    modifiedBy?: {
        date?: Date;
        displayName?: string;
        id?: string;
    };
    mrnNumber?: Meta<string>;
    numPackages?: Meta<number>;
    packages?: Package[];
    pageCount?: number;
    pages?: DocumentPage[];
    placeIncoterm?: AddressModel;
    processing?: ProcessingModel;
    projectId?: string;
    queueId?: string;
    receivedAt?: Date;
    recipient?: CompanyModel;
    reference?: string;
    referenceNumber?: Meta<string>;
    shipper?: CompanyModel;
    sourceMaterialId?: string;
    subDocumentStatus?: SubDocumentStatus;
    totalGrossWeight?: Weight;
    totalNetWeight?: Weight;
    totalValue?: Money;
    transitCountries?: AddressModel[];
    transitCountry?: AddressModel;
    uploadedFiles?: UploadedFileModel[];
    userDocumentStatus?: UserDocumentStatus;
    userEdited?: boolean;
    weightUnit?: Meta<WeightUnit>;
}

Hierarchy (view full)

Properties

analyzerMetadata?: AnalyzerMetadataModel
applicant?: CompanyModel
beforeNormalization?: {
    currency?: Meta<Currency>;
    totalGrossWeight?: Weight;
    totalNetWeight?: Weight;
    totalValue?: Money;
    weightUnit?: Meta<WeightUnit>;
}

Type declaration

caseId?: string
classificationStatus?: ClassificationStatus
code?: string
currency?: Meta<Currency>
customerId?: string
customsSealNumber?: Meta<string>
declarationType?: Meta<string>
destinationCountry?: AddressModel
documentCode?: DocumentCode
documentReference?: Meta<string>
documentStatus?: DocumentStatus
documentType?: DigicustDocumentType
exitCustomsOffice?: CustomsOffice
exportCustomsOffice?: CustomsOffice
exportingCountry?: AddressModel
extractId?: string
fileName?: string
goodsLocation?: AddressModel
id?: string
incoterm?: IncotermModel
invoiceNumber?: Meta<string>
isCondensed?: boolean
isPseudonymized?: boolean
issueDate?: DateTimeModel
itemIds?: string[]
items?: LineItemModel[]
meansOfTransportation?: MeanOfTransportation[]
modifiedBy?: {
    date?: Date;
    displayName?: string;
    id?: string;
}

Type declaration

  • Optional date?: Date
  • Optional displayName?: string
  • Optional id?: string
mrnNumber?: Meta<string>
numPackages?: Meta<number>
packages?: Package[]
pageCount?: number
pages?: DocumentPage[]
placeIncoterm?: AddressModel
processing?: ProcessingModel
projectId?: string
queueId?: string
receivedAt?: Date
recipient?: CompanyModel
reference?: string
referenceNumber?: Meta<string>
shipper?: CompanyModel
sourceMaterialId?: string
subDocumentStatus?: SubDocumentStatus
totalGrossWeight?: Weight
totalNetWeight?: Weight
totalValue?: Money
transitCountries?: AddressModel[]
transitCountry?: AddressModel

will be normalized into transitCountries - do not further use!

uploadedFiles?: UploadedFileModel[]
userDocumentStatus?: UserDocumentStatus
userEdited?: boolean
weightUnit?: Meta<WeightUnit>