Skip to content

Bank Reconciliation Tool/Bank Reconciliation Tool - Create journal entry for igst, cgst, sgst - error #47538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bhavyajicomputers opened this issue May 13, 2025 · 1 comment
Labels
bug need-more-info Provide additional context, steps to reproduce this issue. replied

Comments

@bhavyajicomputers
Copy link

Information about bug

App Versions
{
"erpnext": "15.60.2",
"frappe": "15.68.0",
"hrms": "15.45.0",
"india_compliance": "15.17.1",
"payments": "0.0.1"
}
Route
Form/Bank Reconciliation Tool/Bank Reconciliation Tool
Traceback
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 115, in application
response = frappe.api.handle(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/init.py", line 49, in handle
data = endpoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 51, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 84, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/init.py", line 1742, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "apps/erpnext/erpnext/accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py", line 217, in create_journal_entry_bts
"credit_in_account_currency": flt(deposit_in_company_currency / exc_rate) or 0,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'

Request Data
{
"type": "POST",
"args": {
"bank_transaction_name": "ACC-BTN-2025-02316",
"reference_number": "CIB/GSTN/24090600158897/240920060030382/GSTN -S81939123 -",
"reference_date": "2024-09-20",
"posting_date": "2024-09-20",
"mode_of_payment": "Wire Transfer",
"entry_type": "Contra Entry",
"second_account": "Input Tax IGST - BCPL"
},
"headers": {},
"error_handlers": {},
"url": "/api/method/erpnext.accounts.doctype.bank_reconciliation_tool.bank_reconciliation_tool.create_journal_entry_bts",
"request_id": "f7328726-afa3-4024-8c60-8090be27bc9b"
}
Response Data
{
"exception": "TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'",
"exc_type": "TypeError",
"_exc_source": "erpnext (app)"
}

Module

accounts

Version

"erpnext": "15.60.2",
"frappe": "15.68.0",
"hrms": "15.45.0",
"india_compliance": "15.17.1",
"payments": "0.0.1"

Installation method

None

Relevant log output / Stack trace / Full Error Message.

@DipenFrappe
Copy link
Collaborator

Hi,

Please share the steps followed with screenshots/GIFS

@DipenFrappe DipenFrappe added replied need-more-info Provide additional context, steps to reproduce this issue. labels May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug need-more-info Provide additional context, steps to reproduce this issue. replied
Projects
None yet
Development

No branches or pull requests

2 participants