VRBL-INV-EN16931-S-228

Basic Info

Rule The Seller Tax ID not used for VAT ID is expected no more than 1 times within the Invoice.
Context /ubl:Invoice
Pattern vrbl-invoice-en16931-ubl-syntax
Severity fatal

Used Template: CountLessEqualNumber

Parameter Value
probe = cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[not(cac:TaxScheme/cbc:ID = 'VAT')]/cbc:CompanyID
displayName_probe = %{cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID} not used for VAT ID
number = 1

Implementation

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