MDVA-35773: Tax appears on invoice with 100% discount
The MDVA-35773 patch fixes the issue with the Grand Total not being shown as zero on the invoice for orders with a 100% discount. This patch is available when the Quality Patches Tool (QPT) 1.0.22 is installed. The patch ID is MDVA-35773. Please note that the issue was fixed in Adobe Commerce version 2.4.3.
Affected products and versions
The patch is created for Adobe Commerce version:
Adobe Commerce on cloud infrastructure 2.3.6
Compatible with Adobe Commerce versions:
Adobe Commerce on-premises and Adobe Commerce on cloud infrastructure 2.3.6-2.3.7 and 2.4.1-2.4.2
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the
magento/quality-patches package to the latest version and check the compatibility on the QPT landing page. Use the patch ID as a search keyword to locate the patch.
Steps to reproduce:
Navigate to Stores > Settings > Configuration > Sales > Tax.
Set Catalog Prices and Apply Discount on Prices to Including Tax.
Navigate to Stores > Tax Rules > Add New Tax Rule.
Create a tax rule (Example: all USA with 10% tax rate), and apply it.
Navigate to Marketing > Cart Price Rules, and Add New Rule.
Create a rule with a 100% discount for all users.
Make an order on the Storefront:
- Choose Free Shipping.
- Apply Coupon Code.
Navigate to Sales > Orders, and open your order.
Create an invoice for the order, and open it.
The invoice Grand Total = $0.00.
The invoice Grand Total = tax amount is created.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
To learn more about Quality Patches Tool, refer to:
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.