BR-RO-010
Numarul facturii (BT-1) trebuie sa includa cel putin un caracter numeric (0—9). #Invoice number (BT-1) must include at least one numeric character (0-9).
error: the document is invalid
Why it fails
cbc:IDhas letters only, such as a series without its number.
How to fix it
Make the invoice number include at least one digit, for example FCT0001.
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.
Context
/ubl:Invoice | /cn:CreditNote
Test
matches(normalize-space(cbc:ID), '([0-9])')
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)