Skip to content

Tax rouding up instead of down. #35025

Open
@pmonosolo

Description

@pmonosolo

Preconditions (*)

  1. Magento 2.4.3 CE
  2. Product with price $38.48
  3. Taxes: Canadian GST (5%) and PST(7%) taxes applied to order
  4. GST tax: 38.48 * 0.5 = 1.924 ~ 1.93
  5. PST tax $38.48 * 0.7 = 2.6936 ~ 2.7

image

Both PST and GST are being rounded up even though they should not be. I believe it should be rounding up only at 0.5 not at 0.4.

This creates a misalignment when orders get synced into Quickbooks.

image

Steps to reproduce (*)

  1. Create a product with price $38.48

  2. Create Tax Rate for GST

image

  1. Create Tax Rate for PST

image

  1. Create Tax Rule for for GST

image

  1. Create Tax Rule for PST

image

  1. Put product with price 38.48 into cart and go to checkout

  2. Check out with address from Canada, British Columbia

Expected result (*)

  1. Order Total should be $43.09

Actual result (*)

  1. Order Total Shows $43.10 (which actually is incorrect even by the broken rouding up system - 38.48 + 2.70 + 1.93 = 43.11)

image


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: TaxComponent: TaxIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions