{"id":1041,"date":"2023-05-01T10:01:10","date_gmt":"2023-05-01T10:01:10","guid":{"rendered":"https:\/\/artelnics.com\/?post_type=case_studies&#038;p=1041"},"modified":"2026-11-09T11:38:13","modified_gmt":"2026-11-09T11:38:13","slug":"hscodes","status":"publish","type":"case_studies","link":"https:\/\/artelnics.com\/case_studies\/hscodes\/","title":{"rendered":"Automation of HS codes assignment for Nestle"},"content":{"rendered":"<div class=\"aui aui-content-page artelnics-shared-page\" data-artelnics-shared-content>\n<article class=\"artelnics-shared-case\">\n<p class=\"artelnics-shared-case-lead\">Machine-learning models assign HS codes from product descriptions to automate customs classification for Nestl\u00e9.<\/p>\n<div class=\"artelnics-shared-case-meta\"><span class=\"artelnics-shared-case-tag\">Consumer goods<\/span><span class=\"artelnics-shared-case-tag\">Text classification<\/span><span class=\"artelnics-shared-case-tag\">HS code assignment<\/span><\/div>\n<h2>Challenge<\/h2>\n<p>Nestl\u00e9 needed to automate the manual assignment of HS codes to products. Manual data entry consumed employees\u2019 time and introduced classification errors.<\/p>\n<p>HS codes are an internationally standardized system for classifying traded products. Each item in an international shipment needs the correct code on its commercial invoice to determine import duties and other taxes.<\/p>\n<h2>Data<\/h2>\n<p>The algorithm was trained using millions of product descriptions and their matching HS codes. Each pair of digits in the code represents a specific level of product classification.<\/p>\n<h2>Solution<\/h2>\n<p>Artelnics developed a machine-learning model that assigns an HS code based on a product\u2019s description. Training connects descriptions with the corresponding codes and produces assignment rules based on individual words or combinations of terms that distinguish products.<\/p>\n<div class=\"aui-card-grid aui-grid-two\">\n<div class=\"aui-card\"><strong>Input<\/strong><\/p>\n<p>Product descriptions labelled with their matching HS codes.<\/p>\n<\/div>\n<div class=\"aui-card\"><strong>Output<\/strong><\/p>\n<p>Automatic HS code assignment using learned classification rules.<\/p>\n<\/div>\n<\/div>\n<h2>Results<\/h2>\n<p>The company reduced manual data entry and human errors in HS code assignment, improving efficiency and freeing warehouse employees to focus on more complex tasks.<\/p>\n<h2>Illustrations<\/h2>\n<figure><img decoding=\"async\" src=\"https:\/\/artelnics.com\/wp-content\/uploads\/2023\/05\/hscodes.webp\" alt=\"HS code hierarchy used to classify traded products\"><figcaption>HS code hierarchy used to classify traded products.<\/figcaption><\/figure>\n<div class=\"aui-card-grid aui-grid-two artelnics-shared-flow\" aria-label=\"Machine learning workflow for HS code assignment\">\n<div class=\"aui-card\"><span>01<\/span><strong>Product descriptions<\/strong><\/p>\n<p>Millions of labelled descriptions are prepared for training.<\/p>\n<\/div>\n<div class=\"aui-card\"><span>02<\/span><strong>Machine learning model<\/strong><\/p>\n<p>The model learns the patterns that connect text with HS codes.<\/p>\n<\/div>\n<div class=\"aui-card\"><span>03<\/span><strong>Unique rules<\/strong><\/p>\n<p>Relevant words and combinations are converted into assignment rules.<\/p>\n<\/div>\n<div class=\"aui-card\"><span>04<\/span><strong>Automatic code<\/strong><\/p>\n<p>New products receive the most appropriate HS code with fewer manual errors.<\/p>\n<\/div>\n<\/div>\n<\/article>\n<nav class=\"artelnics-shared-related\" aria-label=\"Case study actions\">\n<div><strong>Have a similar challenge?<\/strong><span>Artelnics can help turn operational data into a practical AI system.<\/span><\/div>\n<div class=\"aui-actions artelnics-shared-related-actions\"><a class=\"aui-button aui-button--secondary\" href=\"\/case_studies\/\">View all projects<\/a><a class=\"aui-button\" href=\"\/contact\/\">Talk to us<\/a><\/div>\n<\/nav>\n\n\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Machine-learning models assign HS codes from product descriptions to automate customs classification for Nestl\u00e9.<\/p>\n","protected":false},"featured_media":626,"parent":0,"menu_order":0,"template":"","categories":[],"class_list":["post-1041","case_studies","type-case_studies","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/artelnics.com\/api\/wp\/v2\/case_studies\/1041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artelnics.com\/api\/wp\/v2\/case_studies"}],"about":[{"href":"https:\/\/artelnics.com\/api\/wp\/v2\/types\/case_studies"}],"version-history":[{"count":16,"href":"https:\/\/artelnics.com\/api\/wp\/v2\/case_studies\/1041\/revisions"}],"predecessor-version":[{"id":3373,"href":"https:\/\/artelnics.com\/api\/wp\/v2\/case_studies\/1041\/revisions\/3373"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/artelnics.com\/api\/wp\/v2\/media\/626"}],"wp:attachment":[{"href":"https:\/\/artelnics.com\/api\/wp\/v2\/media?parent=1041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artelnics.com\/api\/wp\/v2\/categories?post=1041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}