# HAP1650-5b

Source: https://xmlvalid.com/rules/HAP1650-5b

> The …'s NIF (…) doesn't follow the rules a Spanish NIF is formed by: its check character doesn't match.

- Level: error
- Rule sets: Facturae validation rules of the Spanish public sector Orden HAP/1650/2015, Facturae 3.2.x description of 6 June 2017
- Context: `/*:Facturae/*:Parties/*:SellerParty | /*:Facturae/*:FileHeader/*:FactoringAssignmentData/*:Assignee`
- Test: `empty($nif) or es:nif($nif)`

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