VRBL-INV-HR-CIUS-1p0-36

Basic Info

Rule The Seller Additional Account ID used for OIB Number must exist within the Seller Group.
Context /ubl:Invoice/cac:AccountingSupplierParty
Pattern vrbl-invoice-hr-cius-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:AdditionalAccountID[@schemeID = concat($VRBL-HR-Prefix, 'OIB')]
displayName_probe = %{cbc:AdditionalAccountID} used for OIB Number

Implementation

boolean(cbc:AdditionalAccountID[@schemeID = concat($VRBL-HR-Prefix, 'OIB')])