Drupal Commerce can do lots of things, but it does two major kinds of taxes "out of the box".
If you have a tax which is added to every order without any complex rules, there's nothing to it. Visit the tax rate configuration at Administration -> Store -> Configuration -> Taxes (admin/commerce/config/taxes) and add a tax rate.
For example, to add a sales tax of 10%, I can click "Add a tax rate", fill in the form, put a rate of 0.10, and that's all there is to it. An extra 10% subtotal line item will be added to every order
Unfortunately, the world is not set up to allow us to do simple taxes all the time, and we end up needing rules for them. Drupal Commerce, though, is up to the task. It uses the Rules engine to allow you great power.
Most of the time, we'll be applying different taxes based on the location of the buyer. There are other applications, but we'll demonstrate how to do it based on order address:
line-item:orderas the data selector.
That's it. You can add other taxes based on other address components as demonstrated in the screencast.Here are two screencasts, the first on basic taxes and the second on conditional taxes.
Drupal Commerce Tax Introduction: Sales Tax and VAT from Randy Fay on Vimeo.
Drupal Commerce Conditional Sales Tax from Randy Fay on Vimeo.
Found errors? Think you can improve this documentation? edit this page