# BR-RO-L1017

Source: https://xmlvalid.com/rules/BR-RO-L1017

> Numarul maxim permis de caractere pentru Motivul deducerii la nivelul documentului (BT-97) este 100. #The allowed maximum number of characters for the Document level allowance reason (BT-97) is 100.

- Level: error
- Rule sets: Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /ubl:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]`
- Test: `string-length(normalize-space(cbc:AllowanceChargeReasonCode)) <= 100`

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