Interface ImportSalesTax

Identifies an amount of money

interface ImportSalesTax {
    EUREquivalent?: number;
    IATAExchangeRate?: number;
    USDEquivalent?: number;
    base?: Money;
    bbox?: Bbox;
    confidence?: number;
    display?: boolean;
    errors?: ErrorModel[];
    input?: string;
    lastChangedBy?: string;
    modifiedAt?: number;
    modifiedBy?: {
        displayName?: string;
        id?: string;
    };
    options?: number[];
    rate?: number;
    reason?: {
        country?: string;
        customsTariffNumber?: string;
    };
    required?: boolean;
    reviewNeeded?: boolean;
    searchValue?: string;
    source?: string;
    unit?: Currency;
    userEdited?: boolean;
    value?: number;
}

Hierarchy (view full)

Properties

EUREquivalent?: number
IATAExchangeRate?: number
USDEquivalent?: number
base?: Money
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?: {
    country?: string;
    customsTariffNumber?: string;
}

Type declaration

  • Optional country?: string
  • Optional customsTariffNumber?: 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
unit?: Currency
userEdited?: boolean

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

value?: number

The current value of the property