This code imports the data from GST Sales Register(exel) , genarated from erpnext software , to the official GSTR1 exel format and converts to json which can be directly uploaded to the official gst portal.
The code can be executed through command line arguments:
For Exel:
python file_convertion.py filepath Exel
For Json:
python file_convertion.py filepath Json
Ensure that you are in the right directory.