# RO e-Factura tax code checks ANAF validator 1.3.0

Source: https://xmlvalid.com/rules/sets/ro-anaf-ids

> 6 rules by xmlvalid, after the checks of ANAF's RO e-Factura validator (MIT). Source: https://mfinante.gov.ro/web/efactura/informatii-tehnice

- [XV-RO-01](https://xmlvalid.com/rules/XV-RO-01.md) (error): Nu a fost identificat cui vanzator. #ANAF's validator finds no Romanian tax code for the seller: no CompanyID in its PartyTaxScheme (BT-31), PartyLegalEntity (BT-30) or the tax representative's PartyTaxScheme (BT-63) that starts with RO or is a number.
- [XV-RO-02](https://xmlvalid.com/rules/XV-RO-02.md) (error): CUI vanzator incorect. #The seller's tax code (CUI) fails ANAF's check: at most ten digits, no leading zero, and a valid check digit.
- [XV-RO-03](https://xmlvalid.com/rules/XV-RO-03.md) (error): CNP sau NIF vanzator incorect. #The seller's thirteen digit code fails ANAF's CNP or NIF check: a real date of birth and a valid check digit.
- [XV-RO-11](https://xmlvalid.com/rules/XV-RO-11.md) (error): Nu a fost identificat cui cumparator. #ANAF's validator finds no Romanian tax code for the buyer: no CompanyID in its PartyTaxScheme (BT-48) or PartyLegalEntity (BT-47) that starts with RO or is a number. A consumer without one is written as thirteen zeros.
- [XV-RO-12](https://xmlvalid.com/rules/XV-RO-12.md) (error): CUI cumparator incorect. #The buyer's tax code (CUI) fails ANAF's check: at most ten digits, no leading zero, and a valid check digit.
- [XV-RO-13](https://xmlvalid.com/rules/XV-RO-13.md) (error): 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.
