Value of '@currencyID' is not allowed.
The value of currencyID on ram:TaxTotalAmount does not match an allowed entry in the currency code list used by the rule. The check applies to the amount whose currencyID matches ram:TaxCurrencyCode.
The currency code identifies the currency of the VAT amount. A code that is not allowed cannot be associated unambiguously with the intended code list.
The currency code on ram:TaxTotalAmount is not recognized by the rule as an allowed code. You can adjust the value using the applicable code list.
- Find
ram:TaxTotalAmountwhosecurrencyIDmatches the value ofram:TaxCurrencyCode. - Check whether the value of
currencyIDis included in the currency code list used by the rule. - Regenerate the invoice and validate it again.
<ram:TaxCurrencyCode>EUR</ram:TaxCurrencyCode> <ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:TaxTotalAmount currencyID="NOT-A-CURRENCY">100.00</ram:TaxTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:TaxCurrencyCode>EUR</ram:TaxCurrencyCode> <ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:TaxTotalAmount currencyID="EUR">100.00</ram:TaxTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
Technical details
The rule checks the value of currencyID against entries in the code list identified by 50. An empty value also satisfies this test.
The rule applies to ram:TaxTotalAmount in the VAT breakdown currency information when its currencyID matches the value of ram:TaxCurrencyCode.
rule/@context)assert/@test)