You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validating a XRechnung Document with TradeTax Category Code K results in an Error.
Appended below you can find an anonymized XRechnung Document containing the Error.
Splitting up the Calculation of BR-IC-08 there are 3 Core Parts: Sum of Line Totals, Sum of Allowances and Sum of Charges.
Individually calculating these results in a correct result, however running these calculations combined appears to produce some sort of calculation error.
Sum of Line Totals
Running the Calculation results in the Value 1966.58
We are facing a similar issue. We can't find any error in attached incoice, but still it fails.
As sender of the Invoice it is hard to get the receiver to check the validation.
Best Regards
Validating a XRechnung Document with TradeTax Category Code K results in an Error.
Appended below you can find an anonymized XRechnung Document containing the Error.
Splitting up the Calculation of BR-IC-08 there are 3 Core Parts: Sum of Line Totals, Sum of Allowances and Sum of Charges.
Individually calculating these results in a correct result, however running these calculations combined appears to produce some sort of calculation error.
Sum of Line Totals
Running the Calculation results in the Value 1966.58
Sum of Allowances
Running the Calculation results in the Value 16.81
Sum of Charges
Running the Calculation results in the Value 0
Combined these Values equal 1983.39 (= 1966.58 + 16.81 - 0)
However when testing the combined function it results in 1983.3899999999999
Because of this miscalculation the calculated amount does not equal
and thus this validation fails.
The test has been conducted using the XPath Notebook for Visual Studio Code and the appended Document.
Thanks in Advance for taking a look at this Issue and the maintenance of these Validators.
Best Regards
Juri Scholz
Appended Document
The text was updated successfully, but these errors were encountered: