I have tried printing a shipping label and am seeing the following error returned:

Error: The length (X) of the harmonised tariff code for item ABC1 is less than the minimum allowed (6)


The error is returned for an Order due to one of the following reasons:

  • No Tariff Code was submitted to the Courier when printing a label for one or more items in the Order.

  • The export Tariff Code length was different from what the Courier expected to see. It is now mandatory to submit Tariff Codes that are a minimum of 6 characters/digits long. Some Couriers may have a different accepted minimum length, which might be higher than 6, for example, 8 digits are required for EVRi Corporate Tariff Codes.

Tips to avoid an error message:

  1. When printing a label, make sure that the Tariff Code is present as the Items Extended Property in > Inventory > My Inventory > Product Details > Extended Properties:

  2. If the Item Extended Property is missing then it can be taken from Linnworks.Net > Shipping > Integrations > Services > Edit > and there will be the following option present:

    Keep in mind that this field is not present for all Courier integrations.

  3. If it is missing in the service configuration, it can be taken from Linnworks.Net > Shipping > Integrations > Config > and there will be the following option present:

Please make sure to have the Tariff Code present in your Item's Extended Properties in case you are shipping different product types or you can add a Default HS Tariff Code for some Couriers in case you are shipping only one type of products.

You can look for the correct Tariff Codes from the following website:

Additional validation for the length of the Tariff Code was added due to ICS2 regulations that came into effect on the 1st of March:

Additional information:

Shipping - Adding shipping details to items

Shipping - HS Tariff Code and Country of Origin