Cius

Peppol-Icon

BIS3 Greece

Validation message

When Supplier is Greek, the Invoice Id in the fourth segment must be a valid greek document type

UBL

Context

1

/ubl-invoice:Invoice/cbc:ID[$isGreekSender] | /ubl-creditnote:CreditNote/cbc:ID[$isGreekSender]

Rule

1

string-length(normalize-space($IdSegments[4]))>0 and (some $c in $greekDocumentType satisfies $IdSegments[4] = $c)

Used in business terms