Home
/
Versions
2017
Rules
GR-R-001-4
Cius
BIS3 Greece
Validation message
When Supplier is Greek, the Invoice Id third segment must be a positive integer
Context
/ubl-invoice:Invoice/cbc:ID[$isGreekSender] | /ubl-creditnote:CreditNote/cbc:ID[$isGreekSender]
UBL
XPath
Copied
1
string-length(normalize-space($IdSegments[3]))>0 and string(number($IdSegments[3])) != 'NaN' and xs:integer($IdSegments[3]) >= 0
Used in business terms
BT-1