Message

An Invoice MUST be coded with the InvoiceTypeCode code list UNCL D1001 BII2 subset

Context
cbc:InvoiceTypeCode
Test
( ( not(contains(normalize-space(.),' ')) and contains( ' 380 393 384 ',concat(' ',normalize-space(.),' ') ) ) )
Usage
/ ubl:Invoice / cbc:InvoiceTypeCode