BR-RO-L302

Numarul maxim permis de caractere pentru Comentariu în factura (BT-22) este 300. #The allowed maximum number of characters for the Invoice note (BT-22) is 300.

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-L300] Numarul maxim permis de caractere pentru Comentariu în factura (BT-22) este 300. #The allowed maximum number of characters for the Invoice note (BT-22) is 300.

Context
cbc:Note
Test
string-length(normalize-space(.)) <= 300

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