Error in India Compliance App – ValueError: Unknown format code 'd' for float

@Dipen.Gala Need your assistance in connecting with the concerned team. As our site is not on a support plan we are unable to raise ticket, hence adding up here.
We are encountering an issue while generating the GSTR-1 JSON (Full Report) in the india_compliance.

App Version: v15.27.1 (HEAD)

Error Message:
ValueError: Unknown format code ‘d’ for object of type ‘float’

Scenario:
The error occurs when attempting to generate the GSTR-1 JSON full report from the system.

Steps to Reproduce:

  1. Navigate to GSTR-1 Report

  2. Select the required period

  3. Click on “Generate JSON” (Full Report)

  4. System throws the above error

Observation:
This appears to be a formatting issue where a float value is being incorrectly handled using integer ('d') formatting within the India Compliance app.

Impact:
We are unable to generate the GSTR-1 JSON file, which is critical for GST return filing.

Additional Notes:

  • No updates are currently available for the app

  • This seems to be a code-level issue rather than configuration-related one

Request your support in identifying the root cause and providing a fix or patch at the earliest.
This issue appears on all the sites.

Supporting Screenshots/documents/videos/dashboard links:


“App Versions

{
	"erpnext": "15.103.1",
	"frappe": "15.103.3",
	"hrms": "15.58.5",
	"india_compliance": "15.27.1"
}

Checking with the IC team. Can you share the site name where you are not able to raise the ticket?

Fix will be released today; until then, kindly use GSTR-1 Beta.

1 Like

sustainera.frappe.cloud

Hello,

Fix has been released in the latest version of the India Compliance App.

Kindly update the app to resolve the issue.