IBR-173-OM

If Buyer electronic address (IBT-049) is '997770000099', Seller UUID (BTOM-004) MUST be present and MUST be a valid UUID version 5.

About

ID
IBR-173-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not(normalize-space(cac:AccountingCustomerParty/cac:Party/cbc:EndpointID) = '997770000099') or ( normalize-space(cac:AccountingSupplierParty/cbc:AdditionalAccountID) != '' and matches(normalize-space(cac:AccountingSupplierParty/cbc:AdditionalAccountID), '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-5[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$') )