BR-RO-L207

Numarul maxim permis de caractere pentru Numele partii catre care se face livrarea (BT-70), este 200. #The allowed maximum number of characters for the Deliver to party name (BT-70) is 200.

error: the document is invalid

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.

Message

[BR-RO-L200] Numarul maxim permis de caractere pentru Numele partii catre care se face livrarea (BT-70), este 200. #The allowed maximum number of characters for the Deliver to party name (BT-70) is 200.

Context
/ubl:Invoice | /cn:CreditNote
Test
string-length(normalize-space(cac:Delivery/cac:DeliveryParty/cac:PartyName/cbc:Name)) <= 200

Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)