diff --git a/india_compliance/gst_india/doctype/bill_of_entry/bill_of_entry.js b/india_compliance/gst_india/doctype/bill_of_entry/bill_of_entry.js index 54c18a3bc..171184287 100644 --- a/india_compliance/gst_india/doctype/bill_of_entry/bill_of_entry.js +++ b/india_compliance/gst_india/doctype/bill_of_entry/bill_of_entry.js @@ -391,7 +391,7 @@ class TaxesController { const item_wise_tax_rates = JSON.parse(tax_row.item_wise_tax_rates || "{}"); return this.frm.doc.items.reduce((total, item) => { - return total + item.qty * item_wise_tax_rates[item.name]; + return total + item.qty * (item_wise_tax_rates[item.name] || tax_row.rate); }, 0); } }