VRBL-INV-IT-1p2-64

Basic Info

Rule The Seller Tax Level Code associated with the VAT ID must exist within the Seller Party Group.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party
Pattern vrbl-invoice-it-1p2
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxLevelCode
displayName_probe = %{cac:PartyTaxScheme/cbc:TaxLevelCode} associated with the VAT ID

Implementation

boolean(cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxLevelCode)