# BR-DEC-RO-05

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

> Numarul maxim permis de zecimale pentru Valoarea taxelor suplimentare la nivelul documentului (BT-99) este 2. #The allowed maximum number of decimals for the Document level charge amount (BT-99) 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:Amount,'.'))<=2`

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