{"id":12107,"date":"2025-06-06T05:52:31","date_gmt":"2025-06-06T05:52:31","guid":{"rendered":"https:\/\/tenthplanet.in\/idempiere\/?p=12107"},"modified":"2026-08-24T09:33:05","modified_gmt":"2026-08-24T09:33:05","slug":"how-to-do-hsn-code-api-setup-in-adempiere-retail","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-to-do-hsn-code-api-setup-in-adempiere-retail\/","title":{"rendered":"How to do HSN Code API Setup in ADempiere Retail"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>HSN Code API Setup<\/strong> means configuring your system to <strong>automatically fetch or validate HSN codes<\/strong> using an API (Application Programming Interface). This helps ensure <strong>accurate tax classification<\/strong> for products as per government standards.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>User Access<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Who Can Access<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Admin<\/li>\n\n\n\n<li>Cashier<\/li>\n\n\n\n<li>Back office<\/li>\n\n\n\n<li>Manager<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What User Can Do<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Configure <strong>API URL, credentials, and headers<\/strong><\/li>\n\n\n\n<li>Enable <strong>auto-fetch or validation<\/strong> of HSN codes during product creation or update<\/li>\n\n\n\n<li>Test API connection and responses<\/li>\n\n\n\n<li>Sync product master with <strong>correct HSN and tax rate<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Pre-Requisite Activities<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Obtain <strong>API details<\/strong> (URL, key\/token) from the HSN provider<\/li>\n\n\n\n<li>Ensure internet access from the system<\/li>\n\n\n\n<li>Set up product categories and tax mappings<\/li>\n\n\n\n<li>Ensure <strong>HSN structure (code, description, tax%)<\/strong> is supported<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Business Rules<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Only valid HSN codes will be accepted during sync or validation<\/li>\n\n\n\n<li>HSN API should use <strong>secure HTTPS<\/strong> and be authenticated<\/li>\n\n\n\n<li>If HSN code is missing, product cannot be saved (based on config)<\/li>\n\n\n\n<li>Product tax rate should <strong>match the rate returned<\/strong> by the API<\/li>\n\n\n\n<li>Users must not override HSN\/tax unless authorized<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>User Interface<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><strong><strong>Step 1 : <\/strong><\/strong><\/strong>Select<strong><strong> \u2018<strong>Branch<\/strong>\u2019<\/strong> <\/strong>in Menu <strong><strong><strong>Branch Configuration -&gt; Branch<\/strong> <\/strong><\/strong>or Search <strong><strong><strong>Branch<\/strong> <\/strong><\/strong>in Lookup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-1.png\" alt=\"TenthPlanet ADempiere HSNCodeAPI 1\" class=\"wp-image-25056\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-1.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-1-300x192.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-1-768x491.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2 : <\/strong>Select Organisation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"653\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-2.png\" alt=\"TenthPlanet ADempiere HSNCodeAPI 2\" class=\"wp-image-25057\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-2.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-2-300x191.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-2-768x490.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3 : <\/strong>Click <strong>HSN Code API Config<\/strong> Tab and Click <strong>New<\/strong> Button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-3.png\" alt=\"TenthPlanet ADempiere HSNCodeAPI 3\" class=\"wp-image-25058\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-3.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-3-300x192.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-3-768x491.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 4 : <\/strong>Enter Below Credentials for HSN Code API Config<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HSN URL<\/li>\n\n\n\n<li>APIKey<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-4.png\" alt=\"TenthPlanet ADempiere HSNCodeAPI 4\" class=\"wp-image-25059\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-4.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-4-300x192.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-4-768x491.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 5 : <\/strong>Click to Save the Record.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-5.png\" alt=\"TenthPlanet ADempiere HSNCodeAPI 5\" class=\"wp-image-25060\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-5.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-5-300x192.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2025\/06\/TenthPlanet-ADempiere-HSNCodeAPI-5-768x491.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>HSN Code API Setup means configuring your system to automatically fetch or validate HSN codes using an API (Application Programming [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,84,32],"tags":[],"class_list":["post-12107","post","type-post","status-publish","format-standard","hentry","category-jaldi-life-style","category-adempiere-master","category-jaldi-super-store"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=12107"}],"version-history":[{"count":4,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12107\/revisions"}],"predecessor-version":[{"id":25063,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12107\/revisions\/25063"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=12107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=12107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=12107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}