# DT-CIUS-PT-021

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

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

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

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