Skip to content
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

Enable inclusive tax calculation #75

Open
alko89 opened this issue Nov 25, 2024 · 0 comments
Open

Enable inclusive tax calculation #75

alko89 opened this issue Nov 25, 2024 · 0 comments

Comments

@alko89
Copy link

alko89 commented Nov 25, 2024

Add option to allow getAmountWithSalesTax to calculate inclusive tax calculation.

Currently getAmountWithSalesTax only adds tax to the price:

  "amount". "100",
  "subtotal": "100",
  "tax": "20",
  "total": "120"

We use inclusive tax calculation, so having this option in the method would be useful:

  "amount". "100",
  "subtotal": "80",
  "tax": "20"
  "total": "100"

I can work on this enhancement if need to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant