HSN Code Error in Purchase Import
Last updated
Last updated
YouTube:
This tutorial covers how to troubleshoot and resolve common errors encountered while importing purchase vouchers from external files (e.g., Excel or CSV) into Logic ERP.
Scenario: Importing purchase data from an external file.
Error: "Invalid Document: {Yes}" – usually due to missing or undefined HSN codes.
Note: You can also read the Invalid Remarks to understand the reason behind the error or why the purchase import is not working.
Objective: Fix the error and complete the import process successfully.
1. Begin Import Process
Navigate to the Utilities\Import Masters/Transactions from External Filesand click on "Import Purchase Vouchers From External File".
2. Select and Load the File
Click Browse and choose your Excel or CSV file.
Select the appropriate sheet.
Click Refresh to load the file.
In the Header Details section:
If the Invalid Document column displays "YES", there is an error.
Go to Item Details Grid.
Scroll right to locate the Invalid Remarks column.
Example Error:
“HSN code does not exist in database”
Option 1: Import HSN Codes from Excel
Navigate to: Setup and click on Setup Items.
Select Setup Harmonious Code Descriptions.
Click Retrieve from Excel
Use the Help option to check required columns (first two marked with *
are mandatory)
Browse and select your HSN Excel file
Choose the sheet and click Refresh
Click Save to import HSN codes
Option 2: Manually Create HSN Code
Complete the fields as outlined below:
Harmonious Serial Number
Harmonious Code
Description
Click on Save
Repeat import steps:
Browse the same file
Select the correct sheet
Click Refresh
The Invalid Document column should now display "No"
Enter the Account Name
Select the Godown where stock will be added
Click Save
A confirmation message will appear – click Yes to proceed
Wait while the bill is imported
A summary window will show the bill total
Click Save to finalize
Navigate to: Purchase Voucher Window
Use Modify/Search to locate the imported bill
Review and confirm all details are correct
If the issue persists:
Double-check all HSN codes are correctly defined
Ensure formatting and column headers match import requirements
Submit a if further assistance is needed