# DT-CIUS-PT-020_3.3

Source: https://xmlvalid.com/rules/DT-CIUS-PT-020_3.3

> The BT-22 when prefixed with '#CALCULATIONRATE#', is mandatory if an element with the prefix '#SOURCECURRENCYCODE#' has been or will be referenced.

- 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 $cnt20_3 < 1`

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