VRBL-INV-SYSTEM-15
Basic Info
| Rule | If there is a value for Seller Contact Electronic Mail, the allowed maximum number of characters is 300. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-system |
| Severity | fatal |
Used Template: SystemLengthLimit
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:ElectronicMail
|
| length | = |
300
|
Implementation
not(boolean(cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:ElectronicMail))
or
string-length(normalize-space((cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:ElectronicMail)[1])) <= 300