Message

A document currency code MUST have a list identifier attribute "ISO4217"

Context
cbc:*[ends-with(name(),'CurrencyCode')]
Test
@listID = 'ISO4217'
Usage
/ ubl:OrderResponse / cbc:DocumentCurrencyCode