Development   Tax


What is the Magento_Tax module for? (1)
Which combinations of the «Apply Discount On Prices» and «Apply Customer Tax» options are valid? (3)
How is the «Apply Customer Tax» («Before Discount» / «After Discount») option handled? (3)
How is the «Apply Discount On Prices» («Excluding Tax» / «Including Tax») option handled? (3)
How does Magento\Tax\Model\Calculation\AbstractCalculator decide whether to use calculateWithTaxInPrice() or calculateWithTaxNotInPrice() method? (1)
How is «discount_tax_compensation_amount» calculated by Magento\Tax\Model\Calculation\UnitBaseCalculator::calculateWithTaxNotInPrice()? (1)
How is «discount_tax_compensation_amount» calculated by Magento\Tax\Model\Calculation\AbstractAggregateCalculator::calculateWithTaxNotInPrice()? (1)
How is «discount_tax_compensation_amount» calculated by Magento\Tax\Model\Calculation\UnitBaseCalculator::calculateWithTaxInPrice()? (1)
How is «discount_tax_compensation_amount» calculated by Magento\Tax\Model\Calculation\AbstractAggregateCalculator::calculateWithTaxInPrice()? (1)
How is «discount_tax_compensation_amount» calculated? (2)
How is «hidden_tax_amount» calculated in Magento 1.x? (2)
How is Magento\Tax\Model\Config::getCalculationSequence() implemented and used? (2)
How is Magento\Tax\Model\Calculation::CALC_TAX_BEFORE_DISCOUNT_ON_EXCL defined and used? (2)
How is Magento\Tax\Model\Calculation::CALC_TAX_BEFORE_DISCOUNT_ON_INCL defined and used? (2)
How is Magento\Tax\Model\Calculation::CALC_TAX_AFTER_DISCOUNT_ON_EXCL defined and used? (2)
How is Magento\Tax\Model\Calculation::CALC_TAX_AFTER_DISCOUNT_ON_INCL defined and used? (2)
How is \Magento\Tax\Model\Config::discountTax() implemented and used? (2)
How is \Magento\Tax\Model\Config::applyTaxAfterDiscount() implemented and used? (2)
How is getPriceInclTax() calculated for an order item? (2)
How is getRowTotalInclTax() calculated for an order item? (2)
The \Magento\Tax\Api\Data\OrderTaxDetailsItemInterface is implemented by the \Magento\Sales\Model\Order\Tax\Item class (1)
The \Magento\Tax\Api\Data\GrandTotalDetailsInterface is implemented by the \Magento\Tax\Model\Calculation\GrandTotalDetails class (1)
How to include the taxes to an order's total amount on the frontend pages? (1)
Where are the tax settings located in the backend? (2)
«Tax» → «Calculations Settings» → «Tax Calculation Method Based On» (1)
How to open the backend tax rates grid? (2)
A backend tax rate screen (2)
A backend tax rule screen (2)
How to open the backend tax rules grid? (2)
The «Zip/Post is Range» checkbox is wrongly rendered on the backend tax rate screen (1)