# DT-CIUS-PT-118.1

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

> The BT-131 does not meet the defined format: decimal value with 8 decimal places and 13 unit places, than can be negative.

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

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