# DT-CIUS-PT-020_15.2

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

> The BT-22 when prefixed with '#DESCRIPTION@ATMPAYMENT-000#', have to meet the defined format: alphanumeric with size between 1 and 150.

- 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(.),'#DESCRIPTION@ATMPAYMENT-') and not(matches(normalize-space(substring-before(substring-after(.,$atm20_15),'#')),'^(.{1,150})$'))`

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