What this validator checks for UBL 2.1
- XML well-formedness with line and column
- Root element and namespace detection
- Data types for dates and amounts
- EN 16931 business and calculation rules
- Peppol rules when a Peppol CustomizationID is present
Common UBL mistakes
The most frequent problems we see are TaxInclusiveAmount not equal to TaxExclusiveAmount plus VAT (BR-CO-15), VAT computed per line instead of per rate group (BR-CO-17), missing schemeID attributes on EndpointID (BR-62/BR-63), and dates with time components.