GR-R-001-5
When Supplier is Greek, the Invoice Id in the fourth segment must be a valid greek document type
About
- ID
GR-R-001-5- Flag
- fatal
- Context
/pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocument/cbc:ID[$isGreekSender]- Test
string-length(normalize-space($IdSegments[4]))>0 and (some $c in $greekDocumentType satisfies $IdSegments[4] = $c)