Interface CustomsDuty

Identifies an amount of money

interface CustomsDuty {
    EUREquivalent?: number;
    IATAExchangeRate?: number;
    USDEquivalent?: number;
    bbox?: Bbox;
    confidence?: number;
    display?: boolean;
    errors?: ErrorModel[];
    input?: string;
    lastChangedBy?: string;
    modifiedAt?: number;
    modifiedBy?: {
        displayName?: string;
        id?: string;
    };
    options?: number[];
    rate?: number;
    reason?: {
        condition?: string;
        countryOfOrigin?: string;
        countryOfOriginMembership?: string;
        customsTariffNumber?: string;
        legalBase?: string;
        measureType?: string;
    };
    required?: boolean;
    reviewNeeded?: boolean;
    searchValue?: string;
    source?: string;
    templateValue?: string;
    unit?: Currency;
    userEdited?: boolean;
    value?: number;
}

Hierarchy (view full)

Properties

EUREquivalent?: number
IATAExchangeRate?: number
USDEquivalent?: number
bbox?: Bbox

Bounding box of extracted value

confidence?: number

Confidence supplied by data extraction or 1.0 if entered by human

display?: boolean
errors?: ErrorModel[]

could be validation errors

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?: number[]
rate?: number

rate between 0 and 1

reason?: {
    condition?: string;
    countryOfOrigin?: string;
    countryOfOriginMembership?: string;
    customsTariffNumber?: string;
    legalBase?: string;
    measureType?: string;
}

Type declaration

  • Optional condition?: string
  • Optional countryOfOrigin?: string
  • Optional countryOfOriginMembership?: string
  • Optional customsTariffNumber?: string
  • Optional legalBase?: string
  • Optional measureType?: 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
templateValue?: string

Template value which was used to generate the value

unit?: Currency
userEdited?: boolean

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

value?: number

The current value of the property