[ibr-175-ae]-When Invoice currency code [IBT-005] is other than 'AED' and Tax accounting currency [IBT-006] is 'AED', then the value in Invoice total VAT amount in VAT accounting currency [IBT-111] and Invoice total amount with VAT in tax accounting currency [BTAE-20] MUST be present.
ibr-175-ae
/ubl:Invoice | /cn:CreditNote
cbc:DocumentCurrencyCode = "AED" or (cbc:DocumentCurrencyCode != "AED" and cbc:TaxCurrencyCode = "AED" and exists(cac:TaxTotal/cbc:TaxAmount[@currencyID = "AED"]) and exists(cac:AdditionalDocumentReference[cbc:DocumentTypeCode = "aedtotal-incl-vat"]/cbc:DocumentDescription))