From 2e577ed25b891c349d42eb0622956aeaab2f716e Mon Sep 17 00:00:00 2001 From: Dharanidharan2813 Date: Tue, 24 Feb 2026 13:47:16 +0530 Subject: [PATCH] fix(taxes_and_totals): apply conversion_rate to taxable_amount in get_itemised_tax --- erpnext/controllers/taxes_and_totals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/controllers/taxes_and_totals.py b/erpnext/controllers/taxes_and_totals.py index 83e8e349804..2f45a55eabf 100644 --- a/erpnext/controllers/taxes_and_totals.py +++ b/erpnext/controllers/taxes_and_totals.py @@ -1289,7 +1289,8 @@ def get_itemised_tax(doc, with_tax_account=False): ) tax_info.tax_amount += flt(row.amount, precision) - tax_info.taxable_amount += flt(row.taxable_amount, precision) + conversion_rate = doc.conversion_rate or 1 + tax_info.taxable_amount += flt(row.taxable_amount / conversion_rate, precision) if with_tax_account: tax_info.tax_account = tax.account_head