# DT-CIUS-PT-020_7.2

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

> The BT-22 does not meet the defined format: it is mandatory to prefix the value with the following '#HASHCODE@ATCERTIFIEDPROGRAM#' 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(.),'#HASHCODE@ATCERTIFIEDPROGRAM#') and not(matches(.,'^(#(HASHCODE@ATCERTIFIEDPROGRAM)#(.+)#)$'))`

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