# BR-DEC-RO-18

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

> Numarul maxim permis de zecimale pentru Suma de plata (BT-115) este 2. #The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2.

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

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