# DT-CIUS-PT-127.1

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

> The BT-146 does not meet the defined format: decimal value with 8 decimal places and 13 unit places.

- Level: error
- Rule sets: CIUS-PT rules (Portugal, UBL) 2.1.1
- Context: `//ubl:Invoice/cac:InvoiceLine/cac:Price/cbc:PriceAmount | //cn:CreditNote/cac:CreditNoteLine/cac:Price/cbc:PriceAmount`
- Test: `matches(.,'^(\d{1,13}\.\d{2,8})$')`

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