GR-R-001-4

When Supplier is Greek, the Invoice Id third segment must be a positive integer

About

ID
GR-R-001-4
Flag
fatal
Context
/pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocument/cbc:ID[$isGreekSender]
Test
string-length(normalize-space($IdSegments[3]))>0 and string(number($IdSegments[3])) != 'NaN' and xs:integer($IdSegments[3]) >= 0