[ibr-004]-An Invoice MUST have an Invoice type code (ibt-003).
ibr-004
/ubl:Invoice | /cn:CreditNote
normalize-space(cbc:InvoiceTypeCode) !='' or normalize-space(cbc:CreditNoteTypeCode) !=''