How to setup tax for Russia?

A simple example:

1. Tax Zones and Rates

2. Tax Rules

3. «Sales» → «Tax» → «Calculation Settings» → «Apply Customer Tax»: «After Discount»

4. «Sales» → «Tax» → «Calculation Settings» → «Apply Discount On Prices»: «Including Tax» (recommended, optional)

Why «Including Tax» is the recommended value for the «Apply Discount On Prices» option?

5. «Sales» → «Tax» → «Calculation Settings» → «Catalog Prices»: «Including Tax» (recommended, optional)

It is required, if you have set «Apply Discount On Prices»: «Including Tax» and «Apply Customer Tax»: «After Discount».

6. «Sales» → «Shiping Settings» → «Origin»

If you have set the «Including Tax» value for the «Sales» → «Tax» → «Calculation Settings» → «Catalog Prices» option, then set «Russia» as the «Country» value, because the catalog’s tax rate depends on it:

Magento\Tax\Model\Calculation\AbstractAggregateCalculator::calculateWithTaxInPrice()

Magento\Tax\Model\Calculation\UnitBaseCalculator::calculateWithTaxInPrice()

Magento\Tax\Model\Calculation::getStoreRate()

7. «Sales» → «Tax» → «Default Tax Destination Calculation» → «Default Country» (recommended, optional)

I recommend to set the «Russia» value, but you can set another one.

8. «Sales» → «Tax» → «Tax Classes» → «Tax Class for Shipping»

VAT 10% is just an example, you should set the proper value for your business.

8. Specify a tax class for each product

VAT 18% is just an example, you should set the proper value for your business.

See also: