Autofill Party and Address Details Not Working When Entering GSTIN

Hi Everyone,

I’m facing an issue in my ERPNext instance regarding the auto-filling of party and address details using the GSTIN.

Expected Behavior:

When I enter a valid GSTIN in the Address DocType, the system should automatically fetch and populate details like address_line1, city, pincode, and other related fields. This feature is quite handy for avoiding manual entry and ensuring accuracy in the address data.

Current Behavior:

However, despite entering a valid GSTIN, no address details are being populated. I have double-checked the setup and ensured that the necessary fields, like gstin, address_line1, city, and pincode, are present in the Address DocType. But the autofill simply doesn’t trigger as expected.

I did troubleshooted:

  1. Verified that the GSTIN entered is valid.
  2. Checked if the required fields are correctly set up in the Address DocType.
  3. Tried multiple GSTINs but the problem persists.
  4. Reviewed the logs for any error messages, but none seem related to this issue.

Is anyone else experiencing this problem, or has anyone successfully set up the GSTIN-based address autofill feature? I would appreciate any guidance or tips on how to resolve this.

Note: This was working before

Thanks in advance!

This feature is only available in the Party/Address Quick Entry Form.
Also, it should be enabled in GST Settings.

Documentation:

1 Like

Hello Lakshit, its enabled, and yes i am talking about in the quick entry form

This could be because of one of the two reasons

Reason 1: JS asset is not built/loaded. bench build could help.

Reason 2:

India compliance app is overriding quick entry in ERPNext.

So, if code from India compliance app should be loaded after that in ERPNext for it to work. To ensure this, you can update hooks resolution order.