aerele / reconciler

Reconciliation tool for GSTR 2B and Purchase Register
Other
15 stars 21 forks source link

Small changes are required in app to add "gendt" field #17

Closed satisharalkar closed 2 years ago

satisharalkar commented 2 years ago

Hi Team,

Thanks a lot for your efforts to make this app. We installed app and observed that small changes we have to make to json file to upload it successfully.

Field "gendt" was added in json file as shown in attachment.

Traceback (most recent call last): File "apps/reconciler/reconciler/reconciler/doctype/cd_gstr_2b_data_upload_tool/cd_gstr_2b_data_upload_tool.py", line 87, in create_gstr2b_entries data['cf_generation_date'] = datetime.strptime(json_data['data']['gendt'] , "%d-%m-%Y").date() KeyError: 'gendt'

image

image

Regards, Satish Aralkar

karthikeyan5 commented 2 years ago

@satisharalkar, are you downloading 2B or 2A? because 2B report JSON already has the "gendt" in it. We have multiple companies that upload the 2B JSON as it is from the GST Portal.

Closing this as this app only supports 2B as of now.