-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Generating Invoice does recalculate tax but wrong!!! #31366
Comments
Hi @chequille. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hello @chequille Thank you for your report We have rechecked the reported issue on 2.4.1 and on 2.4-develop versions
*Actual Result Can you please provide more info, correct our steps, and explain the "coupon for a special product" ? Thank you in advance |
Hi, Please try again, as I am not the only one facing this problem. |
Hi, $invoice->setGrandTotal($invoice->getGrandTotal() + $totalTax); Doing so, my total value is 0 as it should. Where is this tax compensation coming from and for what reason is it? Do you have any explanation for it and what will be the solution? Best regards, |
@chequille Yes you are right, the #30853 it the same issue Thank you |
@srenon
Thanks for this. I made the changes manually. It is only one line to change :)
After chaning the page break when showing an invoice with zero tax did not happen again. So far so good.
But unfortunately, I found another bug regarding tax. It seems in 2.4.1 there are a lot of changes which did not solve problems but made new problems. I will show you what I found:
No, I show ou with some screenshots what happens in 2.4.1
I placed an order with a coupon code and the product I mentioned above.
Bank transfer payment, so invocie is not generated.
In the backend the order shows the following totals and tx amount which are correct, all zero !!!!
So far so good, but now I generate the invoice for this order and after doing so, we suddenly have a non zero total. Tax still says zero, but total is increased with 16% of 49,-€, definetely wrong!!!!!!! (16% is our current tax rate)
This is a very strange bug and I hope this will be solved very soon, as well with some patches, because waiting for the next release is probably to long.
Looking forward to hearing from you.
Best regards,
Chequille
The text was updated successfully, but these errors were encountered: