Validation message

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

UBL

Context

1

/ubl:Invoice | /cn:CreditNote

Rule

1

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

CII

Context

1

/rsm:CrossIndustryInvoice

Rule

1

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

Used in business terms