We have the following setup in VAT configuration:
Tax Calculation Method Based On = Unit Price
Tax Calculation Based On = Shipping Address
Catalog Prices = Excluding Tax
Shipping Prices = Excluding Tax
Apply Customer Tax = After Discount
Apply Discount On Prices = Excluding Tax
Apply Tax On = Custom price if available
Enable Cross Border Trade = No
Now when i look into the DB the base_discount_tax_compensation_amount has a value of zero. But we need this to be filled with the actual discount tax amount.
Am I setting it up wrong? Or how can this be achieved? We need this for imports to other systems.