# BR-DEC-RO-06

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

> Numarul maxim permis de zecimale pentru Valoarea de baza a taxelor suplimentare la nivelul documentului (BT-100) este 2. #The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2.

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

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