VRBL-INV-CORE-101

Basic Info

Rule The Seller Party Group expects a maximum of one Seller Party Tax Scheme Group used for VAT ID.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party
Pattern vrbl-invoice-core
Severity fatal

Used Template: CountLessEqualOne

Parameter Value
probe = cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']
displayName_probe = %{cac:PartyTaxScheme} used for VAT ID

Implementation

count(cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']) <= 1