Post by PintilieVasile » Sat Oct 01, 2016 10:08 pm

Hi. I made a delivery Flat Tax Rate with 10 RON cost and I asign to it a VAT tax rate of 20%. So, the delivery tax should be 12 RON in total.

In Shipping Method tab, the delivery price apear with VAT included, that's good.

https://s11.postimg.org/cmhxt6lrn/Captur22.jpg

The problem is that the VAT tax is not included in the final price.

https://s9.postimg.org/y3y5sq90v/Capture.jpg

As you can see in the photo, the delivery tax apear without VAT. It's ok.

But if you look at "TVA (20%)", there is ony 20 RON (VAT from Subtotal) but it's not included the 2 RON VAT from delivery tax.

What i want is the VAT from Flat Rate (in this case is 2 RON, 20% from 10 RON delivery tax) to be added to "TVA (20%)" row,

All Geo Zones and Tax Classes are set correctly.

How i can solve this?

Thanks and sorry for my bad english.

RON is the Romanian currency. You can replace that with US Dollar, Euro, etc. It will work the same.


Posts

Joined
Sat Oct 01, 2016 10:07 pm

Post by Johnathan » Sat Oct 01, 2016 10:52 pm

I think the order of your Order Total line items is wrong. Sub-Total must ALWAYS be first, and Total must ALWAYS be last, for OpenCart to function properly. Anything that comes before Sub-Total or after Total is likely to not get included in calculations for some line items (like Tax). Making the order like this should fix it:

Sub-Total
Shipping
Tax
Total

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by PintilieVasile » Sat Oct 01, 2016 10:56 pm

Thank you soo much. Solved.


Posts

Joined
Sat Oct 01, 2016 10:07 pm
Who is online

Users browsing this forum: No registered users and 5 guests