Validation message

[BR-04]-An Invoice shall have an Invoice type code (BT-3).

Context

/ubl:Invoice | /cn:CreditNote

/rsm:CrossIndustryInvoice

UBL

XPath

1

normalize-space(cbc:InvoiceTypeCode) != '' or normalize-space(cbc:CreditNoteTypeCode) !=''

CII

XPath

1

normalize-space(rsm:ExchangedDocument/ram:TypeCode) != ''

Used in business terms