Skip to Content
avatar image
Former Member

Error in tax calculation


My customer has run across a peculiar problem where the sales order item level tax amount changes when saving the SO. The situation is as follows:


Item line 10, net price 130 NOK, qty 2, total net 260 NOK. Tax 25% = 65 NOK.

Situation before saving the order:

Net value and tax after the order is saved:

The resulting difference is then visible in table KONV - KDIFF.

I understand this could be possible if the value displayed on screen (260 NOK) would differ from the value for which the tax is actually calculated (for example something like 259.99 NOK or close to that), but that is not the case here.

The 25% tax is calculated directly on a price derived from purcase price - discount, which equals to 102,6597 + 27,3403 = 130 (2 pcs = 260 NOK).

I've read a massive amount of posts and notes on rounding erros, but have not come across a solution for this. Any one have any idea on how to solve it?

Thanks in advance!

pqjon.png (5.5 kB)
x00xa.png (16.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 19, 2016 at 05:38 AM

    Hi Mikko,

    Is any enhancement is done at save point of sales document or any custom routine is used in your pricing procedure. Can you please share the screen short of sales order - condition tab with all condition type and for pricing procedure.

    The best way to resolve this issue is to debug and try to figure out at save point why the values is getting changed.



    Add comment
    10|10000 characters needed characters exceeded