BR-RO-L0505
Numarul maxim permis de caractere pentru Numele atributului articolului (BT-160) este 50. #The allowed maximum number of characters for the Item attribute name (BT-160) is 50.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
[BR-RO-L050] Numarul maxim permis de caractere pentru Numele atributului articolului (BT-160) este 50. #The allowed maximum number of characters for the Item attribute name (BT-160) is 50.
//cac:Item/cac:AdditionalItemProperty
string-length(normalize-space(cbc:Name)) <= 50
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)