[ibr-157-ae]-Invoice Transaction-type code (BTAE-02) cannot be XXX1XXXX (Summary invoice) or X1XXXXXX (Deemed supply) or XX1XXXXX (Margin scheme) when the invoice type code (IBT-003) is 'Out of scope of VAT' or 'Credit note related to goods or services'.
ibr-157-ae
/ubl:Invoice | /cn:CreditNote
not((cbc:InvoiceTypeCode = "480" or cbc:InvoiceTypeCode = "81") and matches(cbc:ProfileExecutionID, "^[01]{2}1[01]{5}$|^[01]1[01]{6}$|^[01]{3}1[01]{4}$"))