dveldhoen / easyinvoice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VAT not being calculated correctly?

DennisSpek opened this issue · comments

Alright, so when I make a test order with 2 items and include some kind of discount code, VAT seems to not be calculated correctly.

Item A costs 120 EUR and item B costs 180 EUR. This makes 300. Now if you exclude the discount of 60, you'll be back at 240 EUR.

Now if you have 21% Tax running on both item A and B, you'll be charged with an additional 63 EUR for the taxes. I am not sure about this but I believe that is wrong. You are calculating taxes over an amount that is not being payed. 240 * 1,21 = 290,4. Not 303

Hi, can you copy your config for me? If we can reproduce and understand your issue it will be easier to fix. Thanks!