Value of '@currencyID' is not allowed.
The value of @currencyID on ram:TaxTotalAmount is neither empty nor included in the code list defined for it. This rule’s context concerns the tax amount whose currency identifier matches ram:InvoiceCurrencyCode.
The currency identifier associates the reported tax amount with a currency. A value that is not allowed can prevent the amount from being interpreted unambiguously.
The currency identifier on the tax amount is not recognized as an allowed value. In this rule context, it must also match the invoice currency.
- Find
ram:TaxTotalAmountin the VAT breakdown at document level. - Check that
@currencyIDis empty or an allowed value. - Make sure
@currencyIDmatchesram:InvoiceCurrencyCode. - Generate the invoice again and validate it.
Technical details
The test accepts the value of @currencyID when it is empty or appears in the enumeration of code list ID 49 in FACTUR-X_EXTENDED_codedb.xml. The rule context also ties the attribute to ram:InvoiceCurrencyCode.
The rule applies to @currencyID on ram:TaxTotalAmount in the VAT breakdown at document level when the identifier matches ram:InvoiceCurrencyCode.
rule/@context)assert/@test)