# XV-RO-13

Source: https://xmlvalid.com/rules/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.

- Level: error
- Rule sets: RO e-Factura tax code checks ANAF validator 1.3.0
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `$buyer != 'cnp'`

Validate a document against these rules: https://xmlvalid.com/validate
