What an XSD can and cannot do
| Check | What it detects | What it does not detect |
|---|---|---|
| XSD | A faulty structure, wrong data types | Mismatched amounts, missing business fields |
| Schematron rules | Mismatched amounts, missing mandatory fields, VAT logic | A mismatch with the actual transaction |
Example
In an e-invoice the line total is €750.00, but the total excluding VAT is stated as €700.00. An XSD will accept such a file, because both numbers are valid. The business rules will detect it as an amount mismatch. Likewise, an XSD will not detect missing fields that PEPPOL requires, if the structure allows them to be absent.
How to validate fully
- Validate against the XSDThis confirms that the file is built correctly.
- Validate against the EN 16931 and PEPPOL rulesThis confirms the content and logic.
- Repeat after every changeThe result applies to that specific file.
Finolto
Finolto validates against both the XSD and the official EN 16931 and PEPPOL BIS Billing 3.0 rules (Schematron), which run on Saxon on Java in about a second. If validation was not performed, it is not treated as passed. More: E-invoice validation.