# BR-DEC-RO-24

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

> Numarul maxim permis de zecimale pentru Valoarea deducerii la linia facturii (BT-136) este 2. #The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) 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:Amount,'.'))<=2`

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