# BR-DEC-RO-25

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

> Numarul maxim permis de zecimale pentru Valoarea de baza a deducerii la linia facturii (BT-137) este 2. #The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.

- Level: error
- Rule sets: Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]`
- Test: `string-length(substring-after(cbc:BaseAmount,'.'))<=2`

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