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