Landmark Delimited Import Format

Prev Next

This is the specification document for the Landmark Global Delimited Shipment Data File v2.0. 

Row

Rows provide information about specific shipments.

Rows can provide package and/or item information pertaining to a shipment.

Delimiters

The following file types/delimiters are supported at this time:

  • Excel (xls and xlsx)
  • .csv, .txt, or no-extension:
  • Comma ","
  • Tab 
  • Pipe "|"
  • Semi-colon ";" 

If commas or other delimiters are used as part of a field, it must be wrapped in double quotes. Example(csv):

ItemUnitPrice,        ItemDescription,                      ItemCountryOfOrigin

    73.41,           "Desc, complete with comma",              US 

If a double-quote is part of a field value (e.g.: ItemDescription of 12" Statue), then the quotes should be doubled to retain the original value -- 12" Statue should be formatted as "12"" Statue".  

Field Count & Headers

The fields being used must be specified in the first line of the file. Spelling should match headers listed below.

The order that headers are specified does not matter (e.g. ShipmentReference can be column 1 or 15 as long the field data in the column is consistent).

There must be the same number of fields on every line of the file. Empty fields must still be present in the form of empty cells or a delimiter. 

"Cond." in the Required column stands for "Conditional". See Note column for specifics. 

Scanning Note

Either the ShipmentReference or PackageReference must match the barcode on physical packages. 

Type & Length

Values in Fields may not exceed the specified max length.

International Characters

To ensure proper data processing, please encode the file in UTF-8. 

If you are using a different character encoding, or cannot support UTF-8, please inform Landmark IT. 

If Created via Script

(i.e. code vs MS Excel or Open Office):

It is preferred that you enclose string fields with double quotes. 

HeadersRequiredTypeMax Length/SetDescription/Notes
AccountNumberNoChar50Optional Character field. Only used by clients with multiple account numbers, e.g. "L0218A", "L0218B". See integration manager for relevant account numbers.
ShipmentReferenceYesChar50Customer Reference, or Order Number, that links to all packages and items travelling to the same address. This is your primary identifier and we recommend all barcodes printed on packages scan to this reference.
ShipmentReferences must be added in order (e.g. cannot be "Ship1, Ship2,  Ship1").
NameYesChar50First and last name of consignee
ConsigneeTaxIDConditionalChar50Required if shipping DDP to a country that requires submission of a consignee tax id (e.g., South Korea)
AttentionNoChar50
Address 1YesChar60
Address 2NoChar60Apartment, Floor, Suite, etc.
CityYesChar40
StateProvConditionalChar20Required when destination country has States or Provinces. Use 2 or 3 character abbreviations where possible (e.g. CA, AZ, MN, QC, etc.)
PostalCodeConditional
Char10Required when destination country uses Postal Codes. Canada format: "A9A9A9" // USA format: "12345" 4-digit suffix optional
CountryYesChar50Use 2-character ISO codes where possible
PhoneNoChar208051234567 x456
EmailNoChar80
ServiceCodeYesChar10Landmark Specific Shipment Method only (e.g. LGINTSTD). See Integration Manager for service code information
ShipmentInsuranceFreightYesDecimal8,2Amount charged for shipping and insurance on the whole order. This value does not include the amount charged for items in the order.
ItemsCurrencyNoChar33-character ISO code. Defaults to USD (or requested client currency) unless configured by Landmark IT.
PackageCountConditionalInteger2Default 1; designates the total number of packages in a shipment (may be repeated for multi-package shipments). Required if a multi-package is specified in the file
PackageReferenceNoChar50Primary identifier of a package that is part of a shipment (all packages are part of a shipment). Can be used to search for and track a single parcel. If a shipment contains multiple packages, it is recommend that this field be used for the label barcode instead of the ShipmentReference
PackageWeightNoDecimal8,2Default in pounds (LB). Should be the total weight of a package.
May be omitted if final shipping weight is unknown. If omitted, 1 will be entered and updated upon receipt of package.
WeightUnitNoChar2LB, KG, or G. Defaults to LB if not specified.
LengthNoDecimal8,2In inches. Defaults to 1 if it cannot be provided.
WidthNoDecimal8,2In inches. Defaults to 1 if it cannot be provided.
HeightNoDecimal8,2In inches. Defaults to 1 if it cannot be provided.
DimensionsUnitNoChar2IN or CM. Defaults to IN if not specified.
ItemSkuConditional
Char64Item sku (i.e., UPC code).
Required if passing item information in a row. If a row has a non-empty ItemSku, an item will be added to the shipment.
ContainsDangerousGoodsConditional
Boolean1Required if the ItemSku value in the same row is a dangerous good.
UNCodeConditional
Char
Required if item is a DGValid UN codes: 3091, 3481
PackingGroupConditional
VarChar
Required for DGs with some UN codesMust contain a valid packing group value (i.e. "I", "II", "III"). More info.
PackingInstructionsConditional
VarChar
Required for DGs with some UN codes. Must contain a valid packing instructions value (e.g. "P001", "PI966S1"). More info.
ItemWeightConditional
Decimal
Required if item is a DG. This should be the weight for a single quantity of the item (i.e. product).
ItemWeightUnitConditional
VarChar
Required if item is a DG. The unit used to declare the item weight (i.e. “KG”, “LB”, “OZ”, “G”). Defaults to LB if not specified.
ItemVolumeConditional
Decimal
Required for DGs with some UN codesThis should be the volume for a single quantity item.
ItemVolumeUnitConditional
VarChar
Required for DGs with some UN codesThe unit used to declare the item volume (i.e. "ML", "L", "OZ").
ItemQuantityConditional
Integer11Number of items. Required if passing item information in a row.
ItemUnitPriceConditional
Decimal8,2Retail price paid by the end consignee for a single unit of the item purchased. This value should not include shipping. tax, or insurance values. Landmark cannot accept a $0 value item price due to customs clearance requirements.
Required if passing item information in a row.
ItemDescriptionConditional
Char255Detailed description of goods for customs classification.
Required if passing item information in a row.
ItemHSCodeConditional
Char50Harmonization Code for the product being declared.
ItemCountryOfOriginConditional
Char50Use 2-character ISO codes
Required if passing item information in a row.
ItemURLConditional
Char256Product URL from the website the item was purchased from (e.g. https://store.com/browse/product)
USMIDNoVarChar15Value for a US Manufacturer's Identification Code. Required for US formal customs entries. Must be an alphanumeric value.
ManufacturerNameConditionalVarChar

Required for US formal customs entries when clearing from Canada via Ground
ManufacturerAddress1Conditional
VarChar

Required for US formal customs entries when clearing from Canada via Ground
ManufacturerAddress2NoVarChar


ManufacturerCityConditional
VarChar

Required for US formal customs entries when clearing from Canada via Ground
ManufacturerStateProvConditional
VarChar

Required for US formal customs entries when clearing from Canada via Ground
ManufacturerPostalCodeConditional
VarChar

Required for US formal customs entries when clearing from Canada via Ground
ManufacturerCountryConditional
VarChar

Required for US formal customs entries when clearing from Canada via Ground
ManufacturerPhoneNoVarChar


ManufacturerEmailNoVarChar


ReturnHSRegionNoChar3Country code value for the ReturnHSCode if provided. iso-3166-2 standard. "EU" will be used to represent the European Union.
ReturnHSCodeNoChar20Harmonization Code to be considered for a return clearance.
CommercialClearanceNoChar11 or 0 (true/false) to denote shipments that are to clear commercially.
ShipByDateNoDatetime20Optional. Used for fulfillment orders for clients that want to specify when the order should be shipped by. ISO-8601 format required (YYYY-MM-DDThh:mm:ssZ). This value will not be modified based on where the fulfillment facility is located.
OptionTypeNoChar50Used to tell Landmark what kind of option will be added to the shipment. Allowed OptionTypes: Option (for setting shipment options), Memo (for pick slips), Charge (for pick slips) and Additional (additional shipment fields).
OptionNameNoChar50Specific shipment option being requested (e.g. signature required). Check with your account rep prior to passing any values.
OptionInfoNoChar50Value for shipment option being selected. Typically true/false
VendorNameConditional
Char50Required if providing third-party logistics. Vendor (retailer) name
VendorPhoneNoChar50
VendorEmailNoChar50
VendorAddress1Conditional
Char150Required if providing third-party logistics. Vendor (retailer) address
VendorAddress2NoChar150
VendorCityConditional

Char100Required if providing third-party logistics. Vendor (retailer) city
VendorStateProvConditional
Char100Required if providing third-party logistics. Vendor (retailer) state or province if applicable
VendorPostalCodeConditional
Char10Required if providing third-party logistics. Vendor (retailer) postal code if applicable
VendorCountryConditional
Char2Required if providing third-party logistics. Vendor (retailer) country

VendorLowValueTaxID
NoVarChar50Populate with the vendor's Low-Value Tax ID if relevant for tax compliance such as Norway's VOEC, or Australian GST Number
VendorCCNNoVarChar50Populate with the vendor's commercial clearance (b2b) value if that is being requested
VendorBusinessNumberConditional
Char50Used for clearing customs (if CCN is not available). Vendor business number
VendorRGRNumberConditional
Char50License number for customs. Vendor RGR number
VendorIOSSNumberConditional
Char50Required if providing third-party logistics. Vendor (retailer) IOSS number (used to make VAT to EU tax authorities). This number is needed for shipments that LGI receives in the US and sends DDP to the EU.
VendorEORINumberConditional
Char50Required unique identification number used when exchanging data with Customs in all EU Member States.
AdditionalAddressTypeNoChar50Additional address option (i.e. Fulfillment, Return to Sender)
AdditionalCodeNoChar20Identifier code for additional address
AdditionalNameNoChar50Name for additional address
AdditionalAttentionNoChar50
AdditionalAddress1NoChar50
AdditionalAddress2NoChar50
AdditionalAddress3NoChar50
AdditionalCityNoChar20
AdditionalStateNoChar20
AdditionalPostalCodeNoChar20
AdditionalCountryNoChar30

Multi-Package and/or item shipments

There can be multiple packages and/or multiple items in a single shipment. (A shipment is a quantity of goods shipped; also called a consignment or order. A package is physical box belonging to a shipment.)

If there are duplicated ShipmentReferences in the file, the contents of each row having that reference will be treated as part of the same shipment. ShipmentReferences must be added in order (all entries for shipment 1, then all entries for shipment 2, etc.). No new packages will be added for out of order ShipmentReferences.

All items in a shipment will be treated as a single package unless the PackageCount is greater than 1.

  • Multi-Item
  • If multiple of the same item (referenced by sku) are part of the same shipment, use the ItemQuantity field. 
  • If there are several different items (2 or more skus) being sent as part of the same shipment, there should be multiple lines in the file; one for each sku. (See ShipmentReference 1243 in Landmark Import Examples v2.xls). 
  • Multi-Package
  • The PackageCount field is meant to represent the total number of packages in a shipment. (See Multi-Package Example in Landmark Import Examples v2.xls).
  • If multiple of the same item are part of the same shipment, but being sent via separate shipping boxes (packages), utilize the PackageCount field. For example, if 3 of the same item are being sent via 3 packages there should only be 1 row used in the file with the PackageCount and ItemQuantity fields both set to 3. (See ShipmentReference 1235 in Landmark Import Examples v2.xls).
  • If there are more packages in a shipment than skus, a row without item information may be used to add a package to the shipment. (See ShipmentReference 1244 & 1245 in Landmark Import Examples v2.xls).

Using option columns

The option columns allow you to add additional information to an important file. The five different OptionTypes are Option (for setting shipment options), Memo (for pick slips), Charge (for pick slips), ItemOption (for customs info such as Certificate_ID or Product_Version_ID) and Additional (additional shipment fields). To add any of these, you need to add columns for OptionType, OptionName, and OptionInfo. For example, to import shipments with pickslip memos, add the following:

  • OptionType - must set to "Memo"
  • OptionName - can be any text, but must not be blank
  • OptionInfo - the text of the memo

To include more than one option for a single shipment, you will need to add an additional row for each extra option you want to add to the shipment. Each of these additional rows should include the same shipment reference so the shipment will import as one record in Mercury with all ship options attributed.