# BR-DEC-RO-10

Source: https://xmlvalid.com/rules/BR-DEC-RO-10

> Numarul maxim permis de zecimale pentru Suma deducerilor la nivelul documentului (BT-107) este 2. #The allowed maximum number of decimals for the Sum of allowances on document level(BT-107) is 2.

- Level: error
- Rule sets: Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `cac:LegalMonetaryTotal`
- Test: `string-length(substring-after(cbc:AllowanceTotalAmount,'.'))<=2`

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