BR-RO-L154
Numarul maxim permis de caractere pentru Adresa de livrare - Linia(BT-75) 1 este 150. #The allowed maximum number of characters for the Deliver to address line 1(BT-75) is 150.
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-L150] Numarul maxim permis de caractere pentru Adresa de livrare - Linia(BT-75) 1 este 150. #The allowed maximum number of characters for the Deliver to address line 1(BT-75) is 150.
/ubl:Invoice | /cn:CreditNote
string-length(normalize-space(cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:StreetName)) <= 150
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)