ibr-176-ae
When Invoice transaction type code [BTAE-02] is XXXXX1XX (Disclosed agent billing), then the value in field Seller VAT Identifier [IBT-031] and Principal ID [BTAE-14] should not be the same.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element
/ubl:Invoice | /cn:CreditNote
(matches(cbc:ProfileExecutionID, "^[01]{5}1[01]{2}$") and cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID != cac:SellerSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID) or not(matches(cbc:ProfileExecutionID, "^[01]{5}1[01]{2}$"))
Checked with PINT UAE Invoice, PINT UAE Credit Note, PINT UAE Self-Billing Invoice, PINT UAE Self-Billing Credit Note