# DT-CIUS-PT-123.1

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

> The BT-136 and BT-141 does not meet the defined format: decimal value with 2 decimal places and 13 unit places.

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

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