Split order fee and discount rows for orders with different VAT-class products

We have a issue where ERP BC expects that discounts and fees for orders with product from different VAT-classes to be divided into x-numbers of rows. One for each VAT-class.

Looks like calculations for shippinh VAT has changed between Litium 7 and Litium 8 but order discounts still get a calculated median VAT percentage but regardless the result isn’t what BC expects from us.

Today in Litium 8
Shippingfee = x with 25% VAT
Discount = x with calculated VAT

What we are after
OrderDiscountVAT12
OrderDiscountVAT25
ShippingFeeVAT12
ShippingFeeVAT25

I have found a similar question regarding custom discount rows (On answer) Adding order row with order row type Discount to cart

And a question regarding how to calculate the VAT groups contribution to shippingfees.

Is this possible to do in Litium 8 and if so how or do we have to do this in the integration towards the ERPs? I would like this to be in Litium to avoid problems with calculations that causes the sum in payment provider order differs from the order sent to ERP.

Litium version: 8.8

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.