Interface LineItemModel

Identifies line items (specific products) listed on a document

interface LineItemModel {
    CAS?: Meta<string>;
    additionalChargesUnit?: Meta<Currency>;
    additionalInformation?: Meta<string>;
    adjustments?: Adjustment[];
    amountUnit?: Meta<number>;
    associatedRecipientIds?: string[];
    batchNumber?: Meta<string>;
    bbox?: Bbox;
    beforeNormalization?: {
        grossWeight?: Weight;
        netWeight?: Weight;
        totalGrossWeight?: Weight;
        totalNetWeight?: Weight;
        weightUnit?: Meta<WeightUnit>;
    };
    billOfLading?: Meta<string>;
    box40?: Meta<string>;
    buyerArticleNumber?: Meta<string>;
    buyerOrderNumber?: Meta<string>;
    caseId?: string;
    code?: Meta<string>;
    containers?: Container[];
    countryOfOrigin?: AddressModel;
    countrySpecific?: CountrySpecificLineItem;
    creationType?: MasterDataCreationType;
    currency?: Meta<Currency>;
    customsDuty?: CustomsDuty;
    customsProcedure?: Procedure;
    customsTariffNumber?: CustomsTariffNumber;
    customsValue?: Money;
    customsValueAdditionDeduction?: AdditionDeduction[];
    dangerousGoods?: {
        UNNumber?: Meta<string>;
    }[];
    deliveryNote?: Meta<string>;
    description?: Translatable;
    destinationCountry?: AddressModel;
    discount?: Money;
    discountText?: string;
    discountUnit?: Meta<Currency | "%">;
    documentDescription?: Translatable;
    documentId?: string;
    documentTypes?: DocumentTypeCode[];
    documents?: DigicustDocumentModel[];
    exportingCountry?: AddressModel;
    fraudDetection?: ItemFraudDetectionDetails;
    grossWeight?: Weight;
    guaranteeNumber?: Meta<string>;
    guaranteeValue?: Money;
    id?: string;
    importSalesTax?: ImportSalesTax;
    includedWithPosition?: Meta<string>;
    invoiceDate?: DateTimeModel;
    invoiceNumber?: Meta<string>;
    isCondensed?: boolean;
    itemSize?: Meta<string>;
    itemSpecialUnit?: UnitOfMeasurement;
    itemSpecialUnitMeasure?: Meta<number>;
    itemValue?: Money;
    lotNumber?: Meta<string>;
    matchingMetadata?: MatchingMetadataModel<MaterialMatchInput, MaterialMatchResult>;
    material?: Meta<string>;
    materialId?: string;
    materialMatchingType?: "tariffNumber" | "materialNumber";
    materialNumber?: Meta<string>;
    mergedItemIds?: string[];
    meursingCode?: Meta<string>;
    netWeight?: Weight;
    orderNumber?: Meta<string>;
    orderedQuantity?: Quantity;
    originalDocuments?: DigicustDocumentModel[];
    packageType?: PackageType;
    packages?: Package[];
    packingList?: Meta<string>;
    position?: Meta<string>;
    preferenceInformation?: Meta<string>;
    preferenceState?: PreferenceState;
    preliminaryDocument?: Meta<string>;
    quantity?: Quantity;
    refId?: string;
    reference?: Meta<string>;
    serialNumber?: Meta<string>;
    shipper?: CompanyModel;
    sourceDocumentIds?: string[];
    specialRemarks?: Meta<string>[];
    statisticalValue?: Money;
    totalGrossWeight?: Weight;
    totalNetWeight?: Weight;
    totalValue?: Money;
    totalValueExcludingCharges?: Money;
    transitNumber?: Meta<string>;
    typeOfBusiness?: TypeOfBusiness;
    unitOfMeasurement?: UnitOfMeasurement;
    units?: {
        number?: number;
        type?: string;
    }[];
    waybillNumber?: Meta<string>;
    weightUnit?: Meta<WeightUnit>;
}

Hierarchy (view full)

Properties

CAS?: Meta<string>
additionalChargesUnit?: Meta<Currency>
additionalInformation?: Meta<string>
adjustments?: Adjustment[]
amountUnit?: Meta<number>
associatedRecipientIds?: string[]
batchNumber?: Meta<string>
bbox?: Bbox
beforeNormalization?: {
    grossWeight?: Weight;
    netWeight?: Weight;
    totalGrossWeight?: Weight;
    totalNetWeight?: Weight;
    weightUnit?: Meta<WeightUnit>;
}

Type declaration

billOfLading?: Meta<string>
box40?: Meta<string>
buyerArticleNumber?: Meta<string>
buyerOrderNumber?: Meta<string>
caseId?: string
code?: Meta<string>
containers?: Container[]
countryOfOrigin?: AddressModel

might also include the provinceCode

countrySpecific?: CountrySpecificLineItem
creationType?: MasterDataCreationType
currency?: Meta<Currency>
customsDuty?: CustomsDuty

Customs Duty

customsProcedure?: Procedure
customsTariffNumber?: CustomsTariffNumber
customsValue?: Money
customsValueAdditionDeduction?: AdditionDeduction[]
dangerousGoods?: {
    UNNumber?: Meta<string>;
}[]

Type declaration

  • Optional UNNumber?: Meta<string>
deliveryNote?: Meta<string>
description?: Translatable
destinationCountry?: AddressModel
discount?: Money
discountText?: string
discountUnit?: Meta<Currency | "%">
documentDescription?: Translatable
documentId?: string
documentTypes?: DocumentTypeCode[]
documents?: DigicustDocumentModel[]
exportingCountry?: AddressModel
fraudDetection?: ItemFraudDetectionDetails
grossWeight?: Weight
guaranteeNumber?: Meta<string>
guaranteeValue?: Money
id?: string
importSalesTax?: ImportSalesTax

EUSt

includedWithPosition?: Meta<string>

index of the position this item is included in

invoiceDate?: DateTimeModel
invoiceNumber?: Meta<string>
isCondensed?: boolean
itemSize?: Meta<string>
itemSpecialUnit?: UnitOfMeasurement
itemSpecialUnitMeasure?: Meta<number>
itemValue?: Money
lotNumber?: Meta<string>
material?: Meta<string>

Textual Material Description

materialId?: string
materialMatchingType?: "tariffNumber" | "materialNumber"
materialNumber?: Meta<string>
mergedItemIds?: string[]
meursingCode?: Meta<string>
netWeight?: Weight
orderNumber?: Meta<string>
orderedQuantity?: Quantity
originalDocuments?: DigicustDocumentModel[]
packageType?: PackageType
packages?: Package[]
packingList?: Meta<string>
position?: Meta<string>
preferenceInformation?: Meta<string>
preferenceState?: PreferenceState
preliminaryDocument?: Meta<string>
quantity?: Quantity
refId?: string
reference?: Meta<string>
serialNumber?: Meta<string>
shipper?: CompanyModel
sourceDocumentIds?: string[]
specialRemarks?: Meta<string>[]
statisticalValue?: Money
totalGrossWeight?: Weight
totalNetWeight?: Weight
totalValue?: Money
totalValueExcludingCharges?: Money
transitNumber?: Meta<string>
typeOfBusiness?: TypeOfBusiness
unitOfMeasurement?: UnitOfMeasurement
units?: {
    number?: number;
    type?: string;
}[]

Type declaration

  • Optional number?: number
  • Optional type?: string
waybillNumber?: Meta<string>
weightUnit?: Meta<WeightUnit>