# HAP1650-5e

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

> The … is a legal entity, so CorporateName must not be empty.

- 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: `not(*:LegalEntity) or normalize-space(*:LegalEntity/*:CorporateName) != ''`

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