Value MUST be part of code list 'Currency codes (ISO 4217)'.
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PrepaidAmount
not(@currencyID) or (some $code in $clISO4217 satisfies $code = @currencyID)