Interface CustomsTariffNumber

Encapsulates typed und untyped workflow metadata for case properties

interface CustomsTariffNumber {
    additionalCodes?: Meta<string>[];
    bbox?: Bbox;
    classifier?: {
        default?: HsCodeModel;
    };
    complianceCheck?: {
        reason?: string;
        validityConfidence?: number;
    };
    confidence?: number;
    customsDescription?: string;
    display?: boolean;
    errors?: ErrorModel[];
    hsCode?: Meta<string>;
    hsCodeInvoice?: Meta<string>;
    input?: string;
    lastChangedBy?: string;
    modifiedAt?: number;
    modifiedBy?: {
        displayName?: string;
        id?: string;
    };
    options?: string[];
    reason?: string;
    required?: boolean;
    reviewNeeded?: boolean;
    searchValue?: string;
    source?: string;
    suggestions?: TariffNumberSuggestion[];
    supplementaryUnits?: {
        number?: string;
        typeCode?: string;
    };
    taric?: {
        classificationType?: ClassificationTypes;
        error?: any;
        isError?: boolean;
        processedByTaric?: boolean;
        toBeProcessed?: boolean;
    };
    templateValue?: string;
    tradeZone?: {
        [key: string]: {
            code?: ClassificationCode;
            countries?: {
                [key: string]: {
                    code?: ClassificationCode;
                };
            };
        };
    };
    userEdited?: boolean;
    value?: string;
}

Hierarchy (view full)

  • Meta<string>
    • CustomsTariffNumber

Properties

additionalCodes?: Meta<string>[]
bbox?: Bbox

Bounding box of extracted value

classifier?: {
    default?: HsCodeModel;
}

Type declaration

complianceCheck?: {
    reason?: string;
    validityConfidence?: number;
}

Checks if the tariff classification is likely to be valid

Type declaration

  • Optional reason?: string
  • Optional validityConfidence?: number

    Value between 1 (very confident) to 0 (no confidence)

confidence?: number

Confidence supplied by data extraction or 1.0 if entered by human

customsDescription?: string
display?: boolean
errors?: ErrorModel[]

could be validation errors

hsCode?: Meta<string>
hsCodeInvoice?: Meta<string>
input?: string

The input value which was initially supplied for the property

lastChangedBy?: string

Encoded user (username, userId, etc.)

Deprecated

modifiedAt?: number

Last modification date (user or machine), as a UTC unix timestamp

modifiedBy?: {
    displayName?: string;
    id?: string;
}

Field last changed by

Type declaration

  • Optional displayName?: string
  • Optional id?: string
options?: string[]
reason?: string
required?: boolean
reviewNeeded?: boolean
searchValue?: string

Normalized searchValue, for any related queries. Needs to be a string, even if value is of a different type.

source?: string
suggestions?: TariffNumberSuggestion[]
supplementaryUnits?: {
    number?: string;
    typeCode?: string;
}

Type declaration

  • Optional number?: string
  • Optional typeCode?: string
taric?: {
    classificationType?: ClassificationTypes;
    error?: any;
    isError?: boolean;
    processedByTaric?: boolean;
    toBeProcessed?: boolean;
}

Type declaration

  • Optional classificationType?: ClassificationTypes
  • Optional error?: any
  • Optional isError?: boolean
  • Optional processedByTaric?: boolean
  • Optional toBeProcessed?: boolean
templateValue?: string

Template value which was used to generate the value

tradeZone?: {
    [key: string]: {
        code?: ClassificationCode;
        countries?: {
            [key: string]: {
                code?: ClassificationCode;
            };
        };
    };
}

Type declaration

userEdited?: boolean

Mark this property as user-edited (as opposed to machine-generated)

value?: string

The current value of the property