IBR-175-AE

[ibr-175-ae]-When Invoice currency code [IBT-005] is other than 'AED' and VAT accounting currency [IBT-006] is 'AED', then the value in Invoice total VAT amount in VAT accounting currency [IBT-111] should be Currency exchange rate [BTAE-004] * Invoice Total VAT amount [IBT-110] and the value should be rounded off and should not be more than 2 decimals.

About

ID
ibr-175-ae
Flag
fatal
Context
/ubl:Invoice | /cn:CreditNote
Test
cbc:DocumentCurrencyCode = "AED" or (cbc:DocumentCurrencyCode != "AED" and cbc:TaxCurrencyCode = "AED" and round(cac:TaxTotal/cbc:TaxAmount[@currencyID = "AED"], 2) = round(cac:PricingExchangeRate/cbc:CalculationRate * cac:TaxTotal/cbc:TaxAmount[@currencyID != "AED"], 2))