Message

An Invoice shall have an Invoice type code (BT-3).

Context
/ubl:Invoice | /cn:CreditNote
Test
(cbc:InvoiceTypeCode) !='' or (cbc:CreditNoteTypeCode) !=''
Usage
/ ubl:Invoice / cbc:InvoiceTypeCode
/ ubl:CreditNote / cbc:CreditNoteTypeCode