Note that Solidus supports value-added tax (VAT) and sales tax out of the box. You would only need to create a custom tax calculator in extraordinary circumstances.
By default, Solidus uses a simple tax rate calculator. It multiples against an item price and adjusts for any promotions to determine tax. However, this tax calculator can be changed if you need to develop a more specialized tax calculator for your application.
But in most cases, you should be able to use the Spree::Calculator::DefaultTax
calculator. It is suitable for both sales tax and VAT scenarios.
If you need to change the default tax calculation behavior, see the default tax calculator specs or its implementation .
Solidus is an open source platform supported by the community. We encourage everyone using Solidus to contribute back to the documentation and the code.
If you’re interested in contributing to the docs, get started with the contributing guidelines. If you see something that needs fixing and can’t do it yourself, please send us an email.