[ibr-158-ae]-Where the Invoice type code [IBT-003] is 'Credit note', Credit note reason code [BTAE-03] MUST be there .
ibr-158-ae
/ubl:Invoice | /cn:CreditNote
not(cbc:InvoiceTypeCode = "381" and not(exists(cac:DiscrepancyResponse/cbc:ResponseCode)))