# ibr-137-ae

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

> Principal ID (BTAE-14) is MUST, where Invoice transaction type code [BTAE-02] is XXXXX1XX (Disclosed Agent billing).

- Level: error
- Rule sets: PINT AE rules (United Arab Emirates) 1.0.4
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `(matches(cbc:ProfileExecutionID, "^[01]{5}1[01]{2}$") and cac:SellerSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID) or not(matches(cbc:ProfileExecutionID, "^[01]{5}1[01]{2}$"))`

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