XV-RO-13
CNP sau NIF cumparator incorect. #The buyer's thirteen digit code fails ANAF's CNP or NIF check: a real date of birth and a valid check digit.
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.
Context
/ubl:Invoice | /cn:CreditNote
Test
$buyer != 'cnp'
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)