# DT-CIUS-PT-020

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

> The BT-22 does not meet the defined format: alphanumeric with size between 1 and 500.

- Level: error
- Rule sets: CIUS-PT rules (Portugal, UBL) 2.1.1
- Context: `//ubl:Invoice/cbc:Note | //cn:CreditNote/cbc:Note`
- Test: `matches(.,'^(.{1,500})$','s')`

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