Message

A currency code element MUST have a list identifier attribute 'ISO4217'.

Context
//*[contains(name(),'CurrencyCode')]
Test
@listID = 'ISO4217'
Usage
/ ubl:CreditNote / cbc:DocumentCurrencyCode / @listID
/ ubl:CreditNote / cbc:TaxCurrencyCode / @listID
/ ubl:CreditNote / cac:TaxExchangeRate / cbc:SourceCurrencyCode / @listID
/ ubl:CreditNote / cac:TaxExchangeRate / cbc:TargetCurrencyCode / @listID