Message

Invoice type code MUST be set according to the profile.

Context
cbc:InvoiceTypeCode
Test
$profile != '01' or (some $code in tokenize('389', '\s') satisfies normalize-space(text()) = $code)
Usage
/ ubl:Invoice / cbc:InvoiceTypeCode