# DT-CIUS-PT-020_2.2

Source: https://xmlvalid.com/rules/DT-CIUS-PT-020_2.2

> The BT-22 does not meet the defined format: it is mandatory to prefix the value with the following '#SOURCECURRENCYCODE#' and suffice with '#'.

- Level: error
- Rule sets: CIUS-PT rules (Portugal, UBL) 2.1.1
- Context: `//ubl:Invoice/cbc:Note | //cn:CreditNote/cbc:Note`
- Test: `starts-with(normalize-space(.),'#SOURCECURRENCYCODE#') and not(matches(.,'^(#(SOURCECURRENCYCODE)#(.+)#)$'))`

Validate a document against these rules: https://xmlvalid.com/validate
