BR-RO-L211
Numarul maxim permis de caractere pentru Numele fisierului documentului atasat (BT-125-2), este 200. #The allowed maximum number of characters for the Attached document Filename (BT-125-2) is 200.
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-L200] Numarul maxim permis de caractere pentru Numele fisierului documentului atasat (BT-125-2), este 200. #The allowed maximum number of characters for the Attached document Filename (BT-125-2) is 200.
//cac:AdditionalDocumentReference
string-length(normalize-space(cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@filename)) <= 200
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)