An Invoice shall have an Invoice type code (BT-3).
/ubl:Invoice | /cn:CreditNote
normalize-space(cbc:InvoiceTypeCode) != '' or normalize-space(cbc:CreditNoteTypeCode) !=''