Open HUMENTH opened 6 months ago
This seems the way the sum is taken.
Currently the output looks like it is option 2.
IMO each line's Tax amount should be rounded as I face similar issue in Saudi VAT. The official documentation also dictates to round seperately
Information about bug
The rounding method is not functioning correctly in the "Sales Taxes and Charges" section of the Sales Order.
Steps to reproduce the issue:
Ensure the currency precision and rounding method are set as shown in the screenshot provided.
Create a Sales Order and add items, quantity, and rates as illustrated in the screenshot.
In the "Sales Taxes and Charges" table, select 'On Net Total' for type, 'Output Tax IGST' for Account Head, and set the rate to 18%. Save the order.
Review the calculated tax amount. It is expected to be 1,55,284.46, but it displays 1,55,284.45 instead.
When manually selecting the Item Tax Template for each line item, the correct IGST amount with two decimal places is displayed, but sum of total taxes is not correct with two decimal places.
IGST Amount for Line Item 1:
IGST Amount for Line Item 2:
IGST Amount for Line Item 3:
IGST Amount for Line Item 4:
IGST Amount for Line Item 5:
IGST Amount for Line Item 6:
IGST Amount for Line Item 7:
Current Result: Total tax (IGST Amount) is 1,55,284.45.
Expected Result: Total tax (IGST Amount) should be 1,55,284.46.
Module
selling
Version
Frappe: v15.25.0 ERPNext: v15.22.2 India Compliance: v15.7.4
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
No response