Skip to content

Wrong order tax amounts displayed when using specific tax configuration #10347

Closed
@jreinke

Description

@jreinke

Preconditions

  1. Magento CE 2.1 with sample data installed
  2. PHP 7 (does not matter IMHO)
  3. MySQL 5.7 (does not matter IMHO)

Steps to reproduce

  1. Go to Magento admin
  2. Create the following tax rates (Stores > Tax Zones and Rates):
Tax Identifier Country Zip State Rate
Tax1 France * * 10%
Tax2 France * * 5%
Tax3 France * * 20%
  1. Create the following tax rules (Stores > Tax Rules):
Name Tax Rate Customer Tax Class Product Tax Class Priority Sort Order
Tax1 Tax1 Retail Customer Taxable Goods 0 0
Tax2 Tax2 Retail Customer Taxable Goods 1 0
Tax3 Tax3 Retail Customer Taxable Goods 1 0
  1. Enable full tax summary display in "Stores > Configuration > Sales > Tax > Orders, Invoices, Credit Memos Display Settings > Display Full Tax Summary"
  2. Go to frontend and click on category "Gear > Bags"
  3. Add product "Strive Shoulder Pack" to cart (qty = 1)
  4. Go to checkout
  5. Continue as guest or as authenticated user
  6. Provide shipping address with country France (according to tax country configured in step 2)
  7. Place order
  8. Go to order details page

Expected result

Tax total amount should be equal to the sum of the tax details amounts (12.00 for this use case)

Actual result

Tax details sum is equal to 11.20
magento2 issue tax details amounts

Thanks!

Metadata

Metadata

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions