Schematron Validation - Clarification for VAT calculate #426
Unanswered
amangou-transalis
asked this question in
Q&A
Replies: 1 comment
-
Hello, Could you please help us investigate the previous error regarding the VATs? Thank you in advance for your support! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @oriol & @phax,
I hope this email finds you well :)
Please find attached the files:
Schematron Validation - Clarification.zip
Example Invoice that didn't pass validation: 0603914625 (Attached PEPPOL XML PEPPOLXML_0603914625_FAILED.xml)
We checked the PEPPOL XML via Postman and we are getting this:
ERROR: "[BR-CO-17]-VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals."
Taxable Amount: 642.6
VAT Rate: 21%
Tax Amount: 132.25
If we do the calculations manually, then Tax Amount should be 134.946 -> Rounded to 2 decimals: 134.95.
Example Invoice that passed validation: 0603914624 (Attached PEPPOL XML PEPPOLXML_0603914624_PASSED.xml)
This Invoice passed the validation, however, the calculations are not right.
Taxable Amount: 64.26
VAT Rate: 21%
Tax Amount: 13.22
BUT If we do the calculations manually, then Tax Amount should be 13.4946 -> Rounded to 2 decimals: 13.49.
Can you help us to understand why this is happening?
Thanks,
Andromachi
Beta Was this translation helpful? Give feedback.
All reactions