# ibr-180-ae

Source: https://xmlvalid.com/rules/ibr-180-ae

> When scheme identifier (IBT-049-1) is '0235' and Buyer legal registration identifier (ibt-047) is provided, then Buyer legal registration identifier type (BTAE-16) MUST be present

- Level: error
- Rule sets: PINT AE rules (United Arab Emirates) 1.0.4
- Context: `cac:AccountingCustomerParty/cac:Party`
- Test: `not(cbc:EndpointID[@schemeID = "0235"] and cac:PartyLegalEntity/cbc:CompanyID) or cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID`

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