VRBL-INV-CN-1p0-7

Basic Info

Rule The Seller Additional Account ID used as STAISSUER must exist within the Seller.
Context /ubl:Invoice/cac:AccountingSupplierParty
Pattern vrbl-invoice-cn-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:AdditionalAccountID[@schemeID=concat($VRBL-CN-Prefix, 'STAISSUER')]
displayName_probe = %{cbc:AdditionalAccountID} used as STAISSUER

Implementation

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