Hello all,
We have found an issue with the combination of VAT and a total discount.
When using a total discount we see differences between de tax base amounts in the TaxTrans table and the calculated tax base amounts. A mayor cause of this problem seems to be the storage of the total discount on an invoice-level; where it practically be stored based on the VAT-codes.
Example:
Salesline 1: Amount 115,67; 6% VAT
Salesline 2: Amount 11,37; 21% VAT
Salesline 3: Amount 796,17; 6% VAT
When an total discount of 0,85% is applicable we see next results in AX:
VAT 21% Vat 6% Total
------- ------- -------
Total sales amount 11,37 919,55 930,92
Total discount 0,10 7,82 7,91
------- ------- -------
Tax Base Amount 11,27 911,73 923,01
VAT 2,37 54,70 57,07
------- ------- -------
Total invoice 13,64 966,43 980,08
The Tax Base amount for the column's "VAT 21% and "Vat 6%" can only be calculated from the TaxTrans-table as the end-discount is only stored on invoice-level in AX.
The issue we are facing is that we each time have a 0,01 difference between the Tax Base Amount in de Tax Trans Table and the total Tax Base Amount which is shown on the invoice.
Does anyone have a solution for this matter?