# BR-DEC-RO-28

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

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

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

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