BR-RO-L1019

Numarul maxim permis de caractere pentru Motivul scutirii de TVA (BT-120) este 100. #The allowed maximum number of characters for the VAT exemption reason text (BT-120) is 100.

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-L100] Numarul maxim permis de caractere pentru Motivul scutirii de TVA (BT-120) este 100. #The allowed maximum number of characters for the VAT exemption reason text (BT-120) is 100.

Context
/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal | /ubl:CreditNote/cac:TaxTotal/cac:TaxSubtotal
Test
string-length(normalize-space(cbc:TaxExemptionReason)) <= 100

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