Skip to content

Invoice with incorrect calculations passed Schematron Validation #432

@amangou-transalis

Description

@amangou-transalis

Hello,

During a testing for Peppol, we noticed that an invoice with incorrect calculations passed Schematron Validation successfully.

PEPPOLXML_0603914624_PASSED.zip

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions